Skip to content
Search

FastMCP

lastmod 2026-11-10created 2025-03-222 edits

FastMCP is a framework for building Model Context Protocol (MCP) servers in Python. Attaching a decorator such as @mcp.tool to an ordinary function extracts a schema from its type hints and docstring and exposes it as a tool, resource, or prompt that an LLM can call, so you do not have to deal with protocol details directly. It can be seen as doing for MCP what FastAPI does for web APIs, and its early version was absorbed into the official MCP Python SDK.

The fast, Pythonic way to build Model Context Protocol servers 🚀

See also

Favorite site

author Zer0, MCPBot sitemap