---
title: routing
sidebarTitle: routing
---

# `fastmcp.server.openapi.routing`


Route mapping logic for OpenAPI operations.

## Classes

### `MCPType` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/server/openapi/routing.py#L33" 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/jlowin/fastmcp/blob/main/src/fastmcp/server/openapi/routing.py#L51" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>


Mapping configuration for HTTP routes to FastMCP component types.

