mcp-framework
The Typescript MCP Framework
MCP Framework is a TypeScript framework for building Model Context Protocol servers with automatic directory-based discovery and type-safe development. It provides CLI tools for scaffolding projects, base classes for tools/prompts/resources, and supports multiple transport protocols including stdio, SSE, and HTTP Stream. Developers use it to rapidly create well-structured MCP servers with built-in validation, authentication options (OAuth 2.1, JWT, API Key), and automatic schema enforcement using Zod. The framework eliminates boilerplate code and enforces best practices like mandatory field descriptions for better AI agent integration.
Key Features
Use Cases
- 01Building type-safe MCP servers for AI assistants with automatic validation and documentation
- 02Creating crypto tipping services that integrate with AI chat interfaces like tip.md
- 03Rapidly prototyping MCP tools with CLI-generated scaffolding and boilerplate
- 04Exposing documentation as MCP tools for AI agents to search and retrieve content
- 05Deploying authenticated MCP servers with OAuth 2.1 for multi-tenant AI applications
- 06Building production MCP servers with HTTP Stream transport and session management
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
mcp-framework — FAQ
What is mcp-framework?+
MCP Framework is a TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery, type safety, and built-in validation. It provides CLI tools, base classes, and supports multiple transport protocols including stdio, SSE, and HTTP Stream.
How do I install and create a new MCP server with mcp-framework?+
Install the CLI globally with 'npm install -g mcp-framework', then run 'mcp create my-mcp-server' to scaffold a new project. Navigate to the project directory and run 'npm run build' to compile your server.
Which MCP clients work with servers built using mcp-framework?+
MCP Framework servers work with Claude Desktop, Cursor, and other MCP-compatible clients. Configuration examples are provided for Claude Desktop on macOS and Windows.
Do I need API keys or authentication to use mcp-framework?+
No API keys are required to use the framework itself. However, you can optionally configure authentication (OAuth 2.1, JWT, or API Key) for your MCP server endpoints, which requires setting up the respective credentials.
Is mcp-framework free to use?+
Yes, mcp-framework is open source and released under the MIT license, making it free for both personal and commercial use.
What are the prerequisites for using mcp-framework?+
You need Node.js installed and basic TypeScript knowledge. The framework is built on the official MCP SDK and uses Zod for schema validation, both of which are included as dependencies.
How do I install mcp-framework?+
Open the source repository on GitHub and follow its README. mcp-framework is a mcp server — MCP Agents Market links you directly to the official repo.
Is mcp-framework free?+
mcp-framework is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.