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

    gRPC transport options

    interface MCPGrpcOptions {
        debug?: boolean;
        errorHandler?: (error: Error, clientId?: string) => void;
        maxConnections?: number;
        connectionTimeout?: number;
        port?: number;
        host?: string;
        protoPath?: string;
        packageName?: string;
        serviceName?: string;
        secure?: boolean;
        credentials?: {
            rootCerts?: Uint8Array<ArrayBufferLike>;
            privateKey?: Uint8Array<ArrayBufferLike>;
            certChain?: Uint8Array<ArrayBufferLike>;
        };
    }

    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

    protoPath?: string

    Path to proto file

    packageName?: string

    gRPC package name

    serviceName?: string

    gRPC service name

    secure?: boolean

    Enable TLS/SSL

    credentials?: {
        rootCerts?: Uint8Array<ArrayBufferLike>;
        privateKey?: Uint8Array<ArrayBufferLike>;
        certChain?: Uint8Array<ArrayBufferLike>;
    }

    Server credentials options