From sql-server
Connects Claude to Microsoft SQL Server databases to explore schemas, query data, and generate code via natural language prompts. Needs MSSQL_PASSWORD and other connection settings.
Ships in sql-server. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"sql_server": {
"command": "npx",
"args": [
"-y",
"@toolbox-sdk/[email protected]",
"--prebuilt",
"mssql",
"--stdio"
],
"env": {
"MSSQL_HOST": "${user_config.mssql_host}",
"MSSQL_PORT": "${user_config.mssql_port}",
"MSSQL_USER": "${user_config.mssql_user}",
"MSSQL_DATABASE": "${user_config.mssql_database}",
"MSSQL_PASSWORD": "${user_config.mssql_password}"
}
}
}
}Declared capabilities of this MCP server
Environment variables set when the server starts
MSSQL_HOST=${user_config.mssql_host}MSSQL_PORT=${user_config.mssql_port}MSSQL_USER=${user_config.mssql_user}MSSQL_DATABASE=${user_config.mssql_database}MSSQL_PASSWORD=${user_config.mssql_password}Command-line arguments passed to the server process
Server configuration and connection parameters
npxnpx claudepluginhub googlecloudplatform/sql-server-plugin --plugin sql-server