Skip to content

TUI header never shows the Inspector version (header box too short for its border) #2656

Closed

Description

@cliffhall

Problem

The TUI header is meant to show the Inspector version at its right edge (<Text dimColor>v{APP_VERSION}</Text>, clients/tui/src/App.tsx), but the version never appears on screen.

Reproduce

Run mcp-inspector --tui in a 160×40 terminal. The header row reads:

MCP Inspector TUI - Terminal User Interface for the Model Context Protocol Inspector────────────…

The text runs straight into the border line, with no v2.x.y. The string 2.10.1 is absent from the TUI's entire output. I found this during the 2.10.1 release smoke (#2654), in a pty with stty rows 40 cols 160. Published 2.10.0 and 2.9.0 render it the same way, so it is not new.

Likely cause

const headerHeight = 1 (App.tsx:1809), and the header Box also draws borderStyle="single" with only the bottom side enabled. The border consumes the box's only row, which leaves zero rows for content, so Ink clips the right-justified version Text.

Expected

The version shows in the header, as the web client shows it in its footer (#1639). The CLI, mcpdo and web all report the version correctly; only its on-screen display in the TUI is affected (the TUI's clientInfo is read from the same APP_VERSION).

Activity

  1. added this to the v2.11.0 milestone on Oct 8, 2026
  2. added
    bug
    v2
    on Oct 8, 2026
  3. modified the milestones: v2.11.0, v2.12.0 on Oct 12, 2026
  4. self-assigned this
    on Oct 12, 2026
  5. cliffhall commented on Oct 12, 2026

    @cliffhall
    MemberAuthor

    Fixed by #2706 (merged into v2/main).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions