Skip to main content
Glama
PostgreSQL Read-Only MCP Server

PostgreSQL Read-Only MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLNoPostgreSQL connection URL fallback.
POSTGRES_SSLNoEnable TLS. Defaults to true.true
POSTGRES_URLNoPostgreSQL connection URL alias.
POSTGRES_HOSTNoPostgreSQL host. Defaults to localhost.localhost
POSTGRES_PORTNoPostgreSQL port. Defaults to 5432.5432
POSTGRES_USERNoPostgreSQL user. Defaults to postgres.postgres
POSTGRES_DATABASENoPostgreSQL database name. Defaults to postgres.postgres
POSTGRES_PASSWORDNoPostgreSQL password. Defaults to empty.
POSTGRES_QUERY_TIMEOUT_MSNoQuery timeout in milliseconds, minimum 1000. Defaults to 30000.30000
POSTGRES_SSL_REJECT_UNAUTHORIZEDNoReject unauthorized TLS certificates. Defaults to true.true

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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