/mcp dialog shows empty server list in interactive CLI session

Resolved 💬 4 comments Opened Mar 25, 2026 by seo-digitouch Closed Jun 7, 2026

Bug Description

The /mcp slash command inside an interactive Claude Code session renders an empty dialog with no MCP servers listed, even though servers are properly configured and connected.

Steps to Reproduce

  1. Configure MCP servers (via ~/.claude/mcp.json or claude mcp add)
  2. Start an interactive Claude Code session (claude)
  3. Type /mcp
  4. The dialog appears but shows no servers

Expected Behavior

The /mcp dialog should display all configured MCP servers with their connection status.

Actual Behavior

The dialog appears completely empty/blank.

Workaround

Running claude mcp list from outside the interactive session works correctly and shows all servers with their status:

claude.ai Google Calendar - ! Needs authentication
claude.ai Gmail - ! Needs authentication
chrome_devtools - ✓ Connected
supabase_brainy - ! Needs authentication

Environment

  • Claude Code version: 2.1.83
  • OS: macOS (Darwin 24.3.0) - MacBook Air
  • Shell: zsh
  • Terminal: macOS default Terminal

Screenshot

The /mcp command shows an empty list:

!image

(Interactive /mcp dialog is blank while claude mcp list outside the session correctly lists all servers)

🤖 Generated with Claude Code

View original on GitHub ↗

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