Skip to content

toolmark-monorepo / @toolmark/mcp/client / McpPairingStatus

Type Alias: McpPairingStatus ​

McpPairingStatus = "connecting" | "paired" | "rejected" | "superseded" | "disconnected" | "unreachable"

Defined in: packages/mcp/src/client/index.ts:30

Pairing state reported through McpPairingOptions.onStatus: connecting (each attempt), paired, rejected (invalid frame, wrong code, unknown token or handshake timeout; stops), superseded (a newer pairing replaced this page; stops), disconnected (reconnecting) and unreachable (the first connection never opened; reconnecting).