{"repo":"punkpeye/fastmcp","free":true,"listed":false,"github":"https://github.com/punkpeye/fastmcp","clone":"git clone https://github.com/punkpeye/fastmcp.git","description":"A TypeScript framework for building MCP servers.","language":"TypeScript","stars":3247,"topics":["mcp","sse"],"license":"MIT","category":"mcp-servers","readme_excerpt":"FastMCP A TypeScript framework for building MCP servers capable of handling client sessions. [!IMPORTANT] FastMCP implements the legacy, handshake-based MCP revisions ( 2025-11-25 and earlier). It does not support the current specification, 2026-07-28 , which made the protocol stateless — no initialize handshake and no Mcp-Session-Id . For a framework targeting the current spec, use ViteMCP. Features - Simple Tool, Resource, Prompt definition - Authentication - Passing headers through context - Session ID and Request ID tracking - Sessions - Image content - Audio content - Embedded - Logging - Error handling - HTTP Streaming (with SSE compatibility) - HTTPS Support for secure connections - Custom HTTP routes for REST APIs, webhooks, and admin interfaces - Edge Runtime Support for Cloudflare Workers, Deno Deploy, and more - Stateless mode for serverless deployments - CORS (enabled by default) - Progress notifications - Streaming output - Typed server events - Prompt argument auto-completion - Sampling - Elicitation - Configurable ping behavior - Health-check endpoint - Roots - In-memory transport for unit testing without binding a port - CLI for testing and debugging When to use FastMCP over the official SDK? FastMCP is built on top of the official SDK. The official SDK provides foundational blocks for building MCPs, but leaves many implementation details to you: - Initiating and configuring all the server components - Handling of connections - Handling of tools - Handling of ","default_branch":null,"files":null,"tree":[],"storefront":"/r/punkpeye","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/punkpeye/fastmcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}