Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLNoPostgreSQL connection URL for the database to diagnose (e.g. postgres://pgdoctor:...@localhost:5432/app). Used when running over stdio or remote HTTP mode.
PG_DOCTOR_DATABASE_URLNoPostgreSQL connection URL for the database to diagnose, exported before installing the Claude Code plugin (e.g. postgres://pgdoctor:...@localhost:5432/app).
OTEL_EXPORTER_OTLP_ENDPOINTNoWhen set, pg-doctor exports an OpenTelemetry span per MCP request and a child span per SQL statement to this OTLP endpoint.
PGDOCTOR_INTROSPECTION_CLIENT_IDNoClient ID for OAuth 2.0 token introspection (RFC 7662) against the configured introspection server, used instead of a tokens file.
PGDOCTOR_INTROSPECTION_CLIENT_SECRETNoClient secret for OAuth 2.0 token introspection (RFC 7662) against the configured introspection server, used instead of a tokens file.

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