mcp-run-python

pydantic/mcp-run-python
★ 190 stars Python 💻 Code/Dev Tools Updated 1mo ago
MCP server to run Python code in a sandbox.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-run-python": {
      "command": "uvx",
      "args": [
        "mcp-run-python"
      ]
    }
  }
}

Or install with pip: pip install mcp-run-python