aiagent.club
中文
GitHub repo

tadata-org/fastapi_mcp

Python Tracked since 2025-03-08 Updated 2026-09-12 View source ↗

#204 of 803 by Stars among GitHub repos

12.0k 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 12.0k 2026-09-12
Forks 964 2026-09-12
Commits 250 2026-09-12
Releases 10 2026-09-12
Watchers 95 2026-09-12
Open issues 95 2026-09-12
Open PRs 85 2026-09-12