refresh_from_server(
self,
server: MCPServerInfo,
indicator_glyph: str,
indicator_color: str,
visible_tools:| Name | Type | Description |
|---|---|---|
server* | MCPServerInfo | Updated server metadata. |
indicator_glyph* | str | New status glyph character. |
indicator_color* | str | New status hex color. |
visible_tools* | tuple[MCPToolInfo, ...] | |
glyphs* | Glyphs |
Replace the underlying server data and re-render in place.
Used by apply_server_disable_toggle so an F2 toggle updates this
header without tearing down and re-mounting the widget. Preserves
the row's selected state so the cursor stays put visually.
New filtered tool tuple (drives the count label).
Active glyph table.