About FastAPI-MCP
FastAPI-MCP is an open-source utility that automatically exposes FastAPI endpoints as Model Context Protocol (MCP) tools, facilitating seamless integration with AI assistants.
Features
- Direct integration - Mount an MCP server directly to your FastAPI app
- Zero configuration required - just point it at your FastAPI app and it works
- Automatic discovery of all FastAPI endpoints and conversion to MCP tools
- Preserving schemas of your request models and response models
- Preserve documentation of all your endpoints, just as it is in Swagger
- Extend - Add custom MCP tools alongside the auto-generated ones