pg-mcp
by fqueis
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PG_MCP_WRITES | No | Write policy: off, ask, or on. When set, wins over PG_MCP_ENABLE_WRITES. | ask |
| PG_MCP_MAX_ROWS | No | Maximum rows a query returns, read from the server (then flagged truncated). | 500 |
| PG_MCP_ENABLE_WRITES | No | When set to "1", "true", or "yes", same as PG_MCP_WRITES=on. | |
| PG_MCP_REGISTRY_PATH | No | Registry file path. | ~/.pg-mcp/connections.json |
| PG_MCP_REGISTRY_TTL_MS | No | Sliding TTL of a registered connection in milliseconds (7 days). | 604800000 |
| PG_MCP_STATEMENT_TIMEOUT_MS | No | The 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues