@nogoo9/mcp-server-cloud-fs / transports / 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?
optionalauthAudience?: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?
optionalauthEnterpriseIdp?:string
Defined in: transports/index.ts:33
Enterprise IdP URL for ext-auth Enterprise-Managed Authorization.
authIssuer?
optionalauthIssuer?:string
Defined in: transports/index.ts:25
OAuth issuer URL (builtin mode).
authJwksUri?
optionalauthJwksUri?: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?
optionalsecurityHeadersOptions?:Record<string,unknown>
Defined in: transports/index.ts:43
Custom nosecone options for security headers. See nosecone docs for available options.
