Enterprise DNA
M MCP Servers Developer low

pydantic/pydantic-ai/mcp-run-python

by Various

AI Agent Framework, the Pydantic way

P

MCP

pydantic/pydantic-ai/mcp-run-python

Added 1 June 2026

#agent-framework #genai #llm #pydantic #python

Overview

A Python framework for building AI agents using Pydantic's validation and type system. Integrates with the Model Context Protocol (MCP) to enable agents to run Python code, call tools, and interact with external systems while maintaining strict data validation throughout.

Best for

Best for
Python developers building type-safe AI agents with strict validation requirements

Use cases

  • Building autonomous agents that execute Python code safely within validated constraints
  • Creating multi-step workflows where agents call external tools and APIs
  • Prototyping AI applications with strong type safety and data validation

How to use

Tested with

ChatGPT

Notes

A Python framework for building AI agents using Pydantic’s validation and type system. Integrates with the Model Context Protocol (MCP) to enable agents to run Python code, call tools, and interact with external systems while maintaining strict data validation throughout.

17,445 stars on GitHub. Last updated 2026-06-01. Licensed MIT.

Use cases

  • Building autonomous agents that execute Python code safely within validated constraints
  • Creating multi-step workflows where agents call external tools and APIs
  • Prototyping AI applications with strong type safety and data validation

Pros

  • Leverages Pydantic’s mature validation ecosystem for reliable agent behavior
  • MCP integration enables standardized tool calling and system interaction
  • Python-native, integrates directly with existing Python codebases

Cons

  • Relatively young project with smaller community compared to established frameworks
  • Requires familiarity with both Pydantic and MCP concepts
  • Limited to Python environments, not suitable for polyglot deployments

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Leverages Pydantic's mature validation ecosystem for reliable agent behavior
  • MCP integration enables standardized tool calling and system interaction
  • Python-native, integrates directly with existing Python codebases

Cons

  • Relatively young project with smaller community compared to established frameworks
  • Requires familiarity with both Pydantic and MCP concepts
  • Limited to Python environments, not suitable for polyglot deployments

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Powers12entries
M MCP Dev low

agentward-ai/agentward

Various

Open-source permission control plane for AI agents. Scan, enforce, and audit every tool call.

★ 18 updated 2mo ago
M MCP Dev low

datalayer/jupyter-mcp-server

Various

🪐 🔧 Model Context Protocol (MCP) Server for Jupyter.

★ 1,134 updated 2mo ago
M MCP Dev low

Dataring-engineering/mcp-server-trino

Various

MCP Server for Trino

★ 18 updated 1y ago
M MCP Dev low

dolphinquant/echolon

Various

LLM-agent-native backtest framework for futures research — MCP server, in-package skills, catalogued error codes, typed Pydantic configs. Production engine inside Qorka @ DolphinQu

★ 1 updated 2mo ago
M MCP Dev low

hyperb1iss/droidmind

Various

Control your Android devices with AI using Model Context Protocol

★ 402 updated 6mo ago
M MCP Dev low

jasonjmcghee/claude-debugs-for-you

Various

Enable any LLM (e.g. Claude) to interactively debug any language for you via MCP and a VS Code Extension

★ 510 updated 6mo ago
M MCP Dev low

jimmyracheta/AI-Runtime-Guard

Various

runtime-guard

★ 14 updated 1mo ago
M MCP Dev low

kukapay/crypto-projects-mcp

Various

An MCP server that provides cryptocurrency project data to AI agents

★ 1 updated 1y ago
M MCP Dev low

particlefuture/MCPDiscovery

Various

🐍 ☁️ 🏠 🍎 🪟 - MCP of MCPs. Automatic discovery and configure MCP servers on your local machine.

★ 50 updated 6mo ago
M MCP Dev low

pickelfintech/sentisift-sdks

Various

Official Python, TypeScript, and MCP-server clients for the SentiSift API.

★ 0 updated 2mo ago
M MCP Dev low

strato-space/media-gen-mcp

Various

Media Gen MCP — Strict TypeScript MCP server for OpenAI gpt-image-1 and sora-2: generate, edit, and fetch images/video with smart compression, resourcelink and image outputs, and a

★ 8 updated 5mo ago
M MCP Dev low

ThinkneoAI/mcp-server

Various

Dual-protocol gateway: 62 MCP tools + A2A Protocol agent (82/82 TCK intentional) in a single governed runtime

★ 1 updated 1mo ago
Pairs with8entries
Alternatives9entries
M MCP Dev low

alfonsograziano/node-code-sandbox-mcp

Various

A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.

★ 153 updated 7mo ago
M MCP Dev low

axliupore/mcp-code-runner

Various

📇 🏠 - An MCP server for running code locally via Docker and supporting multiple programming languages.

★ 18 updated 1y ago
M MCP Dev low

capsulerun/bash

Various

Sandboxed bash for agents. Track changes on every command.

★ 10 updated 2mo ago
M MCP Dev low

hileamlakB/PRIMS

Various

PRIMS is a lightweight, open-source Model Context Protocol (MCP) server that lets LLM agents safely execute arbitrary Python code in a secure, throw-away sandbox.

★ 28 updated 9mo ago
M MCP Dev low

jjsantos01/jupyter-notebook-mcp

Various

A Model Context Protocol (MCP) for Jupyter Notebook

★ 129 updated 1y ago
M MCP Dev low

kestra-io/mcp-server-python

Various

Python MCP Server for Kestra — you can use it as a tool in Kestra's AI Agents

★ 27 updated 2mo ago
M MCP Dev low

maxim-saplin/mcp_safe_local_python_executor

Various

Stdio MCP Server wrapping custom Python runtime (LocalPythonExecutor) from Hugging Faces' smolagents framework. The runtime combines the ease of setup (compared to docker, VM, clou

★ 44 updated 12mo ago
M MCP Dev low

plori-ai/plori

Various

Give your AI agent its own cloud computer. Connect any MCP client to plori's remote server.

★ 0 updated 10d ago
M MCP Dev low

rkocosmergon/cosmergon-agent

Various

rkocosmergon/cosmergon-agent — indexed from awesome-mcp-servers-punkpeye

★ 1 updated 1mo ago
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks