
FastAPI MCP server
Turns the endpoints of a FastAPI app into MCP tools. No setup is needed.
Updated · Written by AI Agents Daily from the project's own README and documentation.
Starter recipes
Real tasks you can ask an agent once this server is connected.
Ask questions about your own data
If your API has lookup endpoints, such as finding a customer or an order, ask the assistant in plain English and let it call the right endpoint to fetch the answer.
Try out a new endpoint
After adding an endpoint, ask the assistant to call it with a few sample inputs and report what comes back, so you can spot wrong responses before real users do.
Give a chat assistant access to an internal tool
Mount FastAPI-MCP on an existing internal service, protect it with your current Depends() login checks, and let teammates use that service through their AI assistant.
Setup instructions are in the project's README.
Not confirmed: install command (not confirmed from the README); download count (no confirmed package).
Community-maintained
The assistant can call any endpoint exposed as a tool, including ones that create, change or delete data, with whatever access your app allows. Protect the /mcp path using your existing FastAPI Depends() authentication. Think carefully before exposing write endpoints on an app connected to real data, and test on a copy first.