SQL Server MCP

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. It runs locally over stdio via the published package.

People who work with database, dba and execution plan and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-18 · ★ 2 · #94 OF 168 MAINTAINED DATABASE · VERIFIED 2026-09-18

MIT · JavaScript servers · how we verify → /methodology

01 · Install SQL Server MCP

before you install - you'll need

Set MSSQL_MCP_CONNECTIONS_JSON, MSSQL_TEST_CONNECTION before connecting.

Claude Code

claude mcp add cvelasquez-mcp-sqlserver -- npx -y @cevelas/mcp-sqlserver

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cvelasquez-mcp-sqlserver": {
      "command": "npx",
      "args": [
        "-y",
        "@cevelas/mcp-sqlserver"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @cevelas/mcp-sqlserver - the @cevelas scope differs from the repo owner (cvelasquez); confirm it's the project's official package

registry namespace io.github.cvelasquez is GitHub-verified and matches the repo owner

03 · What SQL Server MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v3.0.1 · 2026-09-18

Release workflow now publishes to npm through trusted publishing (OIDC). No changes to the server itself.

v3.0.0 · 2026-09-10

One-line install, and a pool per connection. · json · { "mcpServers": { "sqlserver": { "command": "npx", "args": ["-y", "@cevelas/mcp-sqlserver"] } } } · Claude Desktop, one click: download mcp-sqlserver.mcpb below and…

04 · Who maintains SQL Server MCP

SQL Server MCP is maintained by cvelasquez. It's the only MCP server we track from this author; the repo dates to Oct 2025.

05 · Facts

category
database - ranked #94 of 168 actively-maintained database servers as of 2026-09-18.
release cadence
2 releases in the last 90 days (latest 2026-09-18)
registry
io.github.cvelasquez/mcp-sqlserver (active, first published 2026-09-10 · 2 versions)
packages
npm:@cevelas/mcp-sqlserver

06 · SQL Server MCP FAQ

What is SQL Server MCP?

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. It runs locally over stdio via the published package.

Is SQL Server MCP still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-18 and it shipped 2 releases in the last 90 days. We re-verify nightly.

How do I install SQL Server MCP?

Run `npx -y @cevelas/mcp-sqlserver`. The README documents 2 environment variables (MSSQL_MCP_CONNECTIONS_JSON, MSSQL_TEST_CONNECTION) to set first. Set MSSQL_MCP_CONNECTIONS_JSON, MSSQL_TEST_CONNECTION before connecting. You can also paste the ready-made client config above.

Does SQL Server MCP run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to SQL Server MCP