Skip to content

Airlock RLS vs Midplane

Airlock RLS is an open-source MCP server for security. Midplane is an open-source MCP server for databases.

  • Airlock RLS is best for check a freshly deployed app for a leaked master key.
  • Midplane is best for give an agent read access to a production postgres without exposing pii.
What it is
Airlock RLS is an open-source MCP server for security.
Midplane is an open-source MCP server for databases.
Best for
Check a freshly deployed app for a leaked master key
Give an agent read access to a production Postgres without exposing PII
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, API
CLI, self-hosted
Runs
Locally
Locally
GitHub stars
5
Last commit
Nov 2026
License
MIT
Open source
Good for
Check a freshly deployed app for a leaked master key; Audit RLS on a Supabase database while an agent builds it; Turn audit findings into migration SQL
Give an agent read access to a production Postgres without exposing PII; Require human sign-off on writes made by an AI agent; Keep a verifiable record of every query an agent ran

What Airlock RLS does

  • Exposed key scan

    Reads a public URL and its bundles for service_role keys without credentials.

  • Read-only RLS audit

    Checks catalog metadata only, never row data.

  • Structured findings

    Returns JSON grouped by severity for agents to act on.

  • Finding explanations

    Explains what a finding means and how to fix it.

  • Fix SQL generation

    Produces ready-to-paste SQL for a specific table and policy.

  • Monitor integration

    Runs hosted audits and fetches signed attestations with an API key.

What Midplane does

  • Policy-checked statements

    Each SQL statement is parsed and checked before it runs.

  • Table access grants

    Agents only reach the tables you allow.

  • Masking at the source

    Sensitive columns are masked before results reach the agent.

  • Write approvals

    Writes can be held until a person approves them.

  • Containment

    Restricts what an agent can do after it reads untrusted content.

  • Hash-chained audit log

    Stored on the gateway's disk and verifiable with midplane audit verify.

Airlock RLS vs Midplane: questions

Is Airlock RLS or Midplane cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Airlock RLS and Midplane?

Airlock RLS is an open-source MCP server for security. Midplane is an open-source MCP server for databases.