Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATA_DIRNoData directory for local development, e.g. ./.local/data.
GH_TOKENNoGitHub token for GitHub integration.
CODEX_API_KEYNoCodex API key for Codex integration, if used instead of OPENAI_API_KEY.
PUBLIC_DOMAINNoPublic HTTPS URL of the gateway, e.g. https://mcp.yourdomain.com. Required for the Cloudflare Tunnel deployment setup.
OPENAI_API_KEYNoOpenAI API key for Codex integration.
WORKSPACES_DIRNoWorkspaces directory for local development, e.g. ./.local/workspaces.
NOTIFY_WEBHOOK_URLNoWebhook URL for SecretScrubber-sanitized notifications when background jobs finish/fail/cancel or staged plans execute/roll back.
ADMIN_PASSWORD_HASHYesPassword hash for /admin login. Supports scrypt:<saltHex>:<keyHex> (recommended), sha256:<hex>, and legacy scrypt$/sha256$ formats.
CLOUDFLARE_API_TOKENNoCloudflare API token for mutating operations.
DOWNSTREAM_MCPS_FILENoPath to the downstream MCP federation config file, e.g. /etc/gemini-bastion/ops-mcp-config.json.
OAUTH_SIGNING_SECRETYes32-byte hex OAuth signing secret. Generate with Node crypto randomBytes(32).toString('hex').
CLOUDFLARE_ACCOUNT_IDNoCloudflare account ID for Cloudflare integration.
OAUTH_STATIC_CLIENT_IDNoOptional static OAuth client ID for clients requiring pre-configured credentials.
TRUST_CF_CONNECTING_IPNoSet to true when fronted by Cloudflare Tunnel, or false when using a loopback reverse proxy without Cloudflare.
CLOUDFLARE_TUNNEL_TOKENNoCloudflare Zero Trust tunnel token for the cloudflared sidecar.
OAUTH_STATIC_CLIENT_SECRETNoOptional static OAuth client secret for clients requiring pre-configured credentials.
OAUTH_ALLOWED_REDIRECT_HOSTSNoComma-separated allowed OAuth redirect hosts. Default in .env.example includes gemini.google.com,aistudio.google.com,accounts.google.com.
CLOUDFLARE_READONLY_API_TOKENNoCloudflare read-only API token for inspection operations.

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