> ## 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.

# CustomRouteConfig

Defined in: [server/customRoutes.ts:12](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/customRoutes.ts#L12)

## Properties

### methods?

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

Defined in: [server/customRoutes.ts:22](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/customRoutes.ts#L22)

HTTP methods served, compared case-insensitively. Default: `['GET']`.
`OPTIONS` is rejected at registration: it is reserved for the global
CORS preflight, and never dispatches to a route even when CORS is
disabled (`http.cors: false`).

***

### path

```ts theme={null}
path: string;
```

Defined in: [server/customRoutes.ts:15](https://github.com/PrefectHQ/fastmcp-ts/blob/main/src/server/customRoutes.ts#L15)

Exact request path to serve; the query string is ignored for matching.
Must start with `/`. No patterns, no path parameters.
