MCP servers

tadata-org/fastapi_mcp

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

Stars
12,029
+7 days
—
Forks
965
Language
Python
License
MIT
Last push
24 Nov 2025

Summary

Summary written by AI from the README; it may be imprecise.

This Python library exposes FastAPI endpoints as Model Context Protocol tools with authentication support. It preserves request and response schemas along with endpoint documentation directly from your app. It communicates over the ASGI interface and can be mounted onto an existing FastAPI instance or deployed separately.

Use it when

  • Expose existing FastAPI endpoints as MCP tools for Claude Code or other AI assistants
  • When you need to protect MCP endpoints using existing FastAPI authentication dependencies
  • Mount an MCP server directly inside an existing ASGI application without running separate services

Install

pip
pip install fastapi-mcp

Commands quoted from the repo's README. Read the README before running them.

Stars over 90 days

Collecting: 2 of 90 days so far. The chart appears after 7 days.

Type to search the reference, templates and lessons.