P

pydantic/pydantic-ai/mcp-run-python

ServersActiveMIT

Overview

A tool to run Python code in a secure sandbox via MCP tool calls.

Best For

Securely execute Python code in a sandbox using MCP tool calls with pydantic-ai.

Decision Snapshot

Usage

available

Docs

4 links

  • • GitHub stars: 16362
  • • Forks: 1937
  • • Source provenance count: 1
  • • Active signal: Updated this week from lifecycle signals.
  • • Last seen: 4/15/2026
  • • Published: 3/15/2026

Usage

from pydantic_ai import Agent && # Define a very simple agent including the model to use, you can also set the model when running the agent. && agent = Agent( && 'anthropic:claude-sonnet-4-6',

Features

  • Profile category: Servers.
  • Primary language signal: Python.
  • Official repository link is available.
  • Official website link is available.
  • Topic tags: mcp, curated, markdown-list, awesome-mcp-servers-punkpeye.
  • Documentation links available: 4.

Prompt Examples

example

from pydantic_ai import Agent && # Define a very simple agent including the model to use, you can also set the model when running the agent. && agent = Agent( && 'anthropic:claude-sonnet-4-6',

Notes / Requirements

  • Primary language: Python
  • License: MIT
  • Source feeds: Awesome MCP Servers (punkpeye)
  • Topic cluster: general

Official Links

Source Information

Community: 16,362 stars
Last Updated: Apr 15, 2026
PythonMIT

You can verify all information on this page against the source repository above.

Related MCP Tools

What To Do Next

Continue from this tool into a workflow and a learn guide to shorten implementation time.