Skip to content
Cursor

Midplane for Cursor

ai.midplane/midplane

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

client:Cursor transport:stdio runtime:npm

Install Midplane in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "midplane": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "midplane"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "MIDPLANE_POLICY_FILE": "<MIDPLANE_POLICY_FILE>",
        "DB_PATH": "<DB_PATH>",
        "MIDPLANE_TELEMETRY": "<MIDPLANE_TELEMETRY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Midplane in other clients