unavailable_server_display(
server: UnavailableServer,
) -> tuple[str, str]| Name | Type | Description |
|---|---|---|
server* | UnavailableServer | A server that loaded with no usable tools. |
Return the (status_label, detail) display pair for an unavailable server.
Shared by the CLI (client.commands.tools._print_unavailable_servers) and
TUI (app._render_tool_catalog) renderers so both describe a server the same
way. A disabled server shows its reconnect guidance if present, else the
generic "disabled by user", with no separate detail; other statuses show the
status token plus discovery's reason string when present.