Skip to main content
Glama
MartyStev

pg_mcp_qauth

by MartyStev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PG_HOSTYesPostgreSQL host.
PG_PORTYesPostgreSQL port.
PG_USERYesPostgreSQL user (must have SET ROLE privileges).
JWKS_URIYesThe JWKS endpoint URL for verifying token signatures.
MAX_ROWSNoMaximum number of rows returned (auto-LIMIT).
ALGORITHMSYesThe asymmetric signing algorithm(s) allowed (e.g., RS256, ES256, PS256, EdDSA).
AUTH_ISSUERYesThe issuer URL of the Authorization Server.
PG_DATABASEYesPostgreSQL database name.
PG_PASSWORDYesPostgreSQL password.
ROLES_CLAIMYesThe flat JWT claim containing group/role names.
DEFAULT_ROLEYesThe default PostgreSQL role to set when no group matches.
MCP_BASE_URLNoExternally reachable URL for RFC 9728 resource metadata (set when behind a reverse proxy).
ROLE_MAP_JSONYesJSON mapping group names to PostgreSQL roles.
RLS_USER_CLAIMYesThe JWT claim used for row-level security (e.g., email).
REQUIRED_AUDIENCEYesThe required audience for access tokens (mandatory).
ALLOW_SYSTEM_SCHEMASNoWhether to allow access to system schemas (e.g., 'true'/'false').false
STATEMENT_TIMEOUT_MSNoStatement timeout in milliseconds.

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