[BUG] `claude mcp remove <name>` does not remove mcp server

Resolved 💬 3 comments Opened Jun 21, 2025 by dayowe Closed Jun 21, 2025

Environment

  • Platform:
  • [x] Anthropic API
  • Claude CLI version: 1.0.31 (Claude Code)
  • Operating System: wsl2 (ubuntu)

Bug Description

claude mcp remove X does not remove MCP server

Steps to Reproduce

  1. add mcp server
  2. remove mcp server
  3. run claude code and do /mcp -> mcp server still shown
  4. check ~/.claude.json -> mcp server still shown in project
  5. claude mcp list -> doesn't show mcp server

I had to manually remove the mcp server from claude.json

View original on GitHub ↗

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