Modal viewer for active MCP servers and their tools.
Displays servers grouped by name with transport type and tool count. Navigate with arrow keys, Enter to expand/collapse tool descriptions, Escape to close.
MCPViewerScreen(
self,
server_info: list[MCPServerInfo],
)ModalScreen[None]| Name | Type | Description |
|---|---|---|
server_info* | list[MCPServerInfo] | List of MCP server metadata to display. |
| Name | Type |
|---|---|
| server_info | list[MCPServerInfo] |
Compose the screen layout.
Apply ASCII border fallback if needed.
Move selection up.
Move selection down.
Toggle expand/collapse on the selected tool.
Scroll up by one page.
Scroll down by one page.
Close the viewer.