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