> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# RouteMap

Defined in: [server/openapi/types.ts:85](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/openapi/types.ts#L85)

Mapping rule from HTTP routes to FastMCP component types.

## Properties

### mcpTags?

```ts theme={null}
optional mcpTags?: string[];
```

Defined in: [server/openapi/types.ts:95](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/openapi/types.ts#L95)

Extra tags applied to components created by this map.

***

### mcpType

```ts theme={null}
mcpType: MCPType;
```

Defined in: [server/openapi/types.ts:93](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/openapi/types.ts#L93)

The component type to create for matching routes.

***

### methods?

```ts theme={null}
optional methods?: "*" | HttpMethod[];
```

Defined in: [server/openapi/types.ts:87](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/openapi/types.ts#L87)

HTTP methods to match. `'*'` (default) matches every method.

***

### pattern?

```ts theme={null}
optional pattern?: string | RegExp;
```

Defined in: [server/openapi/types.ts:89](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/openapi/types.ts#L89)

Pattern searched (unanchored) against the route path. Default matches all.

***

### tags?

```ts theme={null}
optional tags?: string[];
```

Defined in: [server/openapi/types.ts:91](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/openapi/types.ts#L91)

Tags that must ALL be present on the route for the map to match.
