diff --git a/docs/patterns/openapi.mdx b/docs/patterns/openapi.mdx index 166b5d89a..1767700c2 100644 --- a/docs/patterns/openapi.mdx +++ b/docs/patterns/openapi.mdx @@ -7,6 +7,8 @@ icon: code-branch If you have existing REST APIs documented with the OpenAPI Specification (OAS), FastMCP can automatically generate MCP tools, resources, and resource templates directly from that specification. This provides a quick way to make your existing HTTP APIs accessible to MCP clients and LLMs. +FastMCP supports both OpenAPI 3.0 and 3.1 specifications for maximum compatibility with existing API definitions. + ## The Goal: API -> MCP Server The core idea is to map OpenAPI paths and operations (like `GET /users/{id}` or `POST /orders`) to their corresponding MCP components: