pydantic/pydantic-ai/mcp-run-python
Run Python code in a secure sandbox via MCP tool calls
Quick Start
Clone the repository:
git clone https://github.com/pydantic/pydantic-ai/tree/main/mcp-run-pythonClaude 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.