fastmcp
FastMCP is a TypeScript framework for building MCP servers that handle client sessions. It is built on top of the official SDK, which the README says supplies foundational blocks but leaves details to you: initialising and configuring server components, handling connections, tools, responses, resources and prompts. FastMCP packages those details so you define tools, resources and prompts simply. The README points to a separate Python FastMCP project for Python users. Install with `npm install fastmcp`.
Features include authentication, passing headers through context, session and request ID tracking, sessions, returning images and audio, embedded resources, logging, error handling, HTTP streaming with SSE compatibility, a stateless mode for serverless deployments, CORS enabled by default, progress notifications, streaming output, typed server events, prompt argument auto-completion, sampling, configurable ping behaviour, a health-check endpoint, roots management, and a CLI for testing and debugging with the MCP CLI and MCP Inspector. Tool parameters are defined with the Standard Schema specification, so you can use Zod or another compatible validation library. The code is MIT licensed.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-10-27
- Commits, last 90 days
- 100+
- Releases, last 90 days
- 30
- Latest release
- v4.23.8 (2026-10-27)
- Open issues
- 2
- Recent issues with at least one comment
- 11/11
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Most discussed open issues
- #212 feat: MCP 2025-11-25 Scope Challenge Handling3 comments · 2025-11-30
Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.
Compatibility
Quick start
Use cases
Alternatives
Comments
No comments yet. Be the first!