Home › Databases & Data › SQL Server MCP
SQL Server MCP
MCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes
Topics: Databases
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 3.1.0)
npx -y @cevelas/mcp-sqlserver@3.1.0
Or add to your MCP client config:
{
"mcpServers": {
"mcp-sqlserver": {
"command": "npx",
"args": [
"-y",
"@cevelas/mcp-sqlserver@3.1.0"
],
"env": {
"MSSQL_MCP_CONNECTIONS": "<YOUR_VALUE>",
"MSSQL_MCP_CONNECTIONS_JSON": "<YOUR_VALUE>"
}
}
}
}
MSSQL_MCP_CONNECTIONS— Path to connections.json. Defaults to ~/.mcp-sqlserver/connections.json; create one with --init.MSSQL_MCP_CONNECTIONS_JSONsecret — The connections JSON inline, for setups that keep credentials out of the filesystem.
Related servers
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
baserow
Baserow database integration with table search, list, and row create, read, update, and delete capabilities.
postgres-mcp
All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks
Supabase
MCP server for interacting with the Supabase platform
mcp-server-mysql
MySQL database integration in NodeJS with configurable access controls and schema inspection
mcp-server-qdrant
A Qdrant MCP server
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry