Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PAGETREE_AUTHNoAuthentication mode: api-key, oauth, subscription, or none. Equivalent to the --auth flag.
PAGETREE_MODELNoModel id; required for the anthropic and openai providers. Set it for the CLI adapters too, so runs are repeatable. Equivalent to the --model flag.
PAGETREE_BASE_URLNoEndpoint for openai (any compatible server) or an anthropic gateway. Equivalent to the --base-url flag.
PAGETREE_PROVIDERNoModel provider: claude-cli (default), codex-cli, anthropic, openai, or fake (tests only). Equivalent to the --provider flag.
PAGETREE_CODEX_BINNoPath to the codex CLI if it is not on PATH (on Windows point at the .exe or the .js entry, not a .cmd shim).
PAGETREE_MAX_CALLSNoCall cap per run, default 500 for index and 12 for ask. Equivalent to the --max-calls flag.
PAGETREE_CLAUDE_BINNoPath to the claude CLI if it is not on PATH (on Windows point at the .exe or the .js entry, not a .cmd shim).
PAGETREE_CONFIG_DIRNoOverride the per user config directory.
PAGETREE_TIMEOUT_MSNoPer call timeout in milliseconds, default 180000. Equivalent to the --timeout flag.
PAGETREE_API_KEY_ENVNoName of the environment variable that holds the API key (default OPENAI_API_KEY or ANTHROPIC_API_KEY). Equivalent to the --api-key-env flag.
PAGETREE_OAUTH_SCOPENoOAuth scope string, e.g. "api://gateway/.default offline_access".
PAGETREE_TEMPERATURENoSampling temperature; sent only when set.
PAGETREE_OAUTH_CONFIGNoPath to a JSON file with the OAuth settings (keys grant, token_url, auth_url, device_url, client_id, scope, client_auth as post or basic, profile, client_secret_env). Also settable with the --oauth-config flag.
PAGETREE_OAUTH_AUTH_URLNoOAuth 2.0 authorization endpoint, e.g. https://login.example.com/oauth2/authorize.
PAGETREE_OAUTH_CLIENT_IDNoOAuth client id.
PAGETREE_OAUTH_TOKEN_URLNoOAuth 2.0 token endpoint, e.g. https://login.example.com/oauth2/token.
PAGETREE_CLAUDE_SAFE_MODENoSet to 0 to omit --safe-mode for older claude CLI versions.
PAGETREE_CODEX_USER_CONFIGNoSet to 1 to let the codex CLI load your own config.toml and rules (off by default, because that config can add tools).
PAGETREE_OAUTH_CLIENT_SECRETNoOAuth client secret. Only read from the environment (or the variable named by client_secret_env), never from the OAuth config 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