Pydantic MCP icon

Pydantic MCP

Createdrectalogic

Enables Model Context Protocol tool calling support for Pydantic AI.

About

Pydantic MCP facilitates the integration of Model Context Protocol (MCP) with Pydantic AI, allowing developers to easily access and utilize tools exposed through MCP servers. By creating an `mcp.ClientSession` and calling `mcptools(session)`, users can obtain a list of `pydantic_ai.Tool` instances, making it seamless to incorporate external tools into Pydantic AI-driven applications.

Key Features

  • 9 GitHub stars
Craft Better Prompts with AnyPrompt