tmcp
Reasonable, with limits. 6th of 9 MCP server frameworks.
tmcp is a small TypeScript library for building MCP servers. It works with any schema library, runs on any runtime, and keeps protocol logic separate from transports. It is well built and the official Storybook and Svelte MCP servers run on it. However, it has one main maintainer and can still break code in minor releases, so it is a good choice for teams that value its design, not the default.
Best for: Teams that want a light, schema-agnostic MCP server on any runtime, using Valibot, ArkType or Effect instead of Zod.
Scores
Overall6.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
It is a well-designed, light MCP server library that is trusted by Storybook and Svelte. For most teams, though, the official SDK is the safer default: it has the largest ecosystem, strong agent familiarity and steady releases. tmcp's single-maintainer setup and breaking minor releases hold it back. It is a strong pick for teams that want schema freedom and portability.
- peers: The official SDK has 13.8k stars and 357M downloads
- unpkg.com/tmcp@1.20.0/README.md: Features and the warning about API stability
- unpkg.com/@storybook/mcp@latest/README.md: Production use at Storybook
GPT-6.2 Sol: 7.5, likely 6.4 to 8.5
tmcp is a strong pick for teams that value typed handlers, replaceable transports, and control over deployment. The official TypeScript SDK remains the better general default because it is the reference implementation and now also accepts Standard Schema validators. Active protocol work and Storybook's adoption support choosing tmcp, while minor-version breakage and uncertain direct adoption limit confidence.
- github.com/paoloricciuti/tmcp: Documents the typed API, modular setup, and versioning caveat.
- github.com/modelcontextprotocol/typescript-sdk: The official SDK's stable v2 line supports Standard Schema.
- github.com/storybookjs/storybook/blob/next/code/lib/mcp/package.json: A maintained downstream integration uses the current tmcp line.
- peers MCP TypeScript SDK and evidence dependents: The official peer has much broader visible adoption, while direct tmcp use is unmeasured.
Needed by many4.5
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Building MCP servers is a growing but still clear subset of JavaScript and TypeScript work. tmcp is not tied to one framework or runtime, so it serves the whole category. Its main draw, freedom from Zod, matters to a smaller group within that.
- category.job: Building MCP servers for AI agents
- unpkg.com/tmcp@1.20.0/README.md: Schema-agnostic and runtime-agnostic design
GPT-6.2 Sol: 4.0, likely 3.0 to 5.2
Building an MCP server is relevant to teams exposing tools or data to agents. tmcp can serve that job across web frameworks and deployment targets. Developer surveys track MCP use more broadly, so the share of JavaScript and TypeScript developers who need to build servers is uncertain.
- postman.com/state-of-api/2025: Ten percent of respondents reported regular MCP use in 2025.
- postman.com/state-of-api/2026: Postman reports rising requests to its own MCP server.
- tmcp.io/docs: Documents separate transports and multiple deployment targets.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It covers most of the server-side protocol and adds modular define helpers, typed context and in-memory testing. Its adapters and Standard Schema support are cleaner than the official SDK's Zod-centric API. The score stays below 8 because its docs are thin and AI agents know it much less well than the official SDK. Its error handling also had at least one serious transport bug.
- unpkg.com/tmcp@1.20.0/README.md: Feature list, adapters, caveats
- dev.to/om_shree_0709/tmcp-reimagining-model-context-protocol-server-architecture-with-modern-typescript-2mi: Third-party write-up of the JSON-RPC core and session design
- github.com/lorecrafting/lokacore/pull/505: A malformed POST crashed the server in transport 0.8.6; fixed in 0.9.1
- bluesky.top: @tmcp/test in-memory transport for testing
GPT-6.2 Sol: 7.9, likely 6.9 to 8.9
Version 1.20.1 has a concise typed API, testable transports, and support for the July 2026 per-request protocol. A benchmark from the mcp-use team put tmcp first for throughput on a small echo workload using an older release and protocol revision. Adapter setup remains a point of friction for users, and direct evidence on coding-agent reliability is sparse.
- npm latestVersion and hasTypes: Version 1.20.1 ships TypeScript declarations.
- github.com/paoloricciuti/tmcp/releases: Documents discovery, subscriptions, elicitation, and legacy negotiation.
- github.com/mcp-use/mcp-use/blob/main/benchmark.md: tmcp 1.19.4 led the Node.js echo throughput test.
- github.com/paoloricciuti/tmcp/issues/302: A user reports friction from mandatory adapters for schema-backed handlers.
Holds up over time6.5
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
It is very active: 359 commits and 44 releases last year, with 320 merged PRs and a quick fix for the transport crash. Two big projects, Storybook and Svelte, now depend on it, which gives a reason to keep it maintained. Against that, it rests on one main maintainer with no visible funding. Minor versions can break code, and the official SDK v2 is closing the design gaps that tmcp was built to fill.
- github.commitsLastYear: 359 commits
- github.releasesLastYear: 44 releases across packages
- github.contributors: Only 7 contributors
- unpkg.com/tmcp@1.20.0/README.md: Warning: treat 1.x as 0.x; breaking changes in minors
GPT-6.2 Sol: 7.0, likely 5.6 to 8.2
The core shipped seven npm versions in the past year, and the repository added July 2026 protocol support while retaining legacy initialization. The maintainer warns that 1.x minors can break code, and October's release notes document a TypeScript compatibility change for CommonJS projects. The small contributor pool and limited evidence of release backup widen the range.
- github commitsLastYear, contributors and releasesLastYear: 359 commits and seven contributors, with 44 releases across packages.
- npm versionsLastYear and latestPublishedAt: Seven core versions in a year, most recently in October 2026.
- github.com/paoloricciuti/tmcp: README explicitly warns of breaking changes in minors.
- github.com/paoloricciuti/tmcp/releases: Protocol updates and October TypeScript compatibility notes.
- npmjs.com/package/tmcp?activeTab=versions: npm lists one human collaborator.
Used widely4.5
How many use it, and is that growing?
Claude Opus 5.5: 4.5, likely 3.0 to 6.0
Downloads rose from 86k to 17.8M per 4 weeks, a ratio far above the 4.1 median. Most of that comes from Storybook's MCP packages and the Svelte MCP server installing it, not from developers choosing it. With 207 stars and few Bluesky posts, direct choices look like a few thousand projects that are growing.
- npm downloadsLast4Weeks: 17.8M, up from 85.6k a year ago
- github.stars: 207 stars, far below the peers
- unpkg.com/@storybook/mcp@latest/README.md: Storybook MCP is built on tmcp, a source of transitive installs
- deepwiki.com/sveltejs/mcp/1-overview: The official Svelte MCP server uses tmcp
GPT-6.2 Sol: 4.4, likely 2.9 to 6.2
Downloads rose about 208-fold year over year, far above the 4.1-fold catalog median. Storybook's MCP packages pull in tmcp, so part of that growth comes from downstream installs. With 207 stars, little independent discussion, and no ecosyste.ms dependent count, direct adoption looks modest and its growth is hard to isolate.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: 17.8 million versus 85.6 thousand downloads, against a 4.1-fold median.
- github stars, bluesky top, hackerNews stories and dependents: 207 stars, mostly maintainer posts among the Bluesky examples, and no dependent estimate.
- github.com/storybookjs/storybook/blob/next/code/lib/mcp/package.json: Storybook's reusable MCP package directly depends on tmcp.
- github.com/storybookjs/storybook/blob/next/code/addons/mcp/package.json: Storybook's MCP add-on also directly depends on tmcp.
Vouched for6.5
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Two well-known projects, Storybook and Svelte, run their official MCP servers on it, and that is real validation from teams with something to lose. There are no survey results, independent benchmarks, or appearances in third-party framework comparisons. One DEV write-up is the only independent review found.
- unpkg.com/@storybook/mcp@latest/README.md: Storybook builds on tmcp
- deepwiki.com/sveltejs/mcp/1-overview: Svelte MCP is built on tmcp
- xmcp.dev/blog/best-mcp-server-frameworks: Not included in a framework comparison
- hackerNews.stories: No HN stories
GPT-6.2 Sol: 7.0, likely 5.8 to 8.0
Storybook ships tmcp in its MCP tooling, and Svelte uses it for its official MCP server. The mcp-use team also measured strong throughput on a simple workload. Svelte shares a maintainer with tmcp, and project-specific satisfaction and long-running deployment reports are sparse.
- github.com/storybookjs/storybook/blob/next/code/lib/mcp/package.json: Storybook uses tmcp in its released MCP tooling.
- github.com/sveltejs/ai-tools/blob/main/packages/mcp-server/package.json: Svelte's official server declares tmcp and its Valibot adapter.
- youtube.com/watch?v=2r25fPn95M8: Identifies tmcp's creator as a Svelte maintainer.
- github.com/mcp-use/mcp-use/blob/main/benchmark.md: A competing framework's benchmark shows strong tmcp throughput.
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
It is MIT licensed, has no known advisories, and pulls in only six dependencies, a small surface compared with the official SDK's Express stack. There is no OpenSSF Scorecard, and releases appear to come mainly from one person. The transport crash on malformed input shows a real denial-of-service risk in older versions, though it was fixed.
- advisories.total: 0 advisories
- npm dependencies: 6 dependencies
- scorecard: No Scorecard data
- github.com/lorecrafting/lokacore/pull/505: Unhandled rejection crash in transport-http 0.8.6, fixed in 0.9.1
GPT-6.2 Sol: 6.9, likely 5.5 to 8.1
The MIT-licensed core lists six direct dependencies and has no recorded OSV advisories. The GitHub Actions release workflow enables npm provenance, while remote deployments need to configure an origin allowlist to restrict the HTTP default. The missing Scorecard and public security policy leave limited evidence about security practices and response.
- npm license and dependencies, advisories total and scorecard: MIT, six direct dependencies, zero recorded advisories, and no Scorecard result.
- github.com/paoloricciuti/tmcp/blob/main/.github/workflows/release.yml: Uses GitHub Actions and enables npm provenance.
- github.com/paoloricciuti/tmcp/security: GitHub lists no security policy or published advisories.
- github.com/paoloricciuti/tmcp/releases: Documents the HTTP transport's permissive origin default.
Good
- Adapters for Zod, Zod v3, Valibot, ArkType and Effect Schema mean you are not tied to Zod.
- The core has few dependencies, and transports (stdio, HTTP, in-memory) and session managers (Redis, Postgres, Durable Objects) are separate packages.
- It covers most of the server-side spec: elicitation, sampling, roots, progress, completions, logging and change notifications.
- The official Storybook and Svelte MCP servers are built on it.
Bad
- The README says 1.0 shipped by mistake and minor versions may contain breaking changes.
- Most of the work and releases come from one maintainer, with no visible sponsor.
- Docs, examples and AI-agent familiarity are far smaller than for the official SDK.
- An older HTTP transport (0.8.x) could crash the host process on a malformed /mcp request; you need 0.9.1 or later.
The numbers
- npm downloads, 4 weeks
- 18M ×208 in a year
- GitHub stars
- 207
- Commits, 12 months
- 359
- npm version
- 1.20.1 Oct 2026
- Versions, 12 months
- 7
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (paoloricciuti/tmcp), npm (tmcp), OSV and the OpenSSF Scorecard.
MCP server frameworks
- 8.7MCP TypeScript SDK
- 7.1Cloudflare Agents SDK
- 7.1mcp-use
- 7.1xmcp
- 7.0MCP Handler
- 6.8tmcp
- 4.9FastMCP (TypeScript)
- 4.0mcp-framework
- 3.5mcp-lite