SQL Server MCP server
io.github.cvelasquez/mcp-sqlserver·v3.3.0·2 starsMCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes
not scanned yet
2 stars79 downloads/wk
Reviews
Write oneNobody has reviewed SQL Server MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SQL Server MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
How SQL Server MCP compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 60% of 802 Databases servers
- GitHub stars
- 2
- more than 60% of 602 Databases servers
- Downloads a week
- 79
- more than 51% of 328 Databases servers with a package
Release history: 4 versions in the registry since 2026-09-10, latest 2026-10-12, typically one every 7 days.
Install SQL Server MCP in Claude Code, Cursor or VS Code
Runs npx -y @cevelas/mcp-sqlserver on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-sqlserver -- npx -y @cevelas/mcp-sqlserver
What the publisher says
From the SQL Server MCP repository's README, as published. We do not edit it. Read it on GitHub
SQL Server MCP for people who manage dozens of instances
One MCP entry, every SQL Server you administer. Connections live in a single connections.json, grouped by client or environment, hot-reloaded without restarting your AI agent — plus execution plans, index audits and stored-procedure analysis.
Built for DBAs and consultants, not for a demo against a single localhost database.
Install
Add this to your AI agent's MCP configuration:
{
"mcpServers": {
"sqlserver": {
"command": "npx",
"args": ["-y", "@cevelas/mcp-sqlserver"]
}
}
}Then create your connections file and restart the agent:
npx -y @cevelas/mcp-sqlserver --initThat writes ~/.mcp-sqlserver/connections.json from a commented template. Edit it, and ask your agent to "list all SQL Server connections".
Where each agent keeps its MCP config
Any MCP-compatible agent works — ChatGPT, Gemini, Copilot, Cline, Zed and others all take the same command / args pair.
Why this one
Most SQL Server MCP servers take a single connection string. That is fine for one database. It falls apart when you administer thirty across eight clients, because every instance needs its own entry in the agent config, its own credentials, and its own restart when something changes.
Connections
{
"connections": [
{
"name": "acme-prod",
"connectionGroup": "Acme Corp",
"description": "Production - head office",
"server": "192.168.1.10\\SQLEXPRESS",
"database": "AcmeDB_Prod",
"user": "app_reader",
"password": "${env:ACME_PROD_PASSWORD}",
"port": 1433,
"encrypt": true,
"trustServerCertificate": false,
"readOnly": true
}
]
}Anything else you put here is passed straight to mssql, so requestTimeout, connectionTimeout, pool, authentication and a nested options object all work.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19downgradeA → Bscore 83
SQL Server MCP: common questions
- Is SQL Server MCP server safe?
- Mostly: it is graded B (83/100). Read the SQL Server MCP safety report
- How do I install SQL Server MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SQL Server MCP need an API key?
- Yes. The registry entry asks for
MSSQL_MCP_CONNECTIONS_JSON. - Is SQL Server MCP maintained?
- The last commit was 47 days ago (2026-09-18). The latest release is v3.3.0.
- What can I use instead of SQL Server MCP?
- Servers from other publishers that do the same job: SqlServer Rules MCP server, DBHub MCP server and Motherduck MCP server.
- How does SQL Server MCP compare with other Databases MCP servers?
- safety score 83/100 (higher than 60% of 802 Databases servers); github stars 2 (more than 60% of 602 Databases servers); downloads a week 79 (more than 51% of 328 Databases servers with a package). Full comparison.
Alternatives to SQL Server MCP
Same job from other publishers: the closest match first, then the best rated.
- SqlServer RulesAnalyze T-SQL scripts for design, naming, and performance issues and prevent bad practices.not reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- MotherduckSQL analytics and data engineering for AI Assistants and IDEsnot reviewedEstablishedA
- KeboolaConnect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...not reviewedEstablishedA
- GeoLensRead-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL.not reviewedEstablishedB