io.github.Nithish1206/SqlServerMcp

Official registry Data and databases

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NUGET package SqlServerMcp
Claude Code
claude mcp add sqlservermcp -e 'ConnectionStrings__MyDb=<ConnectionStrings__MyDb>' -e 'Query__DefaultTop=<Query__DefaultTop>' -e 'Query__MaxTop=<Query__MaxTop>' -- dnx SqlServerMcp@1.0.6 --yes
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "sqlservermcp": {
            "command": "dnx",
            "args": [
                "SqlServerMcp@1.0.6",
                "--yes"
            ],
            "env": {
                "ConnectionStrings__MyDb": "<ConnectionStrings__MyDb>",
                "Query__DefaultTop": "<Query__DefaultTop>",
                "Query__MaxTop": "<Query__MaxTop>"
            }
        }
    }
}

Environment variables

  • ConnectionStrings__MyDb
  • Query__DefaultTop
  • Query__MaxTop

Frequently asked questions

What is io.github.Nithish1206/SqlServerMcp?

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

How do I install io.github.Nithish1206/SqlServerMcp?

It runs on your machine. In Claude Code: claude mcp add sqlservermcp -e 'ConnectionStrings__MyDb=<ConnectionStrings__MyDb>' -e 'Query__DefaultTop=<Query__DefaultTop>' -e 'Query__MaxTop=<Query__MaxTop>' -- dnx SqlServerMcp@1.0.6 --yes. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.Nithish1206/SqlServerMcp need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.Nithish1206/SqlServerMcp open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.Nithish1206/SqlServerMcp?

It is published by Nithish1206. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.