Pydantic Rpc MCP Server

Below is an example of a simple gRPC service that exposes a [PydanticAI](https://ai.pydantic.dev/) agent:

Local serverstdioPython

What is the Pydantic Rpc MCP Server?

Below is an example of a simple gRPC service that exposes a PydanticAI agent:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Pydantic Rpc MCP Server

{
  "mcpServers": {
    "pydantic-rpc": {
      "command": "uvx",
      "args": ["pydantic-rpc"],
      "env": {
        "PYDANTIC_RPC_SKIP_GENERATION": "your-value",
        "PYDANTIC_RPC_PROTO_PATH": "your-value",
        "PYDANTIC_RPC_RESERVED_FIELDS": "your-value",
        "PYDANTIC_RPC_SERIALIZER_STRATEGY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
PYDANTIC_RPC_SKIP_GENERATIONConfiguration value read at startup.Optional
PYDANTIC_RPC_PROTO_PATHFilesystem location the server is allowed to use.Optional
PYDANTIC_RPC_RESERVED_FIELDSConfiguration value read at startup.Optional
PYDANTIC_RPC_SERIALIZER_STRATEGYConfiguration value read at startup.Optional

Frequently asked questions

Below is an example of a simple gRPC service that exposes a [PydanticAI](https://ai.pydantic.dev/) agent: Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.