Mcp Framework icon

Mcp Framework

Provides a framework to build Model Context Protocol servers in TypeScript.

About

MCP-Framework provides a structured environment for developing Model Context Protocol (MCP) servers using TypeScript. It offers automatic directory-based discovery for tools, resources, and prompts, simplifying the creation of new tools that work with LLMs. The framework supports multiple transports, including stdio, SSE, and HTTP streams, and includes a CLI for project scaffolding and management. Authentication for SSE endpoints is also included, alongside various configuration options via environment variables.

Key Features

  • Supports stdio, SSE, and HTTP Stream transports
  • Out-of-the-box authentication for SSE endpoints
  • TypeScript-first development with full type safety
  • 583 GitHub stars
  • Automatic discovery and loading of tools, resources, and prompts
  • Built on the official MCP SDK

Use Cases

  • Creating MCP servers with integrated authentication.
  • Rapidly scaffolding and managing MCP server projects.
  • Building custom tools for LLM interaction.
Craft Better Prompts with AnyPrompt