mcp-postgres
by 4l3x31s
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PGMCP_HOST | Yes | PostgreSQL host | |
| PGMCP_PORT | No | PostgreSQL port | 5432 |
| PGMCP_USER | Yes | PostgreSQL user (role) | |
| PGMCP_SCHEMA | No | PostgreSQL schema | public |
| PGMCP_DATABASE | Yes | PostgreSQL database name | |
| PGMCP_MAX_ROWS | No | Maximum number of rows returned | 500 |
| PGMCP_PASSWORD | Yes | PostgreSQL password | |
| PGMCP_ALLOW_DDL | No | Allow CREATE/ALER/COMMENT/index/V ACUUM statements | false |
| PGMCP_ALLOW_ADMIN | No | Allow GRAN/REVOKE/role management | false |
| PGMCP_ALLOW_WRITE | No | Allow INSERT/UPDATE/DELETE/MERGE statements | false |
| PGMCP_ALLOWED_HOSTS | No | Allowed Host header values for HTTP mode (DNS-rebinding protection) | |
| PGMCP_MAX_FIELD_CHARS | No | Maximum characters per field value | |
| PGMCP_ALLOW_DESTRUCTIVE | No | Allow DROP, TRUNCATE, and DELTE/UPDAE without WHERE | false |
| PGMCP_STATEMENT_TIMEOUT_MS | No | 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
| 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 issues