postgres_mcp
by fvanevski
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATABASE_URL | Yes | Required PostgreSQL connection URL. | |
| MCP_PG_ENV_FILE | No | Absolute path to an env file outside the launch directory. | |
| MCP_PG_LOG_LEVEL | No | Logging verbosity; set to DEBUG for detailed query logs. | INFO |
| MCP_PG_TRANSPORT | No | Transport to use (stdio or streamable-http). | stdio |
| MCP_PG_POOL_MAX_SIZE | No | Connection pool maximum size. | 5 |
| MCP_PG_POOL_MIN_SIZE | No | Connection pool minimum size. | 1 |
| MCP_PG_APPLICATION_NAME | No | PostgreSQL application_name sent for connection tracking. | mcp-postgres-server |
| MCP_PG_ALLOW_WRITE_COMMANDS | No | Whether write commands are allowed (disabled by default). | false |
| MCP_PG_CONFIRM_WRITE_COMMANDS | No | Whether a mandatory human approval prompt is required for write commands. | true |
| MCP_PG_POOL_OPEN_TIMEOUT_SECONDS | No | Pool open timeout in seconds. | 20 |
| MCP_PG_POOL_ACQUIRE_TIMEOUT_SECONDS | No | Pool acquire timeout in seconds. | 10 |
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
ActivitySlowing
ResponsivenessNo issues