MCP.so
登录

tRPC <-> MCP Server

@Jacse

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

Jacse

关于 tRPC <-> MCP Server

Serve tRPC routes as an MCP server

tRPC <-> MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

tRPC <-> MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from tRPC <-> MCP

—

评论

其他 分类下的更多 MCP 服务器