Jeremiah Lowin commited on
Commit
9d6fa16
·
1 Parent(s): 4c324f7

Update openapi.mdx

Browse files
Files changed (1) hide show
  1. docs/patterns/openapi.mdx +2 -0
docs/patterns/openapi.mdx CHANGED
@@ -7,6 +7,8 @@ icon: code-branch
7
 
8
  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.
9
 
 
 
10
  ## The Goal: API -> MCP Server
11
 
12
  The core idea is to map OpenAPI paths and operations (like `GET /users/{id}` or `POST /orders`) to their corresponding MCP components:
 
7
 
8
  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.
9
 
10
+ FastMCP supports both OpenAPI 3.0 and 3.1 specifications for maximum compatibility with existing API definitions.
11
+
12
  ## The Goal: API -> MCP Server
13
 
14
  The core idea is to map OpenAPI paths and operations (like `GET /users/{id}` or `POST /orders`) to their corresponding MCP components: