Skip to main content
Glama
pg-mcp
by fqueis

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_MCP_WRITESNoWrite policy: off, ask, or on. When set, wins over PG_MCP_ENABLE_WRITES.ask
PG_MCP_MAX_ROWSNoMaximum rows a query returns, read from the server (then flagged truncated).500
PG_MCP_ENABLE_WRITESNoWhen set to "1", "true", or "yes", same as PG_MCP_WRITES=on.
PG_MCP_REGISTRY_PATHNoRegistry file path.~/.pg-mcp/connections.json
PG_MCP_REGISTRY_TTL_MSNoSliding TTL of a registered connection in milliseconds (7 days).604800000
PG_MCP_STATEMENT_TIMEOUT_MSNoThe server cancels a statement that runs longer than this timeout in milliseconds.15000

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