Skip to content
Cursor

Python Exec Sandbox for Cursor

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

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

client:Cursor transport:stdio runtime:pypi

Install Python Exec Sandbox in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Python Exec Sandbox in other clients