Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
FastMCP 4 is here — built for the new MCP protocol. See what's new.
SDK Reference
fastmcp.server.providers.openapi
from fastmcp import FastMCP from fastmcp.server.providers.openapi import OpenAPIProvider import httpx2 client = httpx2.AsyncClient(base_url="https://api.example.com") provider = OpenAPIProvider(openapi_spec=spec, client=client) mcp = FastMCP("API Server", providers=[provider])