P

Postgres MCP Readonly

by mahin1995 · mahin1995/postgres-mcp-readonly

A secure, read-only PostgreSQL MCP server that provides safe database introspection and querying capabilities.

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 Default maximum rows returned Default: 500
AUDIT_LOG No Set to true to write JSON audit events to stderr Default: false
DATABASE_URL No Single PostgreSQL connection string (backward compatible). Example: postgres://user:pass@localhost:5432/dbname
DATABASE_URLS No Multiple PostgreSQL URLs as alias=url pairs or JSON. Example: default=postgres://user:pass@localhost:5432/app,analytics=postgres://user:pass@localhost:5432/analytics
MAX_STATEMENTS No Maximum semicolon-separated statements per multi-statement tool call Default: 10
DEFAULT_DATABASE No Default alias used when tool input omits database Default: default
STATEMENT_TIMEOUT_MS No Query timeout in milliseconds Default: 5000

Similar servers