mcp-use TypeScript API
    Preparing search index...

    Type Alias ReconnectionOptions

    SDK-level reconnection options for streamable HTTP transports. Controls the retry behavior of the underlying StreamableHTTPClientTransport.

    type ReconnectionOptions = {
        initialReconnectionDelay?: number;
        maxReconnectionDelay?: number;
        maxRetries?: number;
        reconnectionDelayGrowFactor?: number;
    }
    Index
    initialReconnectionDelay?: number

    Initial delay before first reconnection attempt in ms (default: 1000)

    maxReconnectionDelay?: number

    Maximum delay between reconnection attempts in ms (default: 30000)

    maxRetries?: number

    Maximum number of reconnection retries (default: 2)

    reconnectionDelayGrowFactor?: number

    Multiplier applied to delay after each failed attempt (default: 1.5)