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
{
"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