tRPC <-> MCP
@Jacse
About tRPC <-> MCP
Serve tRPC routes as an MCP server
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is tRPC <-> MCP?
tRPC <-> MCP is a library that allows you to serve tRPC routes via the Model Context Protocol (MCP). It is designed for developers who want to expose their tRPC procedures as MCP tools using a standard transport like stdio.
How to use tRPC <-> MCP?
First, add McpMeta to your tRPC initialization and enable openapi meta on each procedure. Then use createMcpServer from the trpc-mcp package to build an MCP server, passing your app router. Finally, connect the server to a transport (e.g., StdioServerTransport) and start listening.
Key features of tRPC <-> MCP
- Integrates tRPC routes with the Model Context Protocol
- Uses
openapimeta for route metadata and documentation - Supports stdio transport via
StdioServerTransport - Lightweight setup with minimal code changes
- Works with existing tRPC v11+ routers
Use cases of tRPC <-> MCP
- Expose tRPC query procedures as MCP tools for AI agents
- Bridge tRPC backends with MCP clients using standard transport
- Create a simple MCP server from an existing tRPC application
FAQ from tRPC <-> MCP
—
More Other MCP servers

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Servers
modelcontextprotocolModel Context Protocol Servers
Comments