i2y/pydantic-rpc
PydanticRPC is a Python library for rapidly exposing Pydantic models as gRPC, ConnectRPC, and MCP services without protobuf files.
Automatically generates protobuf definitions and stubs at runtime from Python method signatures and Pydantic type hints, eliminating manual proto file maintenance. Supports three RPC protocols—gRPC (via async/sync servers with health checks and reflection), Connect-RPC (as ASGI/WSGI apps over HTTP), and MCP (for AI tool exposure)—all from a single service class. Features built-in error mapping decorators, streaming support across all patterns, and optional pre-generation via CLI for production deployments.
Stars
68
Forks
8
Language
Python
License
MIT
Category
Last pushed
Feb 03, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/i2y/pydantic-rpc"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ivnvxd/mcp-server-odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo...
Vortiago/mcp-outline
A Model Context Protocol (MCP) server enabling AI assistants to interact with Outline...
StarRocks/mcp-server-starrocks
StarRocks MCP (Model Context Protocol) Server
cbcoutinho/nextcloud-mcp-server
Nextcloud MCP Server
xorrkaz/cml-mcp
A Model Context Protocol (MCP) Server for Cisco Modeling Labs (CML)