π The fast, Pythonic way to build MCP servers and clients.
Update docs/servers/openapi.mdx
Jeremiah Lowinf933de16b307
diff --git a/docs/servers/openapi.mdx b/docs/servers/openapi.mdxindex 786aefdfd..ff7d6460c 100644--- a/docs/servers/openapi.mdx+++ b/docs/servers/openapi.mdx@@ -43,7 +43,7 @@ That's it! Your entire API is now available as an MCP server. Clients can discovBy default, FastMCP converts **every endpoint** in your OpenAPI specification into an MCP **Tool**. This provides a simple, predictable starting point that ensures all your API's functionality is immediately available to the vast majority of LLM clients which only support MCP tools.-While this is a pragmatic default for maximum compatibility, you can easily customize this behavior. Interally, FastMCP uses an ordered list of `RouteMap` objects to determine how to map OpenAPI routes to various MCP component types.+While this is a pragmatic default for maximum compatibility, you can easily customize this behavior. Internally, FastMCP uses an ordered list of `RouteMap` objects to determine how to map OpenAPI routes to various MCP component types.Each `RouteMap` specifies a combination of methods, patterns, and tags, as well as a corresponding MCP component type. Each OpenAPI route is checked against each `RouteMap` in order, and the first one that matches every criteria is used to determine its converted MCP type. A special type, `EXCLUDE`, can be used to exclude routes from the MCP server entirely.