SQL Server MCP server
MCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes
2 stars347 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 (7, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_execution_planGet execution plan for a query
get_indexesGet index information for a table
get_schemaGet database schema information for specific tables
get_stored_procedureGet stored procedure definition
list_connectionsList all available SQL Server connections grouped by connectionGroup
querywrite actionExecute a SQL query on the database
reload_connectionsReload connections from connections.json file without restarting the MCP server. Closes existing connection pools and loads new configuration.
Public scan report
scanner v0.1.5 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Grade history
- 2026-09-19downgradeA → Bscore 83
Install directly
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
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, Claude Desktop or Cursor 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 2 days ago (2026-09-18). The latest release is v3.1.0.
- What can I use instead of SQL Server MCP?
- Servers from other publishers that do the same job: Microsoft SQL Server MCP server, SQL Server MCP server and JDBC MCP Server. Compare all SQL Server MCP alternatives.
Alternatives to SQL Server MCP
Same job from other publishers: the closest match first, then the best rated.
- Microsoft SQL ServerRead-only-by-default SQL Server: schema, parameterized SELECT, execution plans; writes opt-in.not reviewedGrowingB
- SQL ServerServidor MCP para SQL Server com controle de permissões e modo somente-leituranot reviewedGrowingB
- JDBC MCP ServerRead-only PostgreSQL, Oracle and SQL Server access for AI agents: SQL, plans, schema, index statsnot reviewedNewA
- Devart MCP Server for SQL Server (ADO.NET)Schema-aware read/write access to SQL Server through Devart dotConnect ADO.NET data provider.not reviewedNewC
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA