/mssql-mcp-server:remove-server server-namefrom mssql-mcp-server
Remove an MSSQL Server connection from your config
Ships in mssql-mcp-server. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Help the user remove a server entry from their mssql-mcp-server config.
Resolve config path — $MSSQL_MCP_CONFIG or ~/.config/mssql-mcp-server/config.yaml. If the file doesn't exist, tell the user there's nothing to remove.
Read and parse the YAML.
Pick which server to remove:
servers:, use that.Confirm with AskUserQuestion before deleting — irreversible from this command's perspective.
Rewrite the YAML without that server. If the removed server was default_server, clear that key (or set it to another server if one remains and the user agrees).
Confirm the server entry is gone. The MCP server hot-reloads the config on save, so the change takes effect immediately — no restart needed.
7-day visitors to each command page
4 commands in this plugin
npx claudepluginhub bherbruck/mssql-mcp-server --plugin mssql-mcp-server