# mcp-framework

> MCP Server

MCP-Framework is a TypeScript framework for building Model Context Protocol (MCP) servers, offering architecture, automatic discovery of tools, resources, and prompts, and multiple transport support. The CLI simplifies project creation and management.

## Overview

- **Category:** Developer Tools
- **Language:** TypeScript
- **Stars:** 928
- **Forks:** 26
- **Owner:** QuantGeekDev
- **GitHub:** https://github.com/QuantGeekDev/mcp-framework
- **Homepage:** https://mcp-framework.com/
- **Created:** 2024-12-08T22:37:28+00:00
- **Updated:** 2025-03-28T23:48:05+00:00
- **Source:** https://model-context-protocol.com/servers/typescript-mcp-server-framework-model-context

## Setup

## Setup

1.  **Install the framework globally:**

   ```bash
   npm install -g mcp-framework
   ```

2.  **Create a new MCP server project:**

   ```bash
   mcp create my-mcp-server
   ```

3.  **Navigate to your project:**

   ```bash
   cd my-mcp-server
   ```

4.  **Your server is ready to use!**

**Development Workflow:**

1.  Create your project:

    ```bash
      mcp create my-mcp-server
      cd my-mcp-server
    ```

2.  Add tools as needed:

    ```bash
    mcp add tool data-fetcher
    mcp add tool data-processor
    mcp add tool report-generator
    ```

3.  Build:

    ```bash
    npm run build
    ```

4.  Add to MCP Client (Read below for Claude Desktop example)

## Tools

## Available Tools

1.  Automatic discovery and loading of tools, resources, and prompts
2.  Multiple transport support (stdio, SSE, HTTP Stream)
3.  TypeScript-first development with full type safety
4.  Built on the official MCP SDK
5.  Easy-to-use base classes for tools, prompts, and resources
6.  Out of the box authentication for SSE endpoints
7.  CLI for project creation, tool addition, prompt addition, and resource addition
