R

Readonly Postgres MCP

by zahidakhyar · zahidakhyar/readonly-postgres-mcp

Lets MCP clients such as Claude ask questions of live Postgres data and build dashboards through a connection that cannot write, running single read-only statements that are always rolled back. Access is gated by Google sign-in and an email allowlist, so only the accounts you choose can query the databases you bind.

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
PG_SSL No Enable SSL connection Default: false
PG_HOST No PostgreSQL server host
PG_PORT No PostgreSQL server port Default: 5432
PG_DATABASE No Database name
PG_MAX_ROWS No Maximum rows returned by queries Default: 10000
PG_PASSWORD No Database password
PG_USERNAME No Database user with readonly access
PG_SEARCH_PATH No Schema search path Default: public
PG_MCP_ALLOW_ADHOC No Allow ad-hoc SQL queries (true/false) Default: true
PG_STATEMENT_TIMEOUT_MS No Statement timeout in milliseconds Default: 30000

Similar servers