Skip to content
MCP server
Registry

Microsoft SQL Server MCP Server

MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.

Microsoft SQL Server scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It does not declare tools yet. Filed under Databases. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by alyioxNo license
Trust score
55Fair
Trust score 55 of 100, Fair

Fair trust

55 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 55 comes from

22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "alyiox-alyio-mcpmssql": {      "command": "dnx",      "args": [        "Alyio.McpMssql"      ],      "env": {        "MCPMSSQL_CONNECTION_STRING": "YOUR_MCPMSSQL_CONNECTION_STRING",        "MCPMSSQL_DESCRIPTION": "",        "MCPMSSQL_QUERY_MAX_ROWS": "",        "MCPMSSQL_QUERY_COMMAND_TIMEOUT_SECONDS": "",        "MCPMSSQL_QUERY_SNAPSHOT_MAX_ROWS": "",        "MCPMSSQL_QUERY_SNAPSHOT_COMMAND_TIMEOUT_SECONDS": "",        "MCPMSSQL_ANALYZE_COMMAND_TIMEOUT_SECONDS": "",        "MCPMSSQL_ALLOW_WRITE": "",        "MCPMSSQL_WRITE_COMMAND_TIMEOUT_SECONDS": "",        "DOTNET_ENVIRONMENT": ""      }    }  }}

Environment variables

NameRequiredNotes
MCPMSSQL_CONNECTION_STRINGSecretOptionalDefault profile SQL Server connection string (often contains secrets). Optional if profiles are only in user appsettings.
MCPMSSQL_DESCRIPTIONOptionalOptional human-readable description for the default profile.
MCPMSSQL_QUERY_MAX_ROWSOptionalMax rows per interactive query (default 500; ceiling 1000).
MCPMSSQL_QUERY_COMMAND_TIMEOUT_SECONDSOptionalInteractive query command timeout in seconds (default 30).
MCPMSSQL_QUERY_SNAPSHOT_MAX_ROWSOptionalMax rows for snapshot queries (default 10000; ceiling 50000).
MCPMSSQL_QUERY_SNAPSHOT_COMMAND_TIMEOUT_SECONDSOptionalSnapshot query timeout in seconds (default 120).
MCPMSSQL_ANALYZE_COMMAND_TIMEOUT_SECONDSOptionalExecution plan analysis timeout in seconds (default 300; ceiling 600).
MCPMSSQL_ALLOW_WRITEOptionalEnable write commands (DDL/DML) via run_command on the default profile (default false). With no write-enabled profile the tool is not advertised at all. Soft guard only — prefer a db_datareader login for a hard read-only guarantee.
MCPMSSQL_WRITE_COMMAND_TIMEOUT_SECONDSOptionalWrite command timeout in seconds (default 60; ceiling 600).
DOTNET_ENVIRONMENTOptionalSet to Development to load dotnet user-secrets (local dev).

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.

Frequently asked questions

What is Microsoft SQL Server MCP Server?

MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.

How do I install Microsoft SQL Server MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Microsoft SQL Server MCP Server runs locally from the NuGet package Alyio.McpMssql with the command dnx Alyio.McpMssql.

Does Microsoft SQL Server MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Microsoft SQL Server MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Microsoft SQL Server MCP Server's trust score calculated?

Microsoft SQL Server MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server