MCP.Market

FastMCP - FastAPI MCP Framework & Runner MCP server

by Manas-maker·io.github.Manas-maker/fast-mcp·v0.1.0

FastAPI-native Model Context Protocol framework and stdio runner.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
New

0 stars

Reviews

Write one

Nobody has reviewed FastMCP - FastAPI MCP Framework & Runner yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

FastMCP - FastAPI MCP Framework & Runner tools (4)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • echo_transform

    Transform text string into uppercase, lowercase, or title case.

  • from_func
  • inspect
  • search_tools

    Search available tools by keyword or description query to progressively discover tools relevant to your task.

Public scan report

scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it

no findings
  • Code scan17 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 0 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How FastMCP - FastAPI MCP Framework & Runner compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 90% of 4,460 AI and agents servers
Tools
4
the typical AI and agents server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break

What its tools let an agent do: 4 read

Install FastMCP - FastAPI MCP Framework & Runner in Claude Code, Cursor or VS Code

claude mcp add fast-mcp -- uvx mcp-fastapi
Add to Cursor

What the publisher says

From the FastMCP - FastAPI MCP Framework & Runner repository's README, as published. We do not edit it. Read it on GitHub

fast-mcp

<!-- mcp-name: io.github.Manas-maker/fast-mcp -->

FastAPI-native Model Context Protocol (MCP) framework with automatic route reflection, ASGI scope bridging, dynamic progressive tool discovery, resilient error recovery, and interactive in-chat MCP Apps (SEP-1865).

Highlights

  • ⚡ Hybrid Dual-Citizen ASGI Mount: Mounts directly onto any existing FastAPI instance in-process over standard ASGI—zero external proxying, zero hanging subprocesses.
  • 🔌 Local stdio CLI Runner & Desktop AI Bridge: Run fast-mcp stdio main:app or python -m fast_mcp stdio main:app to connect desktop AI clients (Claude Desktop, Cursor) over standard I/O pipes with zero network setup.
  • 🔍 Route Reflection: Opt-in tags (tags=["mcp"]) automatically convert FastAPI endpoints, Pydantic models, docstrings, path/query/body parameters into MCP tools.
  • 🛠️ Custom AI Tools (@mcp.tool): Define AI-tailored composite tools alongside reflected routes with automatic schema and docstring extraction.
  • 🔐 ASGI Scope Bridging: Client authorization headers (Authorization: Bearer , cookies, API keys) captured during the MCP handshake are bridged into an in-memory ASGI Request, natively resolving FastAPI's Depends() and Security() providers without code changes.
  • 🧠 Dynamic Progressive Tool Discovery: Protect agent context windows via progressive discovery (dynamicdiscovery=True), the searchtools(query: str) meta-tool, and zero-dependency KeywordTagRouter.
  • 🛡️ Resilient Error Recovery & Minified JSON: Traps route HTTPException and Pydantic validation errors into informative CallToolResult(isError=True) responses so LLMs can self-correct without protocol failures. Output defaults to compact, token-conscious minified JSON with custom @mcp.serializer formatting hooks.
  • 🖥️ Dual UI & In-Chat MCP Apps (SEP-1865): Embedded browser inspector at /mcp/docs plus native support for in-chat interactive iframes in desktop AI clients (Claude Desktop, Cursor, VS Code) via _meta.ui.resourceUri, the built-in inspect() tool, and the @mcp.app() decorator.

Installation

pip install mcp-fastapi

Or using uv:

uv add mcp-fastapi

Quickstart

from fastapi import FastAPI, Depends, Header, HTTPException
from pydantic import BaseModel, Field
from fast_mcp import FastMCP

app = FastAPI(title="Store API")
mcp = FastMCP(app=app, name="store-mcp")

# 1. Existing FastAPI route reflected automatically via tags=["mcp"]
class Product(BaseModel):
    id: int
    name: str
    price: float

@app.get("/products/{product_id}", tags=["mcp"])
async def get_product(product_id: int) -> Product:
    """Fetch product details by ID."""
    if product_id == 404:
        raise HTTPException(status_code=404, detail="Product not found")
    return Product(id=product_id, name="Smart Widget", price=29.99)

# 2. Custom AI tool with native dependency injection
def verify_token(authorization: str = Header(...)) -> str:
    if not authorization.startswith("Bearer "):
        raise HTTPException(status_code=401, detail="Invalid token")
    return authorization.split(" ")[1]

@mcp.tool(name="order_status", description="Check customer order status")
def check_order(order_id: str, user: str = Depends(verify_token)) -> dict:
    return {"order_id": order_id, "customer": user, "status": "Shipped"}

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

FastMCP - FastAPI MCP Framework & Runner: common questions

Is FastMCP - FastAPI MCP Framework & Runner MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the FastMCP - FastAPI MCP Framework & Runner safety report
How do I install FastMCP - FastAPI MCP Framework & Runner?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does FastMCP - FastAPI MCP Framework & Runner need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is FastMCP - FastAPI MCP Framework & Runner maintained?
The last commit was 32 days ago (2026-10-03). The latest release is v0.1.0.
What can I use instead of FastMCP - FastAPI MCP Framework & Runner?
Servers from other publishers that do the same job: Ts Core MCP server, Figma Context MCP server and HOL Guard MCP server.
How does FastMCP - FastAPI MCP Framework & Runner compare with other AI and agents MCP servers?
safety score 92/100 (higher than 90% of 4,460 AI and agents servers); tools 4 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to FastMCP - FastAPI MCP Framework & Runner

Same job from other publishers: the closest match first, then the best rated.

  • Ts Core
    Agent-native TypeScript framework for building MCP servers.
    A
  • Figma Context
    Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
    B
  • HOL Guard
    Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.
    A
  • Agent-Native Slides
    Agent-Native Google Slides - generate and edit React presentations
    A