Python sample code for MCP server + REST API (FastAPI) integration
Logo from Flaticon
Python sample code for MCP server + REST API (FastAPI) integration.
- Used
uv
to manage the dependencies. - Used Python SDK for MCP to handle the MCP protocol.
- Integrated with FastAPI to handle both the REST API and the MCP server.
This project's structure is inspired by panz2018/fastapi_mcp_sse.
See the CONTRIBUTING.md.