Feedback

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
jacse
Submitted by
Community
Quality
20
Stars
42

About tRPC <-> MCP Server

Serve tRPC routes as an MCP server

tRPC <-> MCP is a MCP server in the Other category listed in the AddMCP.net directory, published by Jacse. Supported transport: stdio. Runtime: node. License: MIT. The repository has 42 GitHub stars. Source code is hosted on github.com. Related topics: api, mcp, server, trpc.

tRPC <-> MCP config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

tRPC <-> MCP tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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 openapi meta 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

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬