CLI MCP Tool List Not Displayed Outside REPL

Resolved 💬 3 comments Opened May 6, 2025 by paskal Closed May 7, 2025

Bug Description
List of mcp tools is not shown in CLI, only as slash command inside REPL.

$ claude mcp list --help
Usage: claude mcp list [options]

List configured MCP servers

Options:
  -h, --help  display help for command
$ claude mcp list
$

$ claude
<...>

 ✔ Found 3 MCP servers • /mcp
 ✔ Loaded project + user memory • /memory

 ※ Tip: Ask Claude to create a todo list when working on complex tasks to track progress and
 remain on track

> /mcp
  ⎿  MCP Server Status

     • brave-search: connected
     • github: connected
     • puppeteer: connected

Environment Info

  • Platform: macos
  • Terminal: ghostty
  • Version: 0.2.102
  • Feedback ID: 65454b8b-828c-42cc-bcdc-d7151ba04390

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at BX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:617:3348)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:512:16277\n    at D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:502:12863)\n    at QW (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:512:15798)\n    at pz6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2013:21043)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2155:631","timestamp":"2025-05-06T22:13:45.660Z"}]

View original on GitHub ↗

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