ReadonlymaxMaximum consecutive connection attempts before giving up
ReadonlyconnectionBase delay (ms) between retry attempts
ReadonlyserverHuman-readable label for log messages
ReadonlycallCall the underlying MCP tool (used by the retry loop)
ReadonlyisWhether the transport is currently connected
ReadonlyconnectTrigger a full reconnect cycle
ReadonlysetMark the transport as (dis)connected
ReadonlygetCurrent reconnect-attempt counter
ReadonlysetUpdate the reconnect-attempt counter
ReadonlygetCurrent in-flight reconnect promise (or null)
ReadonlysetPersist or clear the in-flight reconnect promise
ReadonlygetCurrent cumulative timeout counter
ReadonlysetUpdate the cumulative timeout counter
Adapter passed by MCPConnection to reconnect/retry helpers. Exposes the handful of connection fields these helpers need through getter/setter callbacks so the fields remain on the connection class (preserving external observability via
getConnectionHealth()).