Skip to content

Python Exec Sandbox for Grok

io.github.lu-zhengda/mcp-python-exec-sandbox

Sandboxed Python execution for AI agents. PEP 723 inline deps, multi-version Python, zero pollution.

client:Grok transport:stdio runtime:pypi

Install Python Exec Sandbox in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "mcp-python-exec-sandbox": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-python-exec-sandbox"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Python Exec Sandbox in other clients