Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoIANA timezone for rendered timestamps (e.g. `Australia/Adelaide`). Default is the system timezone (UTC in Docker).
PIHOLE_URLNoPi-hole base URL (e.g. `http://192.168.1.2`). Mutually exclusive with `PIHOLE_1_URL`.
PIHOLE_1_URLNoBase URL of instance 1 in a multiple-instance configuration. Mutually exclusive with `PIHOLE_URL`.
PIHOLE_2_URLNoBase URL of instance 2 in a multiple-instance configuration.
PIHOLE_1_NAMENoFriendly name for instance 1 (default `instance-1`).
PIHOLE_2_NAMENoFriendly name for instance 2 (default `instance-2`).
PIHOLE_PASSWORDNoAdmin password or application password.
PIHOLE_TOOLSETSNoComma-separated toolset names to expose, e.g. `dashboard,domains`. Unset or `all` exposes everything. An unknown name fails at startup.
PIHOLE_READ_ONLYNoExpose only tools that cannot change Pi-hole. Read-only always wins when combined with PIHOLE_TOOLSETS.false
PIHOLE_1_PASSWORDNoPassword for instance 1.
PIHOLE_2_PASSWORDNoPassword for instance 2.
PIHOLE_BACKUP_DIRNoAbsolute path of an existing directory to keep teleporter backups in. When set, exports write only inside it and imports read only from it.
PIHOLE_RATE_LIMITNoRequests per minute per MCP session on the HTTP/SSE transports, under a per-address ceiling of four times that. `0` disables.120
PIHOLE_MAX_RETRIESNoRetries after a failed Pi-hole API call. `0` disables.3
PIHOLE_ALLOWED_ORIGINSNoComma-separated Origin/Host allowlist for HTTP/SSE transports. The literal `*` disables enforcement (unsafe). Not authentication.localhost,127.0.0.1,[::1]
PIHOLE_HTTP_AUTH_TOKENNoShared bearer token required on every HTTP/SSE request. Minimum 16 characters. Mutually exclusive with `PIHOLE_HTTP_AUTH_TOKEN_FILE`.
PIHOLE_REQUEST_TIMEOUTNoHTTP request timeout.30s
PIHOLE_RETRY_MAX_DELAYNoUpper bound on a single backoff wait.8s
PIHOLE_TLS_SKIP_VERIFYNoDisable TLS certificate verification for Pi-hole connections. Only for instances serving self-signed certificates.false
PIHOLE_TRUSTED_PROXIESNoComma-separated IPs or CIDR blocks whose `X-Forwarded-For` the rate limiter believes. Unset means the header is ignored.
OTEL_EXPORTER_OTLP_ENDPOINTNoOpenTelemetry collector endpoint. Setting it enables tracing; ignored in slim builds.
PIHOLE_HTTP_AUTH_TOKEN_FILENoPath to a file holding the bearer token, so it stays out of `ps`. Mutually exclusive with `PIHOLE_HTTP_AUTH_TOKEN`.

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