Skip to content
Grok

Foundry MCP code mode for Grok

com.foundry-mcp/foundry-code

Code mode (preview): the AI writes a script against a typed foundry.* API and runs it in a sandbox.

client:Grok transport:streamable-http

Install Foundry MCP code mode in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "foundry-code": {
      "type": "http",
      "url": "https://foundry-mcp.com/mcp/code"
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Foundry MCP code mode in other clients