FastMCP
The fast, Pythonic way to build MCP servers and clients
- Source repo
- PrefectHQ/fastmcp
- Stars
- ★ 29k
- Last updated
- today v3.4.12
- FARS reviewed
- Nov 08, 2026 +10 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 68/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who want to quickly expose Python functions as MCP tools for LLM consumption
- Not a fit if
- Teams needing SSO, RBAC, and audit logs (paid Prefect Horizon)
- TypeScript developers wanting an MCP framework (use fastmcp-ts)
- Non-English speakers who need localized documentation
- Website
- gofastmcp.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v3.4.12 (2026-12-02)+14.0 ★/day over 7 days
- Source review
- 68/100 · Some gaps
What does this agent do, and when should you use it?
FastMCP is a full-featured framework for building Model Context Protocol (MCP) applications, covering servers, clients, and interactive apps. It automatically turns Python functions into MCP-compliant tools with schema, validation, and documentation generated automatically. It also manages transport negotiation, authentication, and protocol lifecycle when connecting to servers. FastMCP provides three pillars: Servers, Apps (interactive UIs in conversation), and Clients. It is the standard framework for MCP development, with FastMCP 1.0 incorporated into the official MCP Python SDK in 2024.
FastMCP wraps Python functions as MCP tools using decorators like @mcp.tool, and handles protocol lifecycle automatically. Clients can connect to any MCP server via URL, supporting local and remote connections. Apps feature allows interactive UIs to be rendered directly in the conversation. It provides both programmatic and CLI interfaces. Installation is via uv: 'uv add fastmcp'. A server can be started with mcp.run().
- Developers who want to quickly expose Python functions as MCP tools for LLM consumption
- Teams needing to connect multiple MCP servers and manage them centrally
- App developers building interactive tools with UIs rendered in the chat
- Platform engineers deploying MCP servers at scale, considering Prefect Horizon for governance
- TypeScript developers who want parity with FastMCP via the official FastMCP-ts package
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
uv add fastmcp
How do you install or deploy this agent?
Recommended installation with uv: 'uv add fastmcp'. Ensure Python is available. For full instructions, see the Installation Guide at gofastmcp.com.
How do you use this agent?
Create a Python file, import FastMCP, instantiate a FastMCP object, define tool functions with @mcp.tool, and call mcp.run() to start the server. For a quickstart, refer to gofastmcp.com/getting-started/quickstart.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Automatic schema, validation, and documentation generation for tools
- Covers the full MCP application stack: servers, clients, and apps
- Incorporated into the official MCP Python SDK, indicating maturity and adoption
- TypeScript counterpart available for cross-language consistency
- Built-in best practices simplify transport negotiation and authentication
- Learning curve for MCP protocol and FastMCP-specific APIs
- Advanced features like Horizon may require a commercial license
- Upgrades may require code adjustments (e.g., from v2 to v3)
- Documentation primarily in English, which may be a barrier for non-English speakers
How does this agent compare with similar options?
FastMCP is the standard framework in the MCP ecosystem, closely tied to the official MCP SDK. For TypeScript, FastMCP-ts is the official counterpart. It competes with lower-level SDKs that require more manual protocol handling.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| FastMCP This agent | 68 · Some gaps | Library / SDKFreemium | ★ 29k | today | Python | — |
| BeeAI Framework | 50 · Major gaps | Library / SDKFree + model costs | ★ 3.5k | 6d ago | Python | — |
| Eclipse Theia | 49 · Major gaps | FrameworkFree | ★ 22k | 1d ago | TypeScript | — |
| Jevbridge Decision Sidecar | 60 · Some gaps | CLIFree + model costs | ★ 51 | 2mo ago | TypeScript | Codex · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The code and docs show relatively narrow capability boundaries: templated resources screen for path traversal by default, the sandbox guide recommends short-lived scoped tokens, and it explains that disabling authorization consent weakens protections. Deductions: the CLI can explicitly disable TLS verification, installation examples pass environment variables and .env files, and the packet does not show a unified pre-action confirmation flow, complete data-flow disclosure, or rollback guarantees. Publisher identity remains unknown.
CLI configuration parsing reports missing server specifications, invalid arguments, and unset environment variables; a skill also advises distinguishing upstream failures from empty results. Deductions: dependency availability, runtime behavior, and these error paths are not verified in this static packet, and README claims about scale and standard status include no supporting data.
The README, CLI skill, and sandbox deployment guide address server, client, and deployment scenarios; the materials distinguish local STDIO from isolated sandboxes and state that app visibility is not a security boundary. Deductions: the authoring skill requires version-matched documentation, its trigger is broad, and the sample does not establish compatibility for every environment.
The README provides a quick example, installation route, and documentation entry points; CLI docs list supported clients and option limits; an Apache-2.0 license, versioned upgrade guides, and a security policy are present. Deductions: the packet contains no complete changelog or clearly named maintenance owner; some features require external tools or optional dependencies, and examples and FAQ coverage is incomplete.
FastMCP turns Python functions into MCP tools and provides client discovery, calling, and configuration; the skills give operation sequences and recovery advice. Deductions: product benefits and costs are not quantified, promotional scale claims are unsupported in the packet, and some workflows require external tools such as uv.
The CLI and source provide commands, argument handling, and error text that can be compared; the security docs and resource security docs corroborate path screening and authorization boundaries. Deductions: README claims about downloads, market coverage, and standard status lack support, no execution results are included, and this assessment is limited to the supplied file sample.
- The CLI's --verify false disables TLS certificate verification; use it only with an understood risk and suitable compensating protections.
- Installation options can pass environment variables and .env values into client configuration; avoid placing long-lived credentials in configuration or sandboxes, and limit access for the deployment.
- The README's download, market coverage, and “standard framework” claims are not independently supported by the supplied material; no code or tests were executed for this review.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v3.4.12 v3.4.12: Old Faithful
Release notes excerpt
This release backports three fixes to the 3.x line. Tool names and descriptions are now quoted safely in generated SKILL.md files, provider required_scopes are kept when you pass a custom token verifier, and OAuth clients with a pre-registered client_id can pass issuer so their credentials are only sent to that authorization server; set issuer to get this protection, since upgrading alone does not turn it on. All 3.x users are encouraged to upgrade. Thanks to our 1 contributor, with no first-time contributors in this release. What's Changed Fixes 🐞 …View on GitHub ↗ -
v4.2.6 v4.2.6: Turn of Events
Release notes excerpt
This release adds an experimental CodeModeClient, which wraps a Client or ClientGroup and runs CodeMode on the client side, so an agent gets the search, schema and execute meta-tools over servers that don't run CodeMode themselves, and one execute block can chain tools across servers. Server spans now carry network.transport and, over HTTP, network.protocol.name and network.protocol.version. Fixes cover client callbacks and results, OpenAPI schemas and path parameters, resource links returned by a mounted server's tools (now namespaced like the rest of the mount), and response li …View on GitHub ↗ -
v4.2.5 v4.2.5: Smoke Signals
Release notes excerpt
This release serves subscriptions/listen on 2026-07-28 connections, so clients can open a stream and receive tool, prompt and resource change events, and FastMCP.notify_tools_changed() and its siblings now push those events to listening clients. A new opt-in UsageMiddleware records per-user, per-tool usage as the OpenTelemetry mcp.server.operation.duration histogram for tools/call and prompts/get; add it before any error-handling middleware. An experimental Events extension (SEP-3415) lands in fastmcp.experimental.events, with poll and push delivery and a `fastmcp experimental ev …View on GitHub ↗
FAQ
Is FastMCP free to use?
How do I upgrade from older versions?
What transports does FastMCP support?
Does FastMCP require special hardware?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.