Skip to content
Zed

Midplane for Zed

ai.midplane/midplane

Safe-by-default SQL guardrails for AI agents: AST-checked queries, per-table policy, audit log.

client:Zed transport:stdio runtime:npm

Install Midplane 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": {
    "midplane": {
      "command": "npx",
      "args": [
        "-y",
        "midplane"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "MIDPLANE_POLICY_FILE": "<MIDPLANE_POLICY_FILE>",
        "DB_PATH": "<DB_PATH>",
        "MIDPLANE_TELEMETRY": "<MIDPLANE_TELEMETRY>"
      }
    }
  }
}

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

Midplane in other clients