S

Safe Postgres MCP

by samuel-cabral · samuel-cabral/safe-postgres-mcp

A zero-config, read-only PostgreSQL MCP server that enforces read-only access at the database level using READ ONLY transactions, allowing AI agents to safely explore schemas and run SELECT queries without risk of mutation.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MAX_ROWS No Hard cap on rows returned by query. Default 500, max 10000.
DATABASE_URL Yes Postgres connection string. Point it at a least-privilege read-only role.
POSTGRES_URL No Fallback used only when DATABASE_URL is unset.
QUERY_TIMEOUT_MS No Per-statement timeout in ms. Default 5000, max 120000.

Similar servers