Foundry MCP code mode for VS Code
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:VS Code
transport:streamable-http
Install Foundry MCP code mode in VS Code
.vscode/mcp.json
{
"servers": {
"foundry-code": {
"type": "http",
"url": "https://foundry-mcp.com/mcp/code"
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs