Hacker News new | ask | show | jobs
Show HN: FastAPI-MCP to expose FastAPI endpoints as MCP tools (github.com)
7 points by tadata 432 days ago
I 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!

2 comments

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