fastapi_mcp
If you are the rightful owner of fastapi_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
FastAPI-MCP is a tool that allows you to expose your FastAPI endpoints as Model Context Protocol (MCP) tools with built-in authentication.
FastAPI-MCP is a powerful extension for FastAPI applications, enabling developers to expose their API endpoints as Model Context Protocol (MCP) tools. This integration is seamless, requiring minimal configuration and preserving the original schemas and documentation of the FastAPI endpoints. FastAPI-MCP leverages FastAPI's ASGI interface for efficient communication, ensuring that the MCP server can be mounted directly onto the FastAPI app or deployed separately. With built-in authentication using FastAPI dependencies, it provides a secure and efficient way to extend the capabilities of FastAPI applications into the MCP ecosystem. The tool is designed to be FastAPI-native, offering a straightforward setup process and maintaining the integrity of the original API design.
Features
- Authentication built in, using your existing FastAPI dependencies
- FastAPI-native: Not just another OpenAPI -> MCP converter
- Zero/Minimal configuration required - just point it at your FastAPI app and it works
- Preserving schemas of your request models and response models
- Flexible deployment - Mount your MCP server to the same app, or deploy separately