GitHub repo

tadata-org/fastapi_mcp

Python Tracked since 2025-03-08 Updated 2026-07-16 View source ↗

#198 of 783 by Stars among GitHub repos

11.9k Stars

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

About

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

If you prefer a managed hosted solution check out tadata.com.

We recommend using uv, a fast Python package installer:

The simplest way to use FastAPI-MCP is to add an MCP server directly to your FastAPI application:

That's it! Your auto-generated MCP server is now available at

FastAPI-MCP provides comprehensive documentation. Additionaly, check out the examples directory for code samples demonstrating these features in action.

FastAPI-MCP is designed as a native extension of FastAPI, not just a converter that generates MCP tools from your API. This approach offers several key advantages:

This design…

Excerpted from github.com/tadata-org/fastapi_mcp

Latest metrics

Stars 11.9k 2026-07-16
Forks 950 2026-07-16
Commits 250 2026-07-16
Releases 10 2026-07-16
Watchers 96 2026-07-16
Open issues 90 2026-07-16
Open PRs 68 2026-07-16