Skip to content
Claude Desktop

Foundry MCP code mode for Claude Desktop

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:Claude Desktop transport:streamable-http

Install Foundry MCP code mode in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "foundry-code": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://foundry-mcp.com/mcp/code"
      ]
    }
  }
}

Claude Desktop has no remote transport in its config file, so this bridges through mcp-remote. Restart the app after saving. Claude Desktop docs

Foundry MCP code mode in other clients