Skip to main content
Defined in: server/openapi/index.ts:40

Properties

client?

Defined in: server/openapi/index.ts:48 HTTP client configuration (base URL, headers, auth, fetch, timeout).

componentFn?

Defined in: server/openapi/index.ts:54 Component customization hook, called before each registration.

name?

Defined in: server/openapi/index.ts:44 Server name. Default ‘OpenAPI Server’.

names?

Defined in: server/openapi/index.ts:56 Overrides mapping operationId → component name.

routeMapFn?

Defined in: server/openapi/index.ts:52 Route-type hook, run after the route maps on every route.

routeMaps?

Defined in: server/openapi/index.ts:50 Route maps checked in order before the default (everything → tool).

serverOptions?

Defined in: server/openapi/index.ts:66 Remaining FastMCP options (auth, middleware, page sizes, …).

spec

Defined in: server/openapi/index.ts:42 The OpenAPI 3.0/3.1 spec: a parsed object, or YAML/JSON text.

tags?

Defined in: server/openapi/index.ts:58 Tags added to every generated component.

validateOutput?

Defined in: server/openapi/index.ts:64 When true (default), tools advertise the output schema extracted from the spec. When false, a permissive schema is advertised instead (the wrap-result marker is preserved).

version?

Defined in: server/openapi/index.ts:46 Server version. Defaults to FastMCP’s own default.