Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

SqlServerMcp

by Nithish1206version 1.0.6i★ –iRuns on your computer
Registry nameio.github.Nithish1206/SqlServerMcp

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Databases & datasets

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: ConnectionStrings__MyDb, Query__DefaultTop, Query__MaxTop

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "sqlservermcp": {
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "your-value",
        "Query__DefaultTop": "your-value",
        "Query__MaxTop": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add sqlservermcp --env ConnectionStrings__MyDb=your-value --env Query__DefaultTop=your-value --env Query__MaxTop=your-value -- dnx SqlServerMcp --yes

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "sqlservermcp": {
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "your-value",
        "Query__DefaultTop": "your-value",
        "Query__MaxTop": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "sqlservermcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "your-value",
        "Query__DefaultTop": "your-value",
        "Query__MaxTop": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • ConnectionStrings__MyDb env
  • Query__DefaultTop env
  • Query__MaxTop env

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Nithish1206, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 953 servers in this category
  • Published to the registry more recently than 17% of the other 953 servers in this category
  • Basic checks equal to or better than 100% of the other 953 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is SqlServerMcp safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.0.6) reached the registry 4 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need .NET on your computer.

What can I use instead?

In the same category: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Supabase

by supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

Computer or cloud★ 2,993Apache-2.0Updated yesterday
Install

MongoDB MCP Server

by mongodb-js

MongoDB Model Context Protocol Server

Runs on your computer★ 1,157Apache-2.0Updated 2 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

SqlServerMcp

A Model Context Protocol (MCP) server for SQL Server. Exposes schema inspection, safe read-only queries, and query plan analysis as MCP tools.

How it works: This server does not accept natural-language questions. Instead, the connected AI tool (the MCP client) decides and generates the SQL query based on the user's intent and the schema it inspects via the tools below. The server only executes the SQL the AI produces, under the safety rules described in Safety.

Install

dotnet tool install -g SqlServerMcp

Configure

Configuration is done entirely through environment variables in your MCP client config. No need to edit any files — just add your connection strings and query settings directly in the env block.

Add the following to your MCP client configuration (e.g. Claude Desktop claude_desktop_config.json):

{

"mcpServers": { "sqlserver": { "command": "sqlservermcp", "env": { "ConnectionStrings__MyDb": "Server=localhost;Database=MyDatabase;Trusted_Connection=True;TrustServerCertificate=True;", "QueryDefaultTop": "1000", "QueryMaxTop": "500000" } } } }

Environment Variable Format
VariableDescription
ConnectionStrings__ SQL Server connection string. Add multiple with different names.
Query__DefaultTopDefault row limit for queries (default: 1000)
Query__MaxTopMaximum allowed row limit (default: 500000)

Note: Use double underscores (__) as the separator — this is the .NET configuration convention for environment variables.

Multiple Databases

You can configure multiple databases by adding multiple connection string variables:

{

"env": { "ConnectionStringsProduction": "Server=prod-server;Database=ProdDb;...", "ConnectionStringsStaging": "Server=staging-server;Database=StagingDb;..." } }

Then use the ListDatabases tool to see available names, and pass the database name to any query tool.

Available Tools

ToolDescription
ListDatabasesList available database names configured in this server
ListTablesList all user tables in a database
DescribeTableDescribe columns of a specific table (schema.table format)
GetDatabaseSchemaReturn full database schema: tables, columns, PKs, FKs
SearchSchemaSearch tables and columns by keyword
RunQueryExecute a safe read-only SELECT query with auto row-limiting
ExplainQueryExplain a SELECT query using estimated execution plan

Example

Prompt:

*"Using the MyDb database, show me the top 5 customers by total order amount in 2025."*

The AI generates and executes the query by calling SearchSchema / DescribeTable to discover the tables, then passing this SQL to RunQuery:

SELECT TOP 5 c.CustomerId, c.Name, SUM(o.TotalAmount) AS TotalSpent

FROM dbo.Customers c JOIN dbo.Orders o ON o.CustomerId = c.CustomerId WHERE YEAR(o.OrderDate) = 2025 GROUP BY c.CustomerId, c.Name ORDER BY TotalSpent DESC;

Expected output:

CustomerIdNameTotalSpent
1042Acme Corp184500.00
778Globex Ltd162300.50
2310Initech149875.25
915Soylent Inc138420.00
604Umbrella Co121990.75

Disclaimer: The accuracy of the generated SQL and the final output depends on the AI model you select in your MCP client. More capable models produce more reliable queries; weaker models may misinterpret the schema or the intent of the prompt.

Safety

  • Only SELECT queries are allowed — all write operations are blocked
  • Queries are automatically row-limited to prevent runaway results
  • Connection strings are configured server-side, never exposed to the AI client

License

MIT

Ask PopNx