tadata-org/fastapi_mcp
A Python library that converts FastAPI endpoints into Model Context Protocol (MCP) tools for AI integration.

Velocity · 7d
+26
★ / day
Trend
→steady
star history
FastAPI-MCP bridges FastAPI web services and the Model Context Protocol used by AI systems. It automatically exposes existing FastAPI endpoints as callable MCP tools, preserving request/response schemas and documentation. Authentication is built in using existing FastAPI dependency injection patterns. The library targets AI coding assistants like Cursor, Windsurf, and Claude Code that use MCP for tool-based interactions.