What is the Midplane MCP server?
Safe-by-default SQL guardrails for AI agents: AST-checked queries, per-table policy, audit log.
How to install Midplane
Copy-paste configuration for popular MCP clients.
DATABASE_URLrequiredsecretPostgres connection string the agent's queries run against. Give it a least-privilege role: Midplane constrains what SQL is allowed, it does not widen or narrow what the role itself can reach.
MIDPLANE_POLICY_FILEPath to a policy YAML granting per-table read/read_write access, tenant scoping, and column masking. Omit for the safe default: reads allowed, writes and DDL denied. Generate one with `npx midplane init`.
DB_PATHWhere the local SQLite audit log is written. Defaults to ~/.midplane/audit.db; read it back with `midplane audit denies`.
MIDPLANE_TELEMETRYSet to 0 to disable anonymous usage telemetry (DO_NOT_TRACK=1 also works). Never includes SQL, table or column names, or identifiers.
PORTPort the Streamable HTTP transport binds. Must match the url above if changed.
Related MCP servers

ai.mindola/lens
Create your digital twin: a public page that answers from your own material, with citations.
AI-powered web automation. Navigate websites using AI agents for one page or a thousand

Governed MCP server for DMTF Redfish BMCs. Read-only by default; writes are opt-in and dry-run.
Mitosis agent-memory platform: pricing, docs search, platform status, agent skills. No auth.
View repository →
ModelRunner
Run 100+ AI models — image, video, audio, 3D — through one API with pay-per-use billing.
Book a Modulos demo. AI Governance Platform for EU AI Act, ISO 42001, NIST AI RMF.
