Skip to content

Commit e119d65

Browse files
authored
Merge pull request #147 from jlowin/openapi
Support openapi 3.0 and 3.1
2 parents 1b913c0 + 99a5eb1 commit e119d65

File tree

3 files changed

+1002
-292
lines changed

3 files changed

+1002
-292
lines changed

Diff for: docs/patterns/openapi.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ icon: code-branch
77

88
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.
99

10+
FastMCP supports both OpenAPI 3.0 and 3.1 specifications for maximum compatibility with existing API definitions.
11+
1012
## The Goal: API -> MCP Server
1113

1214
The core idea is to map OpenAPI paths and operations (like `GET /users/{id}` or `POST /orders`) to their corresponding MCP components:

0 commit comments

Comments
 (0)