P

Postgres MCP

by leduardoaraujo · leduardoaraujo/postgres-mcp

Enables read-only SQL queries and schema inspection for PostgreSQL databases with up to 3 named connections.

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
POSTGRES_DSN No PostgreSQL DSN for single-database mode
POOL_MAX_SIZE No Maximum pool size (optional)
POOL_MIN_SIZE No Minimum pool size (optional)
POSTGRES_DB_1_DSN No DSN for the first database
POSTGRES_DB_2_DSN No DSN for the second database
POSTGRES_DB_3_DSN No DSN for the third database
POSTGRES_DB_1_NAME No Name for the first database (default alias)
POSTGRES_DB_2_NAME No Name for the second database (optional)
POSTGRES_DB_3_NAME No Name for the third database (optional)
POOL_COMMAND_TIMEOUT No Command timeout in seconds (optional)
POOL_CONNECT_TIMEOUT No Connection timeout in seconds (optional)
QUERY_LOCK_TIMEOUT_MS No Lock timeout in milliseconds (optional)
QUERY_STATEMENT_TIMEOUT_MS No Statement timeout in milliseconds (optional)
QUERY_IDLE_IN_TRANSACTION_TIMEOUT_MS No Idle-in-transaction timeout in milliseconds (optional)

Similar servers