Skip to content
Claude Desktop

SqlServerMcp for Claude Desktop

io.github.nithish1206/sqlservermcp

MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis

client:Claude Desktop transport:stdio runtime:nuget

Install SqlServerMcp 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": {
    "sqlservermcp": {
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "<ConnectionStrings__MyDb>",
        "Query__DefaultTop": "<Query__DefaultTop>",
        "Query__MaxTop": "<Query__MaxTop>"
      }
    }
  }
}

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

SqlServerMcp in other clients