FastApiMCP
class and mount the MCP to your existing application:
https://app.base.url/mcp
.
For example, by using uvicorn, add to your code:
python fastapi_mcp_server.py
, which will serve you the MCP at http://localhost:8000/mcp
.
mcp-remote
as a bridge.