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

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbamin/pgmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server