S

Safe Postgres MCP

by lucasoresi · lucasoresi/safe-postgres-mcp

An MCP server for safe read-only PostgreSQL exploration and querying, enforced by three independent layers: startup privilege audit, lexical guard, and read-only transactions. Offers tools for querying, table listing, schema description, relationship mapping, and query explanation.

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 Row cap per query Default: 200
PG_SCHEMA No Tenant schema. Required only when the role can reach more than one Default: auto-detected
DATABASE_URL Yes Connection string
ALLOW_WRITABLE_ROLE No Downgrade the write-grant checks to warnings Default: false
STATEMENT_TIMEOUT_MS No Per-query timeout Default: 10000

Similar servers