Skip to main content

pgbrake

io.github.lexang/pgbrake

v0.3.0Updated Nov 6, 2026stdio · PyPI

Postgres brake for AI agents: risky SQL waits for approval, UPDATE/DELETE get one-command undo.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add pgbrake -e 'PGBRAKE_DSN=<your-pgbrake-dsn>' -- uvx pgbrake==0.3.0 serve

Configuration

1 setting, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • PGBRAKE_DSN
    Env var· required· secret
    Postgres connection string, e.g. postgresql://me@localhost/app

Listed in the official MCP Registry since Nov 6, 2026. Mirrored daily; last checked Nov 26, 2026.