Skip to content
Zed

SQL for Zed

io.github.abhishekkumar2021/sql

Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.

client:Zed transport:stdio runtime:npm

Install SQL in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "sql": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/sql"
      ],
      "env": {
        "DB_CONN_default": "<DB_CONN_default>",
        "DB_WRITABLE": "<DB_WRITABLE>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

SQL in other clients