Skip to content

Midplane vs SUNGLASSES

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

  • Midplane is best for give an agent read access to a production postgres without exposing pii.
  • SUNGLASSES is best for scan a repo for prompt injection before an agent reads it.
What it is
Midplane is an open-source MCP server for databases.
SUNGLASSES is an open-source MCP server for security.
Best for
Give an agent read access to a production Postgres without exposing PII
Scan a repo for prompt injection before an agent reads it
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, self-hosted
CLI, API
Runs
Locally
Locally
GitHub stars
5
Last commit
Nov 2026
License
MIT
Open source
Good for
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
Scan a repo for prompt injection before an agent reads it; Check an MCP server's tool descriptions; Block secrets leaving in tool calls

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.

What SUNGLASSES does

  • Pattern scanning

    1563 patterns across 117 attack categories.

  • MCP metadata checks

    Scans tool descriptions and pins descriptor hashes.

  • Enforcing hook

    Claude Code hook blocks secrets in outbound calls.

  • Python API and CI

    Scan repos and pull requests in a pipeline.

  • Audit receipts

    Records what the firewall decided.

Midplane vs SUNGLASSES: questions

Is Midplane or SUNGLASSES cheaper?

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

What is the difference between Midplane and SUNGLASSES?

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