Skip to main content

SQL Server MCP

io.github.cvelasquez/mcp-sqlserver

v3.3.0Updated Oct 12, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-sqlserver -- npx -y @cevelas/[email protected]

Configuration

2 settings.

  • MSSQL_MCP_CONNECTIONS_JSON
    Env var· optional· secret
    The connections JSON inline, for setups that keep credentials out of the filesystem.
  • MSSQL_MCP_CONNECTIONS
    Env var· optional
    Path to connections.json. Defaults to ~/.mcp-sqlserver/connections.json; create one with --init.

Listed in the official MCP Registry since Oct 12, 2026. Mirrored daily; last checked Nov 26, 2026.