mcp-server-code-execution-mode / setup / claude-desktop
Setup guide
Set up mcp-server-code-execution-mode in Claude Desktop
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 claude_desktop_config.json. Generated from the captured install method (uvx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.
02Steps
- Make sure Claude Desktop is installed and up to date.
- Open
claude_desktop_config.jsonand add the block above (merge into any existingmcpServers). - Provide any required API keys/credentials as environment variables.
- Restart Claude Desktop 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