Trpc icon

Trpc

21

Expose tRPC routes as an MCP server.

About

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.

Key Features

  • Exposes tRPC procedures as MCP endpoints
  • Uses @modelcontextprotocol/sdk for MCP transport
  • 11 GitHub stars
  • Supports tRPC metadata for MCP configuration
  • Written in TypeScript for type safety
  • Easy integration with existing tRPC routers

Use Cases

  • Integrating tRPC APIs with MCP-based applications
  • Exposing existing tRPC procedures via MCP
  • Building MCP servers with tRPC routers
Craft Better Prompts with AnyPrompt
Sponsored