fastmcp 3.2.0


pip install fastmcp

  Latest version

Released: Mar 30, 2026


Meta
Author: Jeremiah Lowin
Requires Python: >=3.10

Classifiers

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Topic
  • Scientific/Engineering :: Artificial Intelligence

Typing
  • Typed
FastMCP Logo

FastMCP ๐Ÿš€

Move fast and make things.

Made with ๐Ÿ’™ by Prefect

Docs Discord PyPI - Version Tests License

prefecthq%2Ffastmcp | Trendshift


The Model Context Protocol (MCP) connects LLMs to tools and data. FastMCP gives you everything you need to go from prototype to production:

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
Servers

Expose tools, resources, and prompts to LLMs.
Apps
Apps

Give your tools interactive UIs rendered directly in the conversation.
Clients
Clients

Connect to any MCP server โ€” local or remote, programmatic or CLI.

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.

Ready to build? Start with the installation guide or jump straight to the quickstart. When you're ready to deploy, Prefect Horizon offers free hosting for FastMCP users.

Installation

We recommend installing FastMCP with uv:

uv pip install fastmcp

For full installation instructions, including verification and upgrading, see the Installation Guide.

Upgrading? We have guides for:

๐Ÿ“š 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.txt is essentially a sitemap, listing all the pages in the documentation.
  • llms-full.txt contains the entire documentation. Note this may exceed the context window of your LLM.

Community: Join our Discord server to connect with other FastMCP developers and share what you're building.

Contributing

We welcome contributions! See the Contributing Guide for setup instructions, testing requirements, and PR guidelines.

3.2.0 Mar 30, 2026
3.1.1 Mar 14, 2026
3.1.0 Mar 03, 2026
3.0.2 Feb 22, 2026
3.0.1 Feb 21, 2026
3.0.0 Feb 18, 2026
3.0.0rc3 Feb 18, 2026
3.0.0rc2 Feb 14, 2026
3.0.0rc1 Feb 12, 2026
3.0.0b2 Feb 07, 2026
3.0.0b1 Jan 20, 2026
2.14.6 Mar 27, 2026
2.14.5 Feb 03, 2026
2.14.4 Jan 22, 2026
2.14.3 Jan 12, 2026
2.14.2 Dec 31, 2025
2.14.1 Dec 15, 2025
2.14.0 Dec 11, 2025
2.13.3 Dec 03, 2025
2.13.2 Dec 01, 2025
2.13.1 Nov 15, 2025
2.13.0.2 Oct 28, 2025
2.13.0.1 Oct 26, 2025
2.13.0 Oct 25, 2025
2.13.0rc3 Oct 24, 2025
2.13.0rc2 Oct 21, 2025
2.13.0rc1 Oct 19, 2025
2.12.5 Oct 17, 2025
2.12.4 Sep 26, 2025
2.12.3 Sep 12, 2025
2.12.2 Sep 03, 2025
2.12.1 Sep 03, 2025
2.12.0 Aug 31, 2025
2.12.0rc1 Aug 30, 2025
2.11.3 Aug 11, 2025
2.11.2 Aug 06, 2025
2.11.1 Aug 04, 2025
2.11.0 Aug 01, 2025
2.10.6 Jul 19, 2025
2.10.5 Jul 11, 2025
2.10.4 Jul 09, 2025
2.10.3 Jul 09, 2025
2.10.2 Jul 05, 2025
2.10.1 Jul 02, 2025
2.10.0 Jul 01, 2025
2.9.2 Jun 26, 2025
2.9.1 Jun 26, 2025
2.9.0 Jun 23, 2025
2.8.1 Jun 15, 2025
2.8.0 Jun 11, 2025
2.7.1 Jun 08, 2025
2.7.0 Jun 05, 2025
2.6.1 Jun 03, 2025
2.6.0 Jun 02, 2025
2.5.2 May 29, 2025
2.5.1 May 24, 2025
2.5.0 May 24, 2025
2.4.0 May 21, 2025
2.3.5 May 20, 2025
2.3.4 May 15, 2025
2.3.3 May 10, 2025
2.3.2 May 10, 2025
2.3.1 May 09, 2025
2.3.0 May 08, 2025
2.3.0rc1 May 08, 2025
2.2.10 May 06, 2025
2.2.9 May 06, 2025
2.2.8 May 05, 2025
2.2.7 May 03, 2025
2.2.6 Apr 30, 2025
2.2.5 Apr 26, 2025
2.2.4 Apr 25, 2025
2.2.3 Apr 25, 2025
2.2.2 Apr 23, 2025
2.2.1 Apr 21, 2025
2.2.0 Apr 16, 2025
2.1.2 Apr 14, 2025
2.1.1 Apr 14, 2025
2.1.0 Apr 13, 2025
2.0.0 Apr 11, 2025
1.0 Apr 11, 2025
0.4.1 Dec 09, 2024
0.4.0 Dec 05, 2024
0.3.5 Dec 03, 2024
0.3.4 Dec 02, 2024
0.3.3 Dec 02, 2024
0.3.2 Dec 01, 2024
0.3.1 Dec 01, 2024
0.3.0 Dec 01, 2024
0.2.0 Nov 30, 2024
0.1.0 Nov 30, 2024

Wheel compatibility matrix

Platform Python 3
any

Files in release