Skip to main content

fastmcp.server.providers.openapi.provider

OpenAPIProvider for creating MCP components from OpenAPI specifications.

Classes

OpenAPIProvider

Provider that creates MCP components from an OpenAPI specification. Components are created eagerly during initialization by parsing the OpenAPI spec. Each component makes HTTP calls to the described API endpoints. Methods:

get_tasks

get_tasks(self) -> Sequence[FastMCPComponent]
Return empty list - OpenAPI components don’t support tasks.