pgmcp
by sbamin
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PGMCP_DSN | No | libpq conninfo — `service=pgmcp_ro` or `postgresql://…` | service=pgmcp_ro |
| PGMCP_HOST | No | bind address | 127.0.0.1 |
| PGMCP_PORT | No | bind port | 8765 |
| PGMCP_ROW_CAP | No | max rows returned | 10000 |
| PGMCP_ALLOWED_HOSTS | No | DNS-rebinding allowlist | |
| PGMCP_ALLOWED_ORIGINS | No | Origin allowlists | |
| PGMCP_ALLOWED_SCHEMAS | Yes | comma list of queryable schemas (required) | |
| PGMCP_IDENTITY_HEADER | No | trusted identity header | X-Auth-User |
| PGMCP_SCHEMA_CONTRACT | No | path to a TOML schema-contract; asserted on boot | |
| PGMCP_INSTRUCTIONS_FILE | No | path to model instructions; overrides the default | |
| PGMCP_COST_GATED_SCHEMAS | No | subset that gets the EXPLAIN pre-gate | |
| PGMCP_EXPLAIN_COST_LIMIT | No | cost-gate ceiling | 100000000 |
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