Skip to content
mcp/skillhub

SQL Server MCP Server

by cvelasquezio.github.cvelasquez/mcp-sqlserverv3.1.0

Manage many SQL Server instances from one config, grouped by client or environment, with execution plans, index audits and stored-procedure analysis.

2Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active21d ago

Install SQL Server MCP server

Install in Claude Code

claude mcp add sqlserver -e MSSQL_MCP_CONNECTIONS_JSON='<mssql-mcp-connections-json>' -- npx -y @cevelas/mcp-sqlserver

Configuration

VariableRequiredSecretDescription
MSSQL_MCP_CONNECTIONS——Path to connections.json. Defaults to ~/.mcp-sqlserver/connections.json; create one with --init.
MSSQL_MCP_CONNECTIONS_JSON—yesThe connections JSON inline, for setups that keep credentials out of the filesystem.

Freshness

Active — last maintenance signal 21d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-09-18 · 21d ago · GitHub

  2. Latest release

    2026-09-18 · 21d ago · GitHub · v3.1.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-18 · 21d ago · official registry · v3.1.0

FAQ

›How do I install the SQL Server MCP server in Claude Code?

Run: claude mcp add sqlserver -e MSSQL_MCP_CONNECTIONS_JSON='<mssql-mcp-connections-json>' -- npx -y @cevelas/mcp-sqlserver. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does SQL Server require an API key?

Yes. It expects MSSQL_MCP_CONNECTIONS_JSON, of which 1 is a secret.

›Can I use SQL Server as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is SQL Server in the official MCP registry?

Yes, as io.github.cvelasquez/mcp-sqlserver.

Alternatives to SQL Server

Other database MCP servers.

View all