Postgres
Provides AI agents with controlled access to PostgreSQL databases for inspection, read-only queries, guarded DML, and administrative operations.
mcp-postgres is an MCP server designed to give AI agents safe and controlled access to PostgreSQL databases. It enables agents to inspect database structures, execute read-only queries with safety mechanisms like row caps and timeouts, and perform guarded DML (INSERT, UPDATE, DELETE, MERGE) or administrative operations under strict policy controls. The server utilizes PostgreSQL parser-backed SQL classification to enforce safety policies, ensuring that agents can interact with databases reliably while minimizing risks. It supports STDIO transport, making it suitable for integration with desktop, IDE, and CLI agents.