Skip to content

McpConnectionFailure

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/types.ts:698

A per-server MCP connection failure captured during the most recent ToolsResolver call. Recorded when a configured MCP server can’t be reached (connection/handshake/auth error), so the failure — otherwise a transient displayWarning that scrolls away the moment the Ink TUI takes over the screen — can be re-surfaced persistently in the chrome AND named in the /debug MCP tab (which renders per configured server and would otherwise show only a bare “no tools” line, with no hint that the server never connected). Mirrors McpServerInstruction.

reason: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/types.ts:702

A concise, human-readable reason (the underlying connection error’s message).


server: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/types.ts:700

The configured MCP server name (the key under config.mcpServers).