Skip to main content
Glama
dblinick

Postgres MCP Pro

by dblinick

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_API_KEYNoOptional API key for streamable HTTP authentication
DATABASE_URINoPostgres connection URI (legacy, alternative to individual POSTGRES_* variables). Example: postgresql://user:password@host:5432/dbname
POSTGRES_HOSTNoPostgres host
POSTGRES_PORTNoPostgres port (default 5432)5432
OPENAI_API_KEYNoOptional OpenAI API key for experimental index tuning by LLM
MCP_ALLOWED_HOSTSNoComma-separated list of allowed hosts for DNS rebinding protection (streamable HTTP)
POSTGRES_DATABASENoPostgres database name
POSTGRES_PASSWORDNoPostgres password
POSTGRES_SSL_MODENoPostgres SSL mode (e.g., disable, require, verify-full). Default is disable.disable
POSTGRES_USERNAMENoPostgres username
MCP_ALLOWED_ORIGINSNoComma-separated list of allowed origins for DNS rebinding protection (streamable HTTP)
MCP_DISABLE_DNS_REBINDINGNoSet to 'true' to disable DNS rebinding protection (not recommended for production)false

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dblinick/postgres-mcp-pro-streamable'

If you have feedback or need assistance with the MCP directory API, please join our Discord server