Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
claude_pathNoFull path to claude executable (only used for claude-code client_type when claude command is not in PATH).
client_typeNoThe type of client application (currently supported: 'cursor', 'claude', 'windsurf', 'claude-code', 'codex'). Mutually exclusive with config_file_path.
config_file_pathNoAbsolute path or path starting with '~' to the config file. Mutually exclusive with client_type.
server_idYesThe unique MCP server identifier (config key name) of the server configuration entry to remove.

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcpfinder/server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server