Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRUST_PROXYNoSet to 1 when running behind a reverse proxy so X-Forwarded-For headers are trusted.
AUTH_ENABLEDNoSet to true to enable OAuth 2.1 authentication (recommended in production / HTTP mode).
CORS_ORIGINSNoComma-separated list of allowed CORS origins (e.g. https://claude.ai,https://your-app.com). CORS is disabled unless set.
OPENCLAW_URLNoURL of the OpenClaw gateway HTTP API (e.g. http://127.0.0.1:18789 or http://host.docker.internal:18789).
MCP_CLIENT_IDNoOAuth client ID used by the MCP client to authenticate (e.g. "openclaw").
MCP_ISSUER_URLNoPublic HTTPS URL of the server, required behind a reverse proxy so OAuth metadata advertises the correct issuer (e.g. https://mcp.your-domain.com).
OPENCLAW_MODELNoModel name to use when calling the OpenClaw gateway (e.g. "openclaw").
MCP_CLIENT_SECRETNoOAuth client secret; generate with `openssl rand -hex 32`.
MCP_REDIRECT_URISNoComma-separated list of allowed OAuth redirect URIs (e.g. https://claude.ai/api/mcp/auth_callback,https://claude.com/api/mcp/auth_callback).
OPENCLAW_AGENT_IDNoOpenClaw agent identifier to route requests to (e.g. "main").
OPENCLAW_INSTANCESNoJSON array enabling multi-instance mode, e.g. '[{"name": "prod", "url": "http://prod:18789", "token": "tok1", "default": true}, {"name": "staging", "url": "http://staging:18789", "token": "tok2"}]'. Each instance has its own name, url, token, and optional default flag.
OPENCLAW_TIMEOUT_MSNoRequest timeout in milliseconds for OpenClaw calls (e.g. 300000).
OPENCLAW_GATEWAY_TOKENNoAuthentication token for the OpenClaw gateway.

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

Maintenance

ActivityActive
ResponsivenessNo issues