Skip to content
Cursor

SQL Server for Cursor

io.github.hlgurgel/sqlserver

Servidor MCP para SQL Server com controle de permissões e modo somente-leitura

client:Cursor transport:stdio runtime:pypi

Install SQL Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sqlserver": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sqlserver-mcp-tools"
      ],
      "env": {
        "MSSQL_CONNECTION_STRING": "<MSSQL_CONNECTION_STRING>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

SQL Server in other clients