Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / mcp-mssql

mcp-mssql

mcp-mssql is an MCP server, listed under databases. Its repository has 9 GitHub stars and is licensed under MIT; we last read it on 2026-10-25.

This tool provides read-only access to Microsoft SQL Server, offering metadata discovery, SELECT-only query enforcement, and execution plan analysis. It supports profile-based multi-connection configuration and is available as a .NET tool on NuGet.

Install

Read from mcp-mssql’s own README, close to verbatim -- not written by us, and not guessed.

export MCPMSSQL_CONNECTION_STRING="Server=127.0.0.1;User ID=sa;Password=<YourStrong@Passw0rd>;Encrypt=True;TrustServerCertificate=True;" && npx -y @modelcontextprotocol/inspector@latest dotnet dnx Alyio.McpMssql --prerelease

What it reaches, and what it needs

Reaches
○ not recognised
Credential
○ none found

Maintenance

Stars
9
State
listed
Licence
MIT
From the repository

Read-only-by-default MCP server for one or many SQL Servers: schema discovery, SELECT-only queries, execution-plan analysis, opt-in writes.

mcp-mssql compared with similar servers

mcp-mssql compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
mcp-mssql (this page)—None listed92026-10-10MIT
CodeGraphContextneo4jNEO4J_PASSWORD4,3602026-10-22MIT
dbhubmysql, postgres, sqliteNone listed3,7022026-10-21MIT
mcp-server-mysqlmysqlNone listed2,1732026-07-27MIT
mysql_mcp_servermysqlMYSQL_PASSWORD1,4022026-08-02MIT
servermysqlMYSQL_ROOT_PASSWORD8742025-08-09MIT

Ranked by services in common with mcp-mssql, then by stars. Figures are from each repository when we last read it.

Common questions about mcp-mssql

What does mcp-mssql do?
This tool provides read-only access to Microsoft SQL Server, offering metadata discovery, SELECT-only query enforcement, and execution plan analysis. It supports profile-based multi-connection configuration and is available as a .NET tool on NuGet.
How do I install mcp-mssql?
Its own README gives this command: export MCPMSSQL_CONNECTION_STRING="Server=127.0.0.1;User ID=sa;Password=<YourStrong@Passw0rd>;Encrypt=True;TrustServerCertificate=True;" && npx -y @modelcontextprotocol/inspector@latest dotnet dnx Alyio.McpMssql --prerelease. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
Is mcp-mssql official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 9 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-10.
What licence does mcp-mssql use?
The repository declares the MIT licence.

More MCP servers for databases

All databases entries →

Learn this on Infrato