Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PUBLIC_MODENoSet to true to enable login, credits, Turnstile, and rate limits. Defaults to false for zero-config self-hosting.false
DATABASE_URLYesPostgreSQL 16 connection string (migrations run on container start).
DATA_TMP_DIRNoPer-job scratch storage directory./data/tmp
LOGTO_APP_IDNoOptional Logto application ID for FireTable ID sign-in.
AuthorizationNoBearer token for the MCP endpoint, e.g. 'Bearer cp_live_...'. Optional when PUBLIC_MODE=false; required when PUBLIC_MODE=true.
DELIVERY_MODENoDelivery mode. Use r2 to upload finished files to Cloudflare R2 via R2_* variables. Defaults to local.local
LOGTO_ENDPOINTNoOptional Logto OIDC endpoint for FireTable ID sign-in.
RESEND_API_KEYNoResend API key for email verification for email/password sign-up.
BETTER_AUTH_URLNoPublic origin, e.g. https://dl.example.com. Required for public deployments.
GITHUB_CLIENT_IDNoGitHub OAuth client ID for sign-in when PUBLIC_MODE=true.
GOOGLE_CLIENT_IDNoGoogle OAuth client ID for sign-in when PUBLIC_MODE=true.
LOGTO_APP_SECRETNoOptional Logto application secret for FireTable ID sign-in.
SSRF_BLOCKED_IPSNoExtra SSRF blocklist for server IPs. Recommended for public deployments.
RESEND_FROM_EMAILNoFrom email address for Resend email verification.
BETTER_AUTH_SECRETYesSession signing secret (e.g. generated with openssl rand -base64 32).
SSRF_BLOCKED_HOSTSNoExtra SSRF blocklist for your own domains. Recommended for public deployments.
TURNSTILE_SITE_KEYNoCloudflare Turnstile site key for bot protection.
EXTRACTOR_PROXY_URLNoOutbound proxy URL for extractors.
INITIAL_ADMIN_EMAILNoAccount created with this email becomes an admin.
DOWNLOAD_HMAC_SECRETNoHMAC key for signed download links; falls back to BETTER_AUTH_SECRET if omitted.
GITHUB_CLIENT_SECRETNoGitHub OAuth client secret for sign-in when PUBLIC_MODE=true.
GOOGLE_CLIENT_SECRETNoGoogle OAuth client secret for sign-in when PUBLIC_MODE=true.
TURNSTILE_SECRET_KEYNoCloudflare Turnstile secret key for bot protection.
BGUTIL_POT_PROVIDER_URLNoOptional URL for the YouTube PO-token provider sidecar, e.g. http://bgutil-pot:4416.

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