fastmcp
From public sourcesFastMCP is an open-source Python framework for building MCP servers, clients and interactive apps, so LLMs can connect to tools and data with minimal code.
Overview
- agents
- fastmcp
- llms
- mcp
- mcp-clients
- mcp-servers
- mcp-tools
- model-context-protocol
- python
Installation
Commands are shown, never run by the marketplace. Check them against the official documentation.- Official websiteFrom public sourcesfrom catalog metadatagofastmcp.com/ ↗
- Language package registrypythonFrom public sourcesfrom the package manifest — publication on the registry is not verified
pipx install fastmcpNot verified: check that this package in the registry belongs to this project before installing.
pypi.org/project/fastmcp/ ↗ - Build from sourceFrom public sourcesfrom catalog metadata
Build from source: no validated build recipe — follow the repository instructions.
github.com/PrefectHQ/fastmcp ↗
Compatibility
Unknown means no evidence was found — not that the product is incompatible.| Platform | Status | Architecture | Evidence | Confidence |
|---|---|---|---|---|
| Claude (web & desktop) | Unknown | — | — | — |
| Claude Code | Unknown | — | — | — |
| Cursor | Unknown | — | — | — |
| VS Code | Unknown | — | — | — |
| Windsurf | Unknown | — | — | — |
| ChatGPT | Unknown | — | — | — |
| Python | Compatible | — | package manifest: pyproject.toml name | 0.60 |
Releases
checked Oct 29, 2026Files in 4.1.4
This release has no attached files.
Release history
- v4.1.3Oct 20, 2026Official source ↗
- v4.1.2Oct 20, 2026Official source ↗
- v4.1.1Oct 18, 2026Official source ↗
- v4.1.0Oct 8, 2026Official source ↗
- v4.0.11Oct 4, 2026Official source ↗
- v4.0.10Sep 25, 2026Official source ↗
- v4.0.9Sep 24, 2026Official source ↗
Quality profile
algorithm quality-v1.0 · assessed Oct 15, 2026Score components
License
Apache-2.0This is the catalog policy status, not legal advice.
Sources
Reviews
No reviews yet.
Alternatives
README
From PrefectHQ/fastmcp · license Apache-2.0 · fetched Oct 29, 2026FastMCP 🚀
Move fast and make things.
Made with 💙 by Prefect
[Docs] [Discord] [PyPI - Version] [TypeScript] [Tests] [License]
The Model Context Protocol (MCP) connects LLMs to tools and data. FastMCP is a full MCP application framework for servers, clients, and interactive apps. A server starts with ordinary Python:
from fastmcp import FastMCP
mcp = FastMCP("Demo 🚀")
@mcp.tool
def add(a: int, b: int) -> int:
"""Add two numbers"""
return a + b
if __name__ == "__main__":
mcp.run()
Why FastMCP
Building an effective MCP application is harder than it looks. FastMCP handles all of it. Declare a tool with a Python function, and the schema, validation, and documentation are generated automatically. Connect to a server with a URL, and transport negotiation, authentication, and protocol lifecycle are managed for you. You focus on your logic, and the MCP part just works: with FastMCP, best practices are built in.
That's why FastMCP is the standard framework for working with MCP. FastMCP 1.0 was incorporated into the official MCP Python SDK in 2024. Today, the actively maintained standalone project is downloaded a million times a day, and some version of FastMCP powers 70% of MCP servers across all languages.
FastMCP has three pillars:
Servers wrap your Python functions into MCP-compliant tools, resources, and prompts. Clients connect to any server with full protocol support. And Apps give your tools interactive UIs rendered directly in the conversation.
Building in TypeScript? FastMCP for TypeScript is the official counterpart, built and maintained by the same team. Same pillars, same ideas, npm install @prefecthq/fastmcp-ts.
Ready to build? Start with the installation guide or jump straight to the quickstart.
Scale MCP with Horizon
FastMCP handles the MCP application layer. Prefect Horizon is the enterprise MCP gateway for scaling servers and tools across teams, with centralized governance over how they are deployed, discovered, secured, and used.
FastMCP and Horizon are built by the same team at Prefect.
Deploy FastMCP servers from GitHub with branch previews and instant rollback. Create a private registry of every MCP your company uses. Secure access with SSO and tool-level RBAC. Get audit logs, observability, and governance across your MCP stack. Remix approved tools into purpose-built endpoints for teams and agents.
Start with FastMCP. Scale with Horizon →
Installation
We recommend adding FastMCP to your project with uv:
uv add fastmcp
For full installation instructions, including verification and upgrading, see the Installation Guide.
Upgrading? We have guides for:
- Upgrading from FastMCP 3
- Upgrading from FastMCP 2
- Upgrading from MCP SDK v1 or v2
- Upgrading from the low-level SDK v1 or v2
📚 Documentation
FastMCP's complete documentation is available at gofastmcp.com, including detailed guides, API references, and advanced patterns.
Documentation is also available in llms.txt format, which is a simple markdown standard that LLMs can consume easily:
llms.txtis essentially a sitemap, listing all the pages in the documentation.llms-full.txtcontains the entire documentation. Note this may exceed the context window of your LLM.
Give your coding agent llms.txt as its starting point. See Coding Agents for version-matched documentation and the optional server authoring skill.
Community: Join our Discord server to connect with other FastMCP developers and share what you're building.
Contributing
Start with CONTRIBUTING.md for accepted contributions and the issue-assignment workflow, then follow the Contributing Guide for setup and validation. Agents should read AGENTS.md.