Only 2 Lines of code to create an MCP server from a FastAPI - Major updates
FastAPI-MCP's latest update brings selective endpoint exposure and a class-based architecture, enhancing usability and extensibility for exposing FastAPI endpoints as Model Context Protocol tools, while maintaining simple two-line implementation.