Microsoft SQL Server

io.github.alyiox/mcp-mssql

About Microsoft SQL Server

Microsoft SQL Server is an MCP server published by the GitHub account alyiox. MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.

It runs on your own machine: your AI client starts it from the NuGet package Alyio.McpMssql at version 1.8.0.

It asks for one secret: MCPMSSQL_CONNECTION_STRING. Give it a key with the least access that still works.

Version 1.8.0 was published on 26 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 7 automated checks on registry metadata: 4 pass, 0 warn, 0 fail, 3 info. How we check.

What it asks for

VariableRequiredSecretDescription
MCPMSSQL_CONNECTION_STRINGNoYesDefault profile SQL Server connection string (often contains secrets). Optional if profiles are only in user appsettings.
MCPMSSQL_DESCRIPTIONNoNoOptional human-readable description for the default profile.
MCPMSSQL_QUERY_MAX_ROWSNoNoMax rows per interactive query (default 500; ceiling 1000).
MCPMSSQL_QUERY_COMMAND_TIMEOUT_SECONDSNoNoInteractive query command timeout in seconds (default 30).
MCPMSSQL_QUERY_SNAPSHOT_MAX_ROWSNoNoMax rows for snapshot queries (default 10000; ceiling 50000).
MCPMSSQL_QUERY_SNAPSHOT_COMMAND_TIMEOUT_SECONDSNoNoSnapshot query timeout in seconds (default 120).
MCPMSSQL_ANALYZE_COMMAND_TIMEOUT_SECONDSNoNoExecution plan analysis timeout in seconds (default 300; ceiling 600).
MCPMSSQL_ALLOW_WRITENoNoEnable 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_SECONDSNoNoWrite command timeout in seconds (default 60; ceiling 600).
DOTNET_ENVIRONMENTNoNoSet to Development to load dotnet user-secrets (local dev).

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/alyiox/mcp-mssql
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: MCPMSSQL_CONNECTION_STRING
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account alyiox
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Code red flagsInfonuget packages are not read yet

Popularity & health: 52 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity9 / 40

9 GitHub stars, no download count, no Hacker News posts found. Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-26, no GitHub release, 0 commits in 90 days.

Issue health8 / 15

1 closed of 1 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

1 forks, 3 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.alyiox/mcp-mssql
PublisherGitHub account alyiox
How the name is verifiedName verified via GitHub account alyiox. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnuget Alyio.McpMssql 1.8.0 (stdio)
Version1.8.0
Published
Last updated
Source repositoryhttps://github.com/alyiox/mcp-mssql
Websitehttps://github.com/alyiox/mcp-mssql
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data