Skip to main content
Glama
cleondev

postgres-mcp

by cleondev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PGPASSWORDNoPostgreSQL password, read by the pg client; can be used to keep the password out of PG_MCP_URL.
PG_MCP_URLNoPostgreSQL connection string, e.g. postgres://user[:password]@host:port/db. Required (or DATABASE_URL).
PG_MCP_MODENoEither readonly or readwrite. Write tools exist only when set to readwrite.readonly
DATABASE_URLNoAlternative to PG_MCP_URL for the PostgreSQL connection string, e.g. postgres://user[:password]@host:port/db.
PG_MCP_MAX_ROWSNoMaximum rows returned by query before truncation.500
PG_MCP_MAX_CELL_CHARSNoMaximum characters kept per cell.2000
PG_MCP_STATEMENT_TIMEOUT_MSNoPer-call statement timeout in milliseconds.30000

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