P

Postgres MCP Pro

by dblinick · dblinick/Postgres MCP Pro

An MCP server for PostgreSQL with index tuning, explain plans, health checks, and safe SQL execution.

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
MCP_API_KEY No Optional API key for streamable HTTP authentication
DATABASE_URI No Postgres connection URI (legacy, alternative to individual POSTGRES_* variables). Example: postgresql://user:password@host:5432/dbname
POSTGRES_HOST No Postgres host
POSTGRES_PORT No Postgres port (default 5432) Default: 5432
OPENAI_API_KEY No Optional OpenAI API key for experimental index tuning by LLM
MCP_ALLOWED_HOSTS No Comma-separated list of allowed hosts for DNS rebinding protection (streamable HTTP)
POSTGRES_DATABASE No Postgres database name
POSTGRES_PASSWORD No Postgres password
POSTGRES_SSL_MODE No Postgres SSL mode (e.g., disable, require, verify-full). Default is disable. Default: disable
POSTGRES_USERNAME No Postgres username
MCP_ALLOWED_ORIGINS No Comma-separated list of allowed origins for DNS rebinding protection (streamable HTTP)
MCP_DISABLE_DNS_REBINDING No Set to 'true' to disable DNS rebinding protection (not recommended for production) Default: false

Similar servers