A side-by-side look at the MCP Run Python and SandboxAPI MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose MCP Run Python for code execution work as a local process; choose SandboxAPI for code execution over a hosted endpoint. You can also run both side by side in one mcpServers block.
SANDBOXAPI_API_KEY, MCP_API_KEY, MCP_PORT, SANDBOXAPI_URL.execute_code, execute_batch, list_languages.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Code Execution | Code Execution |
| Quality signal | 48/100 · Fair | 49/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Remote HTTP/SSE |
| Auth | No auth required | API key required |
| Pricing | Free | BYOK (pay the provider) |
| Required env vars | None listed | SANDBOXAPI_API_KEYMCP_API_KEYMCP_PORTSANDBOXAPI_URL |
| Verified owner | Community listing | Community listing |
| GitHub stars | 20,470 | 2 |
| Directory activity | 2 views 0 installs 0 upvotes | 3 views 0 installs 0 upvotes |
| Tools | Not listed | 3 |
| Full listing | View MCP Run Python | View SandboxAPI |
No tool names declared yet. Check the project README from the listing page.
execute_codeExecute code in a sandboxed container.execute_batchExecute multiple code snippets. Each runs in its own isolated sandbox.list_languagesList all supported programming languages with versions and example code. No parameters.Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"pydantic-pydantic-ai-mcp-run-python": {
"command": "uvx",
"args": [
"--with",
"pydantic-ai-harness",
"clai"
]
}
}
}
{
"mcpServers": {
"sandboxapi": {
"url": "https://mcp.sandboxapi.dev/mcp"
}
}
}