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, otherwise express-rate-limit rejects the proxy's X-Forwarded-For header and /token crashes with ERR_ERL_UNEXPECTED_X_FORWARDED_FOR.1
AUTH_ENABLEDNoEnable OAuth 2.1 authentication for the HTTP transport. Always enable authentication in production.false
CORS_ORIGINSNoComma-separated list of allowed browser origins (e.g. https://claude.ai,https://your-app.com). CORS is disabled unless you opt in; use * to allow all origins.
OPENCLAW_URLNoURL of the OpenClaw gateway HTTP API (e.g. http://host.docker.internal:18789 or http://127.0.0.1:18789).http://127.0.0.1:18789
MCP_CLIENT_IDNoOAuth client ID required for the Claude.ai connector (e.g. "openclaw").
MCP_ISSUER_URLNoPublic HTTPS URL of the server used in OAuth metadata (e.g. https://mcp.your-domain.com). Required when running behind a reverse proxy, otherwise OAuth metadata advertises http://localhost:3000 and clients fail to authenticate.
OPENCLAW_MODELNoModel name to use when sending chat completions to OpenClaw.openclaw
MCP_CLIENT_SECRETNoOAuth client secret for the connector. Generate with openssl rand -hex 32.
MCP_REDIRECT_URISNoComma-separated list of allowed OAuth redirect URIs so authorization codes can only be delivered to Claude's callbacks. Matching is exact.https://claude.ai/api/mcp/auth_callback,https://claude.com/api/mcp/auth_callback
OPENCLAW_AGENT_IDNoOptional OpenClaw agent ID to target (e.g. "main").
OPENCLAW_INSTANCESNoJSON array describing multiple OpenClaw gateways for multi-instance mode, e.g. [{"name": "prod", "url": "http://prod:18789", "token": "tok1", "default": true}, {"name": "staging", "url": "http://staging:18789", "token": "tok2"}]. When a tool's instance parameter is omitted, the default instance is used.
OPENCLAW_TIMEOUT_MSNoRequest timeout in milliseconds for OpenClaw calls.300000
OPENCLAW_GATEWAY_TOKENYesYour OpenClaw gateway token used to authenticate against the OpenClaw HTTP API.

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

ActivityMaintained
ResponsivenessNo issues