Back to Fastmcp

routing

docs/python-sdk/fastmcp-server-providers-openapi-routing.mdx

3.2.4650 B
Original Source

fastmcp.server.providers.openapi.routing

Route mapping logic for OpenAPI operations.

Classes

MCPType <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/providers/openapi/routing.py#L42" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Type of FastMCP component to create from a route.

RouteMap <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/server/providers/openapi/routing.py#L59" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Mapping configuration for HTTP routes to FastMCP component types.