Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PGIDYesGroup ID the containers run as. Must be able to write to MEDIA_ROOT and MEDIAHUB_HOME on Linux.
PUIDYesUser ID the containers run as. Must be able to write to MEDIA_ROOT and MEDIAHUB_HOME on Linux.
NOTIFIERNoOptional alert channel: `none`, `telegram` or `webhook`. Left blank, it is chosen from what is set (webhook, else telegram, else none).none
PLEX_URLNoPlex base URL used in core mode.
MCP_TOKENYesBearer token required by the MCP server at 127.0.0.1:8000/mcp. Stored in secrets.env; generated by `setup secrets` if empty.
QBIT_PASSNoqBittorrent login password, generated by `setup secrets` if empty.
QBIT_USERNoqBittorrent login username, generated by `setup secrets` if empty (default `admin`).
BAZARR_URLNoBazarr base URL used in core mode.
MEDIA_ROOTYesHost folder mounted as /media in every container. Must be writable by PUID/PGID on Linux.
OWNER_NAMENoName used in rendered bot prompts and alerts.
PLEX_CLAIMNoOptional one-time Plex claim token from https://plex.tv/claim (valid 4 minutes).
PLEX_TOKENNoPlex token, harvested by `setup secrets` after Plex is claimed or supplied in core mode.
RADARR_URLNoRadarr base URL used in core mode.
SONARR_URLNoSonarr base URL used in core mode (e.g. http://host.docker.internal:8989).
WEBHOOK_KEYNoBearer key sent with webhook alerts, used when NOTIFIER=webhook.
WEBHOOK_URLNoWebhook URL that receives alert POSTs, used when NOTIFIER=webhook.
MEDIAHUB_VPNNoSet to `gluetun` to run qBittorrent inside a gluetun VPN container (full stack only).
PROWLARR_URLNoProwlarr base URL used in core mode.
WEEKLY_PICKSNoDay/time for the weekly recommendation prompt, e.g. `FRI 18:00`.
DISK_GUARD_GBNoRequests stop when free disk space would fall below this many gigabytes.50
MEDIAHUB_HOMENoFolder holding stack.env, secrets.env, backups and other runtime files outside the repo.~/.mediahub
WATCH_ENABLEDNoEnable or disable the deterministic watch loop that retries, swaps and flags stuck downloads every 2 minutes.true
BAZARR_API_KEYNoBazarr API key, harvested by `setup secrets` in the full stack or supplied in core mode.
MEDIAHUB_STACKNoStack mode: `full` (default) runs MediaHub plus bundled Sonarr, Radarr, Prowlarr, FlareSolverr, qBittorrent, Plex and Bazarr; `core` runs MediaHub alone in front of apps you already run.full
RADARR_API_KEYNoRadarr API key, harvested by `setup secrets` in the full stack or supplied in core mode.
SONARR_API_KEYNoSonarr API key, harvested by `setup secrets` in the full stack or supplied in core mode.
WEEKLY_CLEANUPNoDay/time for the weekly cleanup-candidate alert, e.g. `SUN 10:00`.
DEFAULT_PROFILENoQuality profile used for new Sonarr/Radarr requests.HD-720p
QBITTORRENT_URLNoqBittorrent base URL used in core mode.
PROWLARR_API_KEYNoProwlarr API key, harvested by `setup secrets` in the full stack or supplied in core mode.
TELEGRAM_CHAT_IDNoTelegram chat ID that receives alerts, used when NOTIFIER=telegram.
TELEGRAM_BOT_TOKENNoToken for your own Telegram bot (from @BotFather), used when NOTIFIER=telegram.
WEBHOOK_EXTRA_JSONNoOptional JSON object merged over the webhook alert body for a relay with its own wire format.
PROWLARR_DROP_INDEXERSNoComma-separated Prowlarr indexer names to tag so they are dropped from searches.
DELETE_ANY_REQUIRE_CODENoWhen true (default), `delete_any` sends a one-time six-digit code to the alert channel; when false, explicit no-code mode allows a single call.true
PROWLARR_FLARE_INDEXERSNoComma-separated Prowlarr indexer names to tag for the FlareSolverr proxy.

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