mcp-framework
by QuantGeekDev·★ 916·Score 54
TypeScript framework for building MCP servers with automatic discovery, type safety, and multiple transport options.
Overview
MCP-Framework is a comprehensive TypeScript framework for building Model Context Protocol servers. It provides architecture out of the box with automatic directory-based discovery for tools, resources, and prompts. The framework supports multiple transport protocols including stdio, SSE, and HTTP Stream, with built-in authentication options like OAuth 2.1, JWT, and API Key for SSE endpoints. It offers full type safety through TypeScript integration and Zod schemas for tool definitions.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this framework when building MCP servers in TypeScript, especially when you need multiple transport protocols, built-in authentication, and a comprehensive CLI for project management.
When NOT to choose this
Don't choose this framework if you're building a simple MCP server with basic requirements or if you prefer using vanilla JavaScript without TypeScript.
Comparable tools
Installation
Installation
# Install the framework globally
npm install -g mcp-framework
# Create a new MCP server project
mcp create my-mcp-server
# Navigate to your project
cd my-mcp-server
# Your server is ready to use!Using with Claude Desktop
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"my-mcp-server": {
"command": "node",
"args": ["/absolute/path/to/my-mcp-server/dist/index.js"]
}
}
}FAQ
- What transport protocols are supported?
- The framework supports multiple transport protocols including stdio (default), SSE (Server-Sent Events), and HTTP Stream with optional CORS support.
- How does authentication work?
- For SSE endpoints, the framework provides built-in authentication options including OAuth 2.1, JWT, and API Key authentication.
Compare mcp-framework with
Last updated · Auto-generated from public README + GitHub signals.