Skip to content

v0.1.1

Choose a tag to compare

@mi3lix9 mi3lix9 released this 19 Jul 08:11

First working release of orpc-mcp — serve an oRPC router as an MCP server.

npm install orpc-mcp

Annotate procedures with mcp.tool, mcp.resource, or mcp.prompt and serve them over Streamable HTTP (fetch, node) or stdio. Built on oRPC's standard request/response flow, so middleware, validation, context, and handler plugins compose as usual.

Extracted from middleapi/orpc#1604, which the maintainer chose to keep out of core and promote as an ecosystem package.

Fixed since 0.1.0

  • Package now imports correctly. 0.1.0 shipped with exports pointing at ./src/*.ts while only dist/ was packed, so every import failed with ERR_MODULE_NOT_FOUND. The cause was publishConfig.exports being a pnpm-only feature that npm publish ignores. Dist paths are now inlined into exports, correct under both clients. 0.1.0 is deprecated — use this version.

Requirements

Requires oRPC v2 beta as peer dependencies:

npm install @orpc/server@beta @orpc/client@beta @orpc/contract@beta @orpc/json-schema@beta @orpc/shared@beta

Targets MCP protocol revision 2025-11-25.