Skip to content
Zed

Postgres DBA MCP for Zed

io.github.a-lafon/postgres-dba-mcp

Bounded, read-only PostgreSQL access for AI assistants: nine DBA tools, compact CSV output

client:Zed transport:stdio runtime:oci

Install Postgres DBA MCP 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": {
    "postgres-dba-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/a-lafon/postgres-dba-mcp:0.3.3"
      ],
      "env": {
        "DATABASE_URI": "<DATABASE_URI>"
      }
    }
  }
}

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

Postgres DBA MCP in other clients