Skip to content
Cline

SqlServerMcp for Cline

io.github.nithish1206/sqlservermcp

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

client:Cline transport:stdio runtime:nuget

Install SqlServerMcp in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.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>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

SqlServerMcp in other clients