Unable to Remove MCP Server Using CLI Command

Status Fixed / completed
Maintainer reply ✓ Yes — ashwin-ant
Activity 7 comments · opened Mar 9, 2025 · closed Mar 10, 2025
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
Impossible to remove mcp server. Running claude mcp get <name> works as expected, but claude mcp remove <name> does not find it (No local mcp server found with name: <name>)

!Image

Environment Info

  • Platform: macos
  • Terminal: cursor
  • Version: 0.2.35
  • Feedback ID: d781a46a-77fb-473e-8da6-e91375cf6e75

View original on GitHub ↗

7 Comments

ashwin-ant collaborator · 1 year ago

That looks like a global server, so you'd need to add a scope:

claude mcp remove --scope global Perplexity
kennethlynne · 1 year ago

That is correct; that works. It should probably be communicated clearly for noobs like me not to get stuck 😄

mbennett-talentnet · 1 year ago

I have a local server that I can see with claude mcp list but cannot be deleted, saying no local server configured with the very name shown in the list.

jerzydziewierz · 1 year ago
I have a local server that I can see with claude mcp list but cannot be deleted, saying no local server configured with the very name shown in the list.

look at @ashwin-ant 's response. That worked for me -- select correct scope (local, user, project) then it works

edjw · 1 year ago

It's claude mcp remove --scope user {server} now rather than --scope global now

justinpearsonappfolio · 1 year ago

For me, it was:

% claude mcp remove github-server 
Removed MCP server "github-server" from local config

(to remove my broken github-server MCP)

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.