remove_mcp_server_config
Eliminates MCP server configurations from client applications like Cursor, Claude, or Windsurf by specifying client type or config file path, ensuring clean setup updates.
Instructions
Removes the configuration for a specific MCP server/tool from the client application (e.g., Cursor, Claude Desktop, Windsurf, Claude Code, Codex). Provide EITHER client_type (see available options) OR config_file_path to specify the target config file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
claude_path | No | Full path to claude executable (only used for claude-code client_type when claude command is not in PATH). | |
client_type | No | The type of client application (currently supported: 'cursor', 'claude', 'windsurf', 'claude-code', 'codex'). Mutually exclusive with config_file_path. | |
config_file_path | No | Absolute path or path starting with '~' to the config file. Mutually exclusive with client_type. | |
server_id | Yes | The unique MCP server identifier (config key name) of the server configuration entry to remove. |