/mcp dialog: cannot scroll or select servers from the list

Resolved 💬 3 comments Opened May 3, 2026 by timncox Closed May 6, 2026

Bug

The /mcp slash command opens a list of configured MCP servers, but the list is not scrollable or selectable above the fold — keyboard navigation (arrow keys, j/k, Tab) moves the selection within the window, but if I move the selector up above the displayed mcps and then scroll up, the selector is at the top of the list. If I then move the selector down the window and selector go to the bottom of the list.

This makes it impossible to recover an MCP server that has disconnected mid-session without restarting Claude Code entirely.

Repro

  1. Configure several MCP servers (enough that the list extends beyond what fits on one screen helps make the issue obvious, but it reproduces with a short list too).
  2. During a session, one MCP server disconnects (in my case I got a system-reminder saying its deferred tools were no longer available).
  3. Run /mcp.
  4. Try to scroll up to an MCP server second from the top of the list.

Expected: arrow keys move the selection; Enter opens a server-detail view with a reconnect option.

Actual: selector can't move to items above those displayed; no way to reach per-server actions.

Environment

  • Claude Code: 2.1.126
  • OS: macOS 26.3.1
  • Shell: zsh
  • Terminal: (please confirm — I'm in whatever terminal Claude Code launches in)

Workaround

Restart Claude Code to force all MCP servers to re-handshake. There's no in-session recovery.

Why it matters

When an MCP server drops mid-task (which happened to me during a multi-step workflow), losing those tools forces a full restart and a re-prime of context. A working /mcp reconnect would make the failure mode recoverable.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗