
About FastMCP
FastMCP is an open source Python framework for building Model Context Protocol servers and clients. You write the tool logic, and the framework handles the protocol.
What it does
Decorate a Python function and FastMCP serves it as a tool, a resource or a prompt. It also supports clients that connect to local or remote servers. Tools can be renamed or simplified so an agent sees a cleaner set of options. Authentication and testing are included in the same package.
Key features
- Decorator-based tools, resources and prompts
- Clients for local and remote servers
- Tool transformation and search
- Authentication with identity providers
- Interactive tables and forms in MCP clients
Who it's for
Python developers building MCP integrations for internal systems or public APIs. The site lists several large companies among the teams that build MCP servers with the framework.
Pricing and good to know
The framework is open source under the Apache 2.0 licence. The site shows installation with uv and a single command to run a server over HTTP. Interactive components come from a separate library called Prefab, which the docs describe.
Highlights
- Turn Python functions into MCP tools
- Connect to local or remote MCP servers
- Rename and simplify tools for agents
- Add authentication with an identity provider
- Render tables and forms in MCP clients












