"MCP Server Removal Fails Despite Listing in Server List"
Resolved 💬 3 comments Opened May 6, 2025 by schuettc Closed Jan 3, 2026
Bug Description
I am unable to remove mcp servers from claude without going to ~/.claude.json and manually removing it. claude mcp remove always results in a not found error. even when it is shown in claude mcp list
Environment Info
- Platform: macos
- Terminal: iTerm.app
- Version: 0.2.102
- Feedback ID: 229daba7-7dd4-439e-a3d8-4264db941b36
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:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at checkExecSyncError (node:child_process:890:11)\n at execSync (node:child_process:962:15)\n at BX (file:///Users/courtschuett/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:617:3348)\n at file:///Users/courtschuett/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:512:16277\n at D (file:///Users/courtschuett/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:502:12863)\n at QW (file:///Users/courtschuett/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:512:15798)\n at pz6 (file:///Users/courtschuett/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2013:21043)\n at file:///Users/courtschuett/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2155:631","timestamp":"2025-05-06T18:11:19.223Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗