Skip to content
Claude Code

SQL Server MCP for Claude Code

io.github.cvelasquez/mcp-sqlserver

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

client:Claude Code transport:stdio runtime:npm

Install SQL Server MCP in Claude Code

run in your project directory

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

claude mcp add mcp-sqlserver -e MSSQL_MCP_CONNECTIONS=<MSSQL_MCP_CONNECTIONS> -e MSSQL_MCP_CONNECTIONS_JSON=<MSSQL_MCP_CONNECTIONS_JSON> -- npx -y @cevelas/mcp-sqlserver

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

SQL Server MCP in other clients