Skip to content
Claude Desktop

SQL Server MCP for Claude Desktop

io.github.cvelasquez/mcp-sqlserver

MCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes

client:Claude Desktop transport:stdio runtime:npm

Install SQL Server MCP in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-sqlserver": {
      "command": "npx",
      "args": [
        "-y",
        "@cevelas/mcp-sqlserver"
      ],
      "env": {
        "MSSQL_MCP_CONNECTIONS": "<MSSQL_MCP_CONNECTIONS>",
        "MSSQL_MCP_CONNECTIONS_JSON": "<MSSQL_MCP_CONNECTIONS_JSON>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

SQL Server MCP in other clients