FastMCP was a Python library for building Model Context Protocol (MCP) servers quickly and easily, allowing developers to create tools, expose resources, and define prompts with minimal boilerplate. However, it
This repository contains FastMCP, a Python library designed to simplify the creation of Model Context Protocol (MCP) servers. Note: this repository is no longer maintained. MCP servers provide context and tools to LLMs in a standardized manner. FastMCP offers a Pythonic interface for building these servers, allowing developers to create tools, expose resources, and define prompts with minimal boilerplate.
Key features include rapid development, simplicity, Pythonic design, and comprehensive MCP specification implementation. The library supports resources for data exposure, tools for actions, prompts for interaction patterns, and image handling. FastMCP offers development mode for testing, Claude Desktop integration for regular use, and direct execution for advanced scenarios.
The README provides installation instructions using uv
or pip
, quickstart examples, and detailed explanations of core concepts like servers, resources, tools, prompts, images, and context objects. It also includes examples like an echo server and a SQLite explorer.
jlowin/fastmcp
November 30, 2024
March 28, 2025
Python