Skip to main content
Glama
sbamin

pgmcp

by sbamin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PGMCP_DSNNolibpq conninfo — `service=pgmcp_ro` or `postgresql://…`service=pgmcp_ro
PGMCP_HOSTNobind address127.0.0.1
PGMCP_PORTNobind port8765
PGMCP_ROW_CAPNomax rows returned10000
PGMCP_ALLOWED_HOSTSNoDNS-rebinding allowlist
PGMCP_ALLOWED_ORIGINSNoOrigin allowlists
PGMCP_ALLOWED_SCHEMASYescomma list of queryable schemas (required)
PGMCP_IDENTITY_HEADERNotrusted identity headerX-Auth-User
PGMCP_SCHEMA_CONTRACTNopath to a TOML schema-contract; asserted on boot
PGMCP_INSTRUCTIONS_FILENopath to model instructions; overrides the default
PGMCP_COST_GATED_SCHEMASNosubset that gets the EXPLAIN pre-gate
PGMCP_EXPLAIN_COST_LIMITNocost-gate ceiling100000000

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

Maintenance

ActivitySlowing
ResponsivenessNo issues