Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRUST_PROXYNoSet to 1 to trust proxy headers (e.g., X-Forwarded-For). Required when behind a reverse proxy.
AUTH_ENABLEDNoEnable OAuth 2.1 authentication (true/false). Required for HTTP transport in production.
CORS_ORIGINSNoComma-separated list of allowed CORS origins. Disabled by default.
OPENCLAW_URLNoURL of the OpenClaw gateway (e.g., http://127.0.0.1:18789). Required in single-instance mode.
MCP_CLIENT_IDNoOAuth client ID. Required when AUTH_ENABLED is true.
MCP_ISSUER_URLNoPublic HTTPS URL of the server. Required when running behind a reverse proxy.
OPENCLAW_MODELNoModel to use (e.g., openclaw).
MCP_CLIENT_SECRETNoOAuth client secret. Required when AUTH_ENABLED is true.
MCP_REDIRECT_URISNoComma-separated list of allowed redirect URIs for OAuth.
OPENCLAW_AGENT_IDNoAgent ID to use (e.g., main).
OPENCLAW_INSTANCESNoJSON array of instance configurations for multi-instance mode. Replaces OPENCLAW_URL and OPENCLAW_GATEWAY_TOKEN.
OPENCLAW_TIMEOUT_MSNoTimeout in milliseconds for requests (e.g., 300000).
OPENCLAW_GATEWAY_TOKENNoAuthentication token for the OpenClaw gateway. Required in single-instance 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