Skip to content
Cursor

Foundry MCP code mode for Cursor

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

Install Foundry MCP code mode in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Foundry MCP code mode in other clients