Show HN: FastAPI-MCP to expose FastAPI endpoints as MCP tools
github.comI built FastAPI-MCP as an open-source library, and recently had to completely refactor it, abandoning FastMCP wrappers in favor of the low-level MCP SDK. The new version gives more control over which endpoints are exposed, supports complex request bodies, and allows flexible routing options. I wrote about the technical journey and lessons learned here: https://medium.com/@miki_45906/advanced-mcps-in-python-how-t...
Looking for feedback and contributors who are interested in MCPs! there is a more detailed write up on the "why" behind the refactor on Medium -
https://medium.com/@miki_45906/advanced-mcps-in-python-how-t... after a wave of demos, we're starting to see what's needed for sustainable mcps