SQL Server for VS Code
io.github.hlgurgel/sqlserver
Servidor MCP para SQL Server com controle de permissões e modo somente-leitura
client:VS Code
transport:stdio
runtime:pypi
Install SQL Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mssql-connection-string",
"description": "MSSQL_CONNECTION_STRING",
"password": true
}
],
"servers": {
"sqlserver": {
"type": "stdio",
"command": "uvx",
"args": [
"sqlserver-mcp-tools"
],
"env": {
"MSSQL_CONNECTION_STRING": "${input:mssql-connection-string}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs