Skip to content
Windsurf

Midplane for Windsurf

ai.midplane/midplane

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

client:Windsurf transport:stdio runtime:npm

Install Midplane in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Midplane in other clients