NestJS MCP - v1.0.1
    Preparing search index...

    WebSocket transport options

    interface MCPWebSocketOptions {
        debug?: boolean;
        errorHandler?: (error: Error, clientId?: string) => void;
        maxConnections?: number;
        connectionTimeout?: number;
        port?: number;
        host?: string;
        path?: string;
        perMessageDeflate?: boolean;
        maxPayload?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    debug?: boolean

    Enable debug logging for the transport

    errorHandler?: (error: Error, clientId?: string) => void

    Custom error handler

    maxConnections?: number

    Maximum number of concurrent connections (if applicable)

    connectionTimeout?: number

    Connection timeout in milliseconds

    port?: number

    Port to listen on

    host?: string

    Host to bind to

    path?: string

    Path for WebSocket endpoint

    perMessageDeflate?: boolean

    Enable per-message deflate compression

    maxPayload?: number

    Maximum payload size in bytes