
mcp-framework
Fast and elegant Typescript framework for building MCP servers
by QuantGeekDevOpen source
Description
MCP Framework is a TypeScript framework for building Model Context Protocol servers. It gives you a project structure out of the box, with automatic directory-based discovery of tools, resources and prompts, so each one can live in its own file and be loaded without manual registration. Tools, resources and prompts are defined with base classes that keep the code short while staying fully typed. A command line tool creates a new project, adds tools, and builds and validates the server. Servers use stdio by default, or switch to HTTP with a flag, with a chosen port and optional CORS. The framework supports stdio, SSE and HTTP streaming transports, and it includes authentication for SSE endpoints, including OAuth 2.1, JWT and API keys. It is built on the official MCP SDK. The README links to full documentation and lists a few projects that were built with the framework.…
Highlights
- Automatic discovery of tools, resources and prompts
- Stdio, SSE and HTTP streaming transports
- TypeScript-first base classes for each type
- Built on the official MCP SDK
- OAuth 2.1, JWT and API key auth for SSE endpoints
- CLI for project creation, tools and validation
Ratings & Reviews
No ratings yet
Be the first to rate mcp-framework.
People also visit
mcp-framework FAQ
What is MCP Framework?
A TypeScript framework for building Model Context Protocol servers, with tools, resources and prompts discovered from folders in your project.
How do I start a project?
Use the CLI to create a project. Add --http for HTTP transport, --port to set the port (default 8080), and --cors to enable CORS.
Which transports are supported?
stdio, SSE and HTTP streaming.
Does it support authentication?
Yes. The README says SSE endpoints have authentication out of the box, with OAuth 2.1, JWT or API keys.
Where is the source?
The project is public on GitHub at QuantGeekDev/mcp-framework, and the full docs are linked from the README.
What are the best mcp-framework alternatives?
Popular alternatives to mcp-framework include vinkius-labs/mcp-fusion, mcp-server-patterns and mcp-apps-builder. See all mcp-framework alternatives














