SQL Server MCP Server

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…

Local serverstdioMIT

What is the SQL Server MCP Server?

mcp-sqlserver is an MCP project maintained in the cvelasquez/mcp-sqlserver repository. The maintainer describes its purpose as “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…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @cevelas/mcp-sqlserver. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_connections—
reload_connections—
queryconnection, sql, maxRows?, format?
get_schemaconnection, table?
get_indexesconnection, table
get_execution_planconnection, sql
get_stored_procedureconnection, name

How to install the SQL Server MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.