Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRUST_PROXYNoTrust proxy setting (1 to trust X-Forwarded-For). Required when behind a reverse proxy. Default: 0
AUTH_ENABLEDNoEnable OAuth 2.1 authentication for HTTP transport. Default: false
CORS_ORIGINSNoComma-separated list of allowed CORS origins. Default: empty (CORS disabled). Set to '*' to allow all.
OPENCLAW_URLNoURL of the OpenClaw gateway. Default: http://127.0.0.1:18789
MCP_CLIENT_IDNoOAuth client ID. Default: 'openclaw'
MCP_ISSUER_URLNoPublic HTTPS URL of the MCP server for OAuth metadata. Required when running behind a reverse proxy.
OPENCLAW_MODELNoModel to use. Default: 'openclaw'
MCP_CLIENT_SECRETNoOAuth client secret. Required when AUTH_ENABLED is true.
MCP_REDIRECT_URISNoComma-separated list of allowed OAuth redirect URIs. Default: 'https://claude.ai/api/mcp/auth_callback,https://claude.com/api/mcp/auth_callback'
OPENCLAW_AGENT_IDNoAgent ID to use. Default: 'main'
OPENCLAW_INSTANCESNoJSON array of OpenClaw instances for multi-instance mode. Example: [{"name": "prod", "url": "http://prod:18789", "token": "tok1", "default": true}]
OPENCLAW_TIMEOUT_MSNoTimeout in milliseconds for OpenClaw requests. Default: 300000
OPENCLAW_GATEWAY_TOKENNoGateway token for authenticating with OpenClaw. Required for 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

Maintenance

ActivityActive
ResponsivenessNo issues