From mcp-manager
Remove an MCP server from your Claude Code configuration. Use this to uninstall an MCP server, delete an MCP server, remove a tool server, or clean up unused MCP servers.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-manager:deleteThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Remove an MCP server from the Claude Code configuration.
Remove an MCP server from the Claude Code configuration.
~/.claude.json (NOT ~/.cursor/mcp.json)..mcp.json at the project root.Check if the MCP Manager server is running:
curl -s --max-time 2 http://localhost:4111/api/health
If the server is NOT running, start it:
cd "$CLAUDE_PLUGIN_ROOT" && nohup node server/index.js > ~/.mcp-manager.log 2>&1 &
sleep 2
If the user did not specify which server to delete, list available servers first:
curl -s http://localhost:4111/api/config
Then ask the user which server they want to remove.
Confirm with the user before deleting. This action removes the server configuration permanently.
Delete the specified server:
curl -s -X DELETE http://localhost:4111/api/servers \
-H "Content-Type: application/json" \
-d '{"name": "<SERVER_NAME>", "scope": "<SCOPE>"}'
name: the MCP server namescope: use "global" for global servers, or the full absolute workspace path (e.g., "/Users/me/my-project") for project servers. Do NOT use the string "project". Check the server's scope field from the /api/config response.Confirm the deletion was successful. Mention which file was modified:
~/.claude.json.mcp.json in the project rootRemind the user to restart their Claude Code session.
npx claudepluginhub sanjibdevnathlabs/claude-plugins --plugin mcp-managerConfigures MCP servers for Claude Code at project or user scope with best practices to prevent context pollution. Checks status, adds/removes servers via .mcp.json or ~/.claude.json.
Manages Model Context Protocol (MCP) servers for Claude Code projects: installs/configures .mcp.json, OAuth remotes, runtime enable/disable, troubleshooting connections.
Searches, installs, configures, updates, and removes MCP servers across many coding agents (Claude Code, VS Code, Cursor, etc.). Supports npx add-mcp, the official registry, and direct config editing.