TypeScript framework for building Model Context Protocol (MCP) servers
Top 44.3% on sourcepulse
This framework provides a structured approach for building Model Context Protocol (MCP) servers using TypeScript. It targets developers creating AI-powered applications that require seamless integration with large language models, offering features like automatic discovery of tools, resources, and prompts, and multiple transport options for flexible deployment.
How It Works
The framework leverages a directory-based discovery mechanism to automatically load and register tools, resources, and prompts. It builds upon the official MCP SDK, providing elegant abstractions for defining these components. The core advantage lies in its TypeScript-first design, ensuring full type safety throughout the development process, and its out-of-the-box support for various transport protocols including stdio, Server-Sent Events (SSE), and HTTP streams.
Quick Start & Requirements
npm install -g mcp-framework
mcp create my-mcp-server
cd my-mcp-server && npm run build && node dist/index.js
Highlighted Details
mcp create
, mcp add tool
, etc.).Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README mentions an "EXPERIMENTAL HTTP transport" with a note to modify CORS settings if needed. Some advanced features like stream resumability are disabled by default.
1 month ago
1 day