Skip to main content
Glama
OpenClaw MCP Server

OpenClaw MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRUST_PROXYNoSet to 1 when behind a reverse proxy so X-Forwarded-For is trusted
AUTH_ENABLEDNoSet to true to enable OAuth authentication for HTTP transport
CORS_ORIGINSNoComma-separated list of allowed CORS origins; CORS is disabled unless explicitly configured
OPENCLAW_URLNoURL of the OpenClaw gateway, e.g. http://127.0.0.1:18789
MCP_CLIENT_IDNoOAuth client ID, e.g. openclaw
MCP_ISSUER_URLNoPublic HTTPS issuer URL for OAuth metadata when running behind a reverse proxy
OPENCLAW_MODELNoModel name to use for OpenClaw requests
MCP_CLIENT_SECRETNoOAuth client secret
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 ID to target
OPENCLAW_INSTANCESNoJSON array of OpenClaw instance configurations for multi-instance mode, e.g. [{"name":"prod","url":"http://prod:18789","token":"tok1","default":true}]
OPENCLAW_TIMEOUT_MSNoTimeout in milliseconds for OpenClaw requests, e.g. 300000
OPENCLAW_GATEWAY_TOKENNoGateway token used to authenticate with OpenClaw

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