mcp-server-code-execution-mode / setup / goose
Setup guide
Set up mcp-server-code-execution-mode in Goose
communitystdiowrite capable
An MCP server that executes Python code in isolated rootless containers with optional MCP server proxying. Implementation of Anthropic's and Cloudflare's ideas for reducing MCP tool definitions context bloat.
01Configuration
{
"mcpServers": {
"mcp-server-code-execution-mode": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/elusznik/mcp-server-code-execution-mode",
"mcp-server-code-execution-mode"
]
}
}
}
Add this to ~/.config/goose/config.yaml. Generated from the captured install method (uvx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.
02Steps
- Make sure Goose is installed and up to date.
- Open
~/.config/goose/config.yamland add the block above (merge into any existingmcpServers). - Provide any required API keys/credentials as environment variables.
- Restart Goose and confirm mcp-server-code-execution-mode’s tools appear.
03Other runtimes
04Provenance
config_sourcegenerated from captured install method
last_checked2026-08-05 01:54Z
sourcesGitHub repo search [p4]
Next step
Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.
Explore Apex →See also: server page · is it safe? · alternatives