Ask your production database anything. Break nothing.
Your whole team can ask production questions, not just the engineers who know SQL.
Midplane sits between your AI assistant and Postgres. Every statement is checked before it runs: dangerous queries are blocked, sensitive fields are hidden, and your data never leaves your network.
Works with Claude, ChatGPT, Cursor, VS Code and any MCP client
DELETE FROM users;
A delete with no WHERE clause would empty the table. It never reaches Postgres.
Stopped at the gate.
- Updates and deletes without a WHERE clauseOne missing filter would change every row. It never reaches Postgres.blocked
- Dropped tables and schema changesYour AI can’t restructure your database by accident.blocked
- Writes hidden inside read-looking queriesMidplane reads the whole statement, so a delete tucked inside a SELECT is caught.blocked
- Prompt injection planted in your dataAfter your AI reads text an outsider wrote, secret tables close and its changes wait for a person.contained
- Sensitive fields, even when the AI filters or sorts by themIt can’t work out an email or an SSN one question at a time.masked
Rows and passwords never leave your network.
Query metadata. Decisions. The text of changes waiting for approval.
Your rows. Your database passwords.
Passes encrypted traffic it cannot read. Outbound connection only.
One statement. One agent. Once.
Let AI make changes without letting it run loose. Risky writes are held, you see how many rows they touch, and your approval covers that exact statement and nothing after it.
UPDATE orders SET status = 'refunded' WHERE id = 4821;
Three steps to the first query.
- Run the gateway next to your databaseOne command, or a template for AWS, Fly.io, Render or Kubernetes.
- Add its URL to your assistantPaste it into Claude, ChatGPT or Cursor and sign in. No database password changes hands.
- Set the rulesTables are closed by default. Open the ones you want, pick the fields to hide, and choose which changes need a person.
If it can’t be parsed, it doesn’t run.
Postgres’s own parser
Midplane reads SQL the way your database does, and denies any statement it can’t fully parse.
Masking inside the query
Emails are hashed, phone numbers partly hidden, dates generalized, before the result exists.
Untrusted input, contained
Once an agent reads outside text, it loses access to secret tables and its changes need a person.
Logged before it runs
Every query is recorded with the reason for its decision. Values are replaced by default.

Start alone. Bring the team.
Local
Free and open source- A single gateway
- A local policy file
- A local query log
- Risky changes are refused
Midplane Cloud
For teams- Team approvals and SSO
- Shared rules and an audit view
- A URL Claude and ChatGPT can reach
- Gateway and data stay in your network
Need the dashboards inside your own walls too? Self-hosted dashboards are available for enterprise deals on request.