Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Agentic capability / FastMCP
◇MCP serverAgentic capabilityFree

FastMCP

Apache-2.0 Python framework for building MCP servers fast — decorator-based, zero boilerplate, typed tool definitions.

@ai-supply
Installs41k
Rating★ 4.7
Reviews14
Install (free) to download the source.↗ Source repository

FastMCP

FastMCP is a high-level Python framework for building Model Context Protocol (MCP) servers with minimal boilerplate. Inspired by FastAPI's decorator pattern, it lets you expose Python functions as MCP tools, resources, and prompts in seconds — handling all protocol-level serialization, schema generation, and transport setup automatically.

Key features

  • Decorator-based API: @mcp.tool(), @mcp.resource(), @mcp.prompt() — just annotate functions
  • Automatic JSON Schema generation from Python type hints
  • Supports stdio and SSE (HTTP) transports
  • Built-in testing utilities — run MCP servers in-process for unit tests
  • Async-first but sync functions work too
  • Apache-2.0 license

Quick start

pip install fastmcp
from fastmcp import FastMCP

mcp = FastMCP("My AI Tool Server")

@mcp.tool()
def add(a: int, b: int) -> int:
    """Add two numbers together."""
    return a + b

@mcp.resource("config://settings")
def get_settings() -> str:
    """Return application settings."""
    return "debug=false, version=1.0"

if __name__ == "__main__":
    mcp.run()  # stdio transport by default
# Run with SSE transport for HTTP access
fastmcp run server.py --transport sse --port 8000

Install via ai-supply

npx ai-supply add fastmcp-python

Curated mirror of the open-source FastMCP (Apache-2.0). Get it from the source.

More from @ai-supply

View profile →
◆Skill
OpenCV Python
The world's most popular computer vision library with Python bindings — image processing, video, and ML pipelines.
↓ 500k★ 4.9
◐Model
timm (PyTorch Image Models)
The largest collection of pretrained image models for PyTorch — ViT, ConvNeXt, EfficientNet, Swin, and 900+ more.
↓ 490k★ 4.9
⌬Workflow
Apache Airflow
Apache-2.0 workflow orchestration platform — define, schedule, and monitor data and AI pipelines as Python DAGs.
↓ 395k★ 4.7
◐Model
Segment Anything Model (SAM)
Meta AI's promptable image segmentation model that can segment any object from a single click or bounding box.
↓ 320k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy