Bridge

•
3
•

Connects AI assistants to PostgreSQL databases with robust guardrails for secure and controlled data interaction.

Bridge is a production-grade server designed to integrate various AI assistants (like Claude Desktop, Cursor, and Windsurf) with PostgreSQL databases, prioritizing data integrity and security. It offers a crucial layer of protection beyond basic database connectors, featuring stringent query validation, a two-phase guarded write system, automatic result limiting, and comprehensive audit logging. This ensures AI interactions with your database are safe, transparent, and controlled, making it ideal for environments where data governance is paramount.

Características Principales

01Comprehensive JSONL audit logging with credential redaction and log rotation
02Query safety validation to block DDL and multi-statement payloads
03Two-phase guarded writes with impact previews and explicit confirmation for high-risk operations
04Automatic result limiting for SELECT queries to prevent context window flooding
05Schema intelligence with cached row estimates, FK relationships, indexes, and column statistics
060 GitHub stars

Casos de Uso

01Enabling AI assistants to interact safely with production PostgreSQL databases
02Implementing controlled data modification workflows for AI agents
03Providing rich, cached schema context to AI for accurate query generation