Back to MCP Servers
Pydantic Ai
Run Python code in a secure sandbox via MCP tool calls
code-executionpythonai
By pydantic
Installation
npx -y pydantic-aiConfiguration
{
"mcpServers": {
"pydantic-ai": {
"command": "npx",
"args": ["-y", "pydantic-ai"]
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes