SQL Server MCP
A community MCP server for DBAs managing multiple SQL Server instances. It supports grouped connections, execution plan analysis, index audits, and stored-procedure analysis via a single configuration file that hot-reloads without restarting the AI agent.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List all SQL Server connections grouped by client
- Analyze execution plans for query optimization
- Audit index layouts for performance
- Inspect stored-procedure source code
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cevelas/mcp-sqlserver 3.3.0
{
"version": "3.3.0",
"transport": "stdio",
"identifier": "@cevelas/mcp-sqlserver",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MSSQL_MCP_CONNECTIONS",
"format": "filepath",
"description": "Path to connections.json. Defaults to ~/.mcp-sqlserver/connections.json; create one with --init."
},
{
"name": "MSSQL_MCP_CONNECTIONS_JSON",
"format": "string",
"description": "The connections JSON inline, for setups that keep credentials out of the filesystem."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"sql-server-mcp-cevelas-mcp-sqlserver": {
"command": "npx",
"args": [
"-y",
"@cevelas/mcp-sqlserver@3.3.0"
],
"env": {
"MSSQL_MCP_CONNECTIONS": "<YOUR_MSSQL_MCP_CONNECTIONS>",
"MSSQL_MCP_CONNECTIONS_JSON": "<YOUR_MSSQL_MCP_CONNECTIONS_JSON>"
}
}
}
}Cline
{
"mcpServers": {
"sql-server-mcp-cevelas-mcp-sqlserver": {
"command": "npx",
"args": [
"-y",
"@cevelas/mcp-sqlserver@3.3.0"
],
"env": {
"MSSQL_MCP_CONNECTIONS": "<YOUR_MSSQL_MCP_CONNECTIONS>",
"MSSQL_MCP_CONNECTIONS_JSON": "<YOUR_MSSQL_MCP_CONNECTIONS_JSON>"
}
}
}
}VS Code
{
"servers": {
"sql-server-mcp-cevelas-mcp-sqlserver": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cevelas/mcp-sqlserver@3.3.0"
],
"env": {
"MSSQL_MCP_CONNECTIONS": "<YOUR_MSSQL_MCP_CONNECTIONS>",
"MSSQL_MCP_CONNECTIONS_JSON": "<YOUR_MSSQL_MCP_CONNECTIONS_JSON>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"sql-server-mcp-cevelas-mcp-sqlserver": {
"command": "npx",
"args": [
"-y",
"@cevelas/mcp-sqlserver@3.3.0"
],
"env": {
"MSSQL_MCP_CONNECTIONS": "<YOUR_MSSQL_MCP_CONNECTIONS>",
"MSSQL_MCP_CONNECTIONS_JSON": "<YOUR_MSSQL_MCP_CONNECTIONS_JSON>"
}
}
}
}Let your agent find its tools
Find servers like SQL Server MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.