MCP Run Python (Pydantic)
Runs Python code in a sandbox (Pyodide on Deno) and returns the output. Needs Deno installed. The maker archived the repo.
Test results
Last passed 2026-10-15Full result per app: Does it work with Claude Code? · Does it work with Cursor?
Install
claude mcp add mcp-run-python -- uvx mcp-run-python stdioRun in your terminal. This exact command is what our harness runs in Claude Code; see the results above.
{
"mcpServers": {
"mcp-run-python": {
"command": "uvx",
"args": [
"mcp-run-python",
"stdio"
]
}
}
}Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.
{
"mcpServers": {
"mcp-run-python": {
"command": "uvx",
"args": [
"mcp-run-python",
"stdio"
]
}
}
}Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.
[mcp_servers.mcp-run-python]
command = "uvx"
args = ["mcp-run-python", "stdio"]Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.
Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)
Test history
| Date | Check | Result | Version |
|---|---|---|---|
| 2026-10-15 | Protocol (direct stdio) | Protocol: starts, 1 tools listed | 0.0.13 |
| 2026-10-15 | Claude Code | Passed install, connect, tools, agent task | 2.1.296 (Claude Code) |
| 2026-10-15 | Cursor | Passed install, connect, tools, agent task | 2026.10.12-d47ca18 |
Tools seen by our harness (1)
run_python_code