← All MCP Servers

pgbrake

Put a human approval step between an MCP client and potentially destructive PostgreSQL operations.

Overview

pgbrake runs locally between a coding assistant and PostgreSQL. It classifies database operations inside the server and can require approval and create a backup before a destructive operation. The project also documents checks on the backup so an operator can decide how much recovery verification to require.

Getting started

Follow the repository's uvx setup and use a scoped database connection. Review the project's approval and backup settings.

Compatibility and requirements

The repository gives examples for Claude Code, Codex and Cursor.

Things to know

The server's controls apply to operations routed through pgbrake. Other database connections operate independently.

Sources and documentation

Browse the agent skills directory