Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address127.0.0.1
PORTNoBind port3000
AUTH_MODENooff on loopback, oauth otherwise; off on a non-loopback bind also needs ALLOW_INSECURE_NO_AUTH=true
ENGRAM_BINNoEngram binaryengram
ENGRAM_ARGSNoArguments for the child, e.g. mcp --tools=agentmcp
TRUST_PROXYNoExpress trust proxy (set 1 behind one reverse proxy)
ENGRAM_PROJECTNoDefault Engram project for this memory
ENGRAM_DATA_DIRNoEngram's data directory
GITHUB_APP_NAMENoName shown on the sign-in page
PUBLIC_BASE_URLYesPublic HTTPS origin, e.g. https://memory.example.com
GATEWAY_DATA_DIRNoAuth state directory (the image sets /data/gateway); required when auth is on
GITHUB_CLIENT_IDYesThe OAuth App's client ID
ENGRAM_CLOUD_TOKENNoPassed to engram, for Engram Cloud sync
ENGRAM_CLOUD_SERVERNoPassed to engram, for Engram Cloud sync
GITHUB_CLIENT_SECRETNoOnly for the web (redirect) flow instead of device flow
ALLOWED_GITHUB_LOGINSYesComma-separated GitHub logins allowed in
ENGRAM_CLOUD_AUTOSYNCNoPassed to engram, for Engram Cloud sync
ALLOW_INSECURE_NO_AUTHNoRequired when AUTH_MODE=off on a non-loopback bind
AUTH_SESSION_TTL_SECONDSNoSign-in session lifetime7 d
GITHUB_CLIENT_SECRET_FILENoOnly for the web (redirect) flow instead of device flow
AUTH_ACCESS_TOKEN_TTL_SECONDSNoAccess token lifetime1 h
AUTH_REFRESH_TOKEN_TTL_SECONDSNoRefresh token lifetime30 d

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