# punkpeye/fastmcp

A TypeScript framework for building MCP servers.

Repository: https://github.com/punkpeye/fastmcp
Canonical: https://ross.abutalabs.com/products/punkpeye-fastmcp
Homepage: https://glama.ai/mcp/servers
Language: TypeScript
License: MIT
License Family: permissive
Topics: mcp, sse
Last push: 2026-08-26T18:04:48+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 43
- inputs: {"age_days": 615, "days_push": 7, "days_rel": 7, "gap_med": 0.0, "n_releases_24m": 201}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3255, forks 305 (observed 2026-08-28T04:07:52.258158+00:00)

## What it is
FastMCP is a TypeScript framework for building MCP (Model Context Protocol) servers with tools, resources, prompts, sessions, and authentication. It wraps the official MCP SDK with higher-level conveniences like HTTP streaming, SSE support, and a testing CLI.

## Use cases
- build an MCP server in TypeScript
- expose tools and resources to AI assistants like Claude
- add authentication to an MCP server
- deploy MCP servers to Cloudflare Workers or serverless
- test and debug MCP servers locally
- stream tool output over SSE

## When to avoid
- you need the current stateless MCP spec (2026-07-28) — use ViteMCP instead
- you only need the raw protocol primitives of the official SDK

## Facets
- artifact type: framework
- maturity: active
- function: mcp, api-framework, http-server, auth, websocket, cli, testing
- domain: large-language-models, backend, developer-tools, apis
- platform: cross-platform, serverless, cloud
- tags: mcp-servers, model-context-protocol, sse, http-streaming, edge-runtime, tool-definition, ai-agents, nodejs, typescript

## Member repositories
- punkpeye/fastmcp (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:52.258158+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:23.064335+00:00, confidence not recorded.
  - readme: https://github.com/punkpeye/fastmcp (fetched 2026-08-28T04:07:52.258158+00:00, sha eccaacbf9205)
  - homepage: https://glama.ai/mcp/servers (fetched 2026-08-29T09:37:07.172028+00:00, sha 0c5d16649ba8)
  - site_page: https://glama.ai/mcp/categories/documentation-access (fetched 2026-08-29T09:37:07.175925+00:00, sha fb463f4e95c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
