Skip to main content
Code ExecutionPython

pydantic/pydantic-ai/mcp-run-python

Run Python code in a secure sandbox via MCP tool calls

code-executionlocal-service
Share:

Quick Start

Clone the repository:

git clone https://github.com/pydantic/pydantic-ai/tree/main/mcp-run-python

Claude Desktop configuration example:

{
  "mcpServers": {
    "pydantic-ai": {
      "command": "npx",
      "args": [
        "-y",
        "pydantic/pydantic-ai/mcp-run-python"
      ]
    }
  }
}

Check the repository README for specific installation and configuration instructions.

Details

Category
Code Execution
Language
Python
Author
pydantic