{"repo":"paoloricciuti/tmcp","free":true,"listed":false,"github":"https://github.com/paoloricciuti/tmcp","clone":"git clone https://github.com/paoloricciuti/tmcp.git","description":"Typescript SDK to build MCP servers in an agnostic way","language":"JavaScript","stars":197,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"[!WARNING] Unfortunately i published the 1.0 by mistake...this package is currently under heavy development so there will be breaking changes in minors...threat this 1.x as the 0.x of any other package. Sorry for the disservice, every breaking will be properly labeled in the PR name. tmcp A lightweight, schema-agnostic Model Context Protocol (MCP) server implementation with unified API design. Why tmcp? tmcp offers significant advantages over the official MCP SDK: - 🔄 Schema Agnostic : Works with any validation library through adapters - 📦 No Weird Dependencies : Minimal footprint with only essential dependencies (looking at you express ) - 🎯 Unified API : Consistent, intuitive interface across all MCP capabilities - 🔌 Extensible : Easy to add support for new schema libraries - ⚡ Lightweight : No bloat, just what you need Supported Schema Libraries tmcp works with all major schema validation libraries through its adapter system: - Zod - @tmcp/adapter-zod - Valibot - @tmcp/adapter-valibot - ArkType - @tmcp/adapter-arktype - Effect Schema - @tmcp/adapter-effect - Zod v3 - @tmcp/adapter-zod-v3 Installation Quick Start Standard I/O Transport (CLI/Desktop) HTTP Transport (Web-based) Defining Tools, Prompts, Resources, and Templates in Separate Files For better code organization and reusability, you can define your tools, prompts, resources, and templates in separate files using the defineTool , definePrompt , defineResource , and defineTemplate utilities: This approach enables","default_branch":null,"files":null,"tree":[],"storefront":"/r/paoloricciuti","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/paoloricciuti/tmcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}