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.3.0)
npx -y @cevelas/[email protected]
Or add to your MCP client config:
{
"mcpServers": {
"mcp-sqlserver": {
"command": "npx",
"args": [
"-y",
"@cevelas/[email protected]"
],
"env": {
"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.
convex-backend
Convex database integration to introspect tables and functions and run one-off queries.
Nhost
Let your users work with their own data through an AI assistant, limited to what they can see.
baserow/baserow
Baserow database integration: search and list tables, and create, read, update and delete rows.
crystaldba/postgres-mcp
Postgres development and operations: performance analysis, tuning and health checks.
Supabase
MCP server for interacting with the Supabase platform
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry