</>MCP Agents Market
MCP Server

mcp-framework

by QuantGeekDev930TypeScriptUpdated 2026-04-16

The Typescript MCP Framework

Claude DesktopCursor

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

Automatic directory-based discovery and loading of tools, resources, and prompts
CLI for project scaffolding, component generation, and validation
TypeScript-first development with Zod schemas for automatic type inference and validation
Multiple transport support: stdio, SSE, and HTTP Stream with batch or stream response modes
Built-in authentication providers: OAuth 2.1 (RFC 9728), JWT, and API Key
Comprehensive build-time and runtime validation ensuring all schema fields have descriptions
Configurable logging with file output and debug console options
Separate documentation package (@mcpframework/docs) for creating MCP servers from Fumadocs sites or llms.txt

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 more

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.

Related searches