Skip to content
VS Code

sql-steward for VS Code

io.github.pawansingh3889/sql-steward

The agent never writes SQL: queries compile from a semantic layer you control, PII refused first.

client:VS Code transport:stdio runtime:pypi

Install sql-steward in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sql-steward-db-url",
      "description": "SQL_STEWARD_DB_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sql-steward-layer",
      "description": "SQL_STEWARD_LAYER",
      "password": true
    }
  ],
  "servers": {
    "sql-steward": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sql-steward"
      ],
      "env": {
        "SQL_STEWARD_DB_URL": "${input:sql-steward-db-url}",
        "SQL_STEWARD_LAYER": "${input:sql-steward-layer}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

sql-steward in other clients