trpc-mcp simplifies the process of serving your tRPC (TypeScript Remote Procedure Call) routes through the Model Context Protocol (MCP). This enables seamless integration with MCP-compatible clients, allowing you to leverage the benefits of MCP for your tRPC applications without extensive configuration or code modification. It allows existing tRPC procedures to be easily surfaced via MCP.
主要功能
01Exposes tRPC procedures as MCP endpoints
02Uses @modelcontextprotocol/sdk for MCP transport
0311 GitHub stars
04Supports tRPC metadata for MCP configuration
05Written in TypeScript for type safety
06Easy integration with existing tRPC routers
使用案例
01Integrating tRPC APIs with MCP-based applications