Skip to content

@nogoo9/mcp-server-cloud-fs / TransportOptions

Interface: TransportOptions

Defined in: transports/index.ts:15

Configuration for HTTP and WebSocket transports.

Properties

auth

auth: "none" | "builtin" | "external"

Defined in: transports/index.ts:23

Auth mode.


authAudience?

optional authAudience?: string

Defined in: transports/index.ts:29

Expected token audience (external mode).


authClientCredentials

authClientCredentials: boolean

Defined in: transports/index.ts:31

Enable ext-auth Client Credentials flow.


authEnterpriseIdp?

optional authEnterpriseIdp?: string

Defined in: transports/index.ts:33

Enterprise IdP URL for ext-auth Enterprise-Managed Authorization.


authIssuer?

optional authIssuer?: string

Defined in: transports/index.ts:25

OAuth issuer URL (builtin mode).


authJwksUri?

optional authJwksUri?: string

Defined in: transports/index.ts:27

JWKS URI for token verification (external mode).


corsOrigins

corsOrigins: string[]

Defined in: transports/index.ts:21

Allowed CORS origins. Empty = restrict in production, allow-all for localhost dev.


enableSecurityHeaders

enableSecurityHeaders: boolean

Defined in: transports/index.ts:41

Enable security headers via nosecone (requires nosecone peer dependency).


host

host: string

Defined in: transports/index.ts:19

Bind address for http/ws transports. Default: "127.0.0.1".


port

port: number

Defined in: transports/index.ts:17

Listen port for http/ws transports. Default: 3000.


rateLimit

rateLimit: number

Defined in: transports/index.ts:35

Rate limit requests per minute per client. 0 = disabled (default).


rateLimitBurst

rateLimitBurst: number

Defined in: transports/index.ts:37

Rate limit burst allowance. Default: 10.


requestLogging

requestLogging: boolean

Defined in: transports/index.ts:39

Enable structured JSON request logging to stderr.


securityHeadersOptions?

optional securityHeadersOptions?: Record<string, unknown>

Defined in: transports/index.ts:43

Custom nosecone options for security headers. See nosecone docs for available options.

Released under the PolyForm Shield 1.0.0 License.