Rapid tool integration for AI
FastMCP is a Python-based framework that makes it easy to develop Model Context Protocol (MCP) servers and clients. It enables developers to quickly integrate between AI models and native tools.
Updates
- November 3, 2026: Stars 28,272 → 28,277, latest release v4.1.6 (November 3, 2026).
- November 2, 2026: Stars 28,202 → 28,272, latest release v4.1.5 (November 1, 2026).
- October 26, 2026: Stars 28,157 → 28,202, latest release v4.1.4 (October 26, 2026).
- October 21, 2026: Stars 28,119 → 28,157, latest release v4.1.3 (October 20, 2026).
What you get
- Easily turns Python functions into AI tools
- Automatically creates schema, validation and documentation
- Speeds up server, client and application development processes
Installation
uv pip install fastmcpIf you don't write code
I want to convert a Python function into a Model Context Protocol (MCP) compliant tool using FastMCP. Define a tool that performs a simple addition using the @mcp.tool decorator and set up the basic structure to launch the FastMCP server.
Repository: https://github.com/PrefectHQ/fastmcp. Follow the official instructions in the README of this repository for setup and execution.
Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.
Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.
Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.
Related dictionary terms
Links
TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-07-21: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.