FastMCP
gofastmcp.com
Pythonic framework for building MCP servers, clients and interactive apps; schemas, validation and transports handled for you.
- GitHub stars
- 28,721
- License
- Apache-2.0
- Language
- Python
- Pricing
- Open source
- Published
- Nov 16, 2026
Next steps
- AG-UI
Both tools are listed under AI API, AI Developer Tools, and mcp.
- DaVinci Resolve MCP
Both tools are listed under AI Developer Tools, AI Agent, mcp, and python.
- AgentClock
Both tools are listed under AI API, AI Developer Tools, and mcp.
- Strix
- Pi
- Daily Stock Analysis (DSA)
What it does
FastMCP is Prefect's open-source (Apache-2.0) framework for the Model Context Protocol. You declare a tool with an ordinary Python function and FastMCP generates the schema, validation and documentation; when connecting to a server by URL it manages transport negotiation, authentication and the protocol lifecycle. It has three parts: Servers expose tools, resources and prompts to LLMs, Clients connect to any local or remote MCP server, and Apps render interactive UIs for tools inside the conversation. FastMCP 1.0 was folded into the official MCP Python SDK in 2024, and a TypeScript counterpart is maintained by the same team.

Use cases
- Turn existing Python functions into MCP tools, resources and prompts that Claude, Cursor or other MCP clients can call
- Connect to local or remote MCP servers from Python code or the CLI to test and script them
- Give MCP tools interactive UIs rendered inside the chat with FastMCP Apps
Frequently asked questions
- What is FastMCP?
- FastMCP is an open-source Python framework from Prefect for building Model Context Protocol (MCP) servers, clients and interactive apps.
- How is it related to the official MCP SDK?
- According to the project, FastMCP 1.0 was incorporated into the official MCP Python SDK in 2024; the standalone FastMCP project continues to be maintained separately.
- Is there a TypeScript version?
- Yes. FastMCP for TypeScript (PrefectHQ/fastmcp-ts, npm @prefecthq/fastmcp-ts) is maintained by the same team.
- What does it cost?
- FastMCP is free and open source under the Apache-2.0 license.