Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HWPCOWORK_AUTHNoAuthentication mode: none, token, or oidc.none
HWPCOWORK_BINDNoAddress to bind the port. When binding to 0.0.0.0, enable authentication.127.0.0.1
HWPCOWORK_ROOTSNoComma-separated list of name=path roots. Document paths are like name/sub/file.hwp.docs=/docs
HWPCOWORK_TOKENNoBearer token for token auth mode. Generate with openssl rand -hex 32.
HWPCOWORK_KEEP_DAYSNoNumber of days to keep untouched work copies.30
HWPCOWORK_OIDC_ISSUERNoOIDC issuer URL for oidc auth mode.
HWPCOWORK_PUBLIC_BASENoExternal address used for links and OAuth.http://localhost:8119
HWPCOWORK_TOKENS_FILENoPath to a JSON file for multi-user token auth, containing objects with token, label, roots, and write fields.
HWPCOWORK_RESOURCE_URLNoResource URL for OIDC. Redirect URI is <PUBLIC_BASE>/sso/callback.
HWPCOWORK_ALLOWED_HOSTSNoReverse proxy hosts allowed. Prevents DNS rebinding.
HWPCOWORK_OIDC_CLIENT_IDNoOIDC client ID for oidc auth mode. The provider client must be public (PKCE).
HWPCOWORK_WRITABLE_ROOTSNoRoots where copies may be saved directly to the source folder. If empty, the server is read-only and files can only be extracted via download.
HWPCOWORK_PRINCIPALS_FILENoPath to principals JSON file mapping per-person permissions for oidc mode.

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