Bug: claude mcp list command shows no output

Resolved 💬 2 comments Opened May 8, 2025 by MattMagg Closed May 9, 2025

Bug Report: claude mcp list Command Not Displaying Results

Issue Description

The claude mcp list command does not display any output (not even an error message) when run, despite MCPs being properly configured and accessible via the claude mcp get <name> command.

Environment

  • Claude CLI Version: 0.2.104
  • Operating System: macOS (15.3.2)
  • Installation Method: npm global package (@anthropic-ai/claude-code)

Steps to Reproduce

  1. Configure MCPs using claude mcp add-json or via a .mcp.json file in the project directory
  2. Verify MCPs can be accessed individually using claude mcp get <name>
  3. Run claude mcp list
  4. Observe: The command exits silently with no output

Expected Behavior

The command should list all configured MCP servers, similar to how claude mcp get <name> displays information about a specific MCP.

Actual Behavior

The command runs silently with no output, even when MCPs are properly configured and accessible via other commands.

Additional Details

  • MCPs are correctly configured and functional, as verified by claude mcp get <name>
  • Project has a properly formatted .mcp.json file
  • No error messages are displayed, even with CLAUDE_DEBUG=1 enabled
  • The issue persists after reinstalling the latest version of the CLI

Configuration Files

Project .mcp.json:

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["--yes", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "..."
      }
    },
    "sequential_thinking_tools": {
      "command": "npx",
      "args": ["-y", "mcp-sequentialthinking-tools"]
    }
  }
}

View original on GitHub ↗

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