TMCP: A New Way to Build MCP servers in TS
summary
Claims a minimal TypeScript MCP server library called TMCP that replaces the official SDK with a lightweight JSON-RPC core using JSON-RPC 2.0, adapters for validators like Zod v4/Valibot, and separate STDIO/HTTP transports. Demonstrations show working tools, resources, elicitation and session managers backed by Redis/Postgres, plus helper utils (tool.text). Size and dependency wins are concrete: 325 KB vs 4 MB, 5 direct vs 17 direct deps and 5 vs 93 total, and ~608K weekly installs compared to millions.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:29Model Context Protocol
- 7:08Official MCP SDK challenges
- 17:48Building TMCP
- 23:29TMCP features
- 27:22TMCP vs SDK
- 28:06Learn more about TMCP
related talks
11mBuilding MCP Apps w/ All the Comfort of Modern TypeScript DevX
01h 14mBuilding Next Gen Agents with MCP
27mTake a rest from REST
12mtRPC: Better than REST GraphQL?
01mMeet Mike Hartington
38mPorting 100K lines of code to TypeScript
26mThe hidden framework revolution: the comeback of RPC
26mPorting Web SDK from JS into TS
