Foundry MCP code mode for Gemini CLI
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:Gemini CLI
transport:streamable-http
Install Foundry MCP code mode in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"foundry-code": {
"httpUrl": "https://foundry-mcp.com/mcp/code"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs