2 ms·
Show HN: FastAPI-MCP to expose FastAPI endpoints as MCP tools
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-transitioning-from-fastmcp-wrappers-improved-our-fastapi-mcp-tool-6f6476a39dbc https://medium.com/@miki_45906/advanced-mcps-in-python-how-t...
Looking for feedback and contributors who are interested in MCPs!
- jlcases 1y ago[dead]
- miki-makh 1y agothere is a more detailed write up on the "why" behind the refactor on Medium - https://medium.com/@miki_45906/advanced-mcps-in-python-how-transitioning-from-fastmcp-wrappers-improved-our-fastapi-mcp-tool-6f6476a39dbc https://medium.com/@miki_45906/advanced-mcps-in-python-how-t...
- toriseidenstein 1y agoafter a wave of demos, we're starting to see what's needed for sustainable mcps