OpenClaw MCP Server
by hannahito
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRUST_PROXY | No | Set to 1 when running behind a reverse proxy so express-rate-limit accepts the X-Forwarded-For header | 1 |
| AUTH_ENABLED | No | Enable OAuth 2.1 authentication (recommended in production; used in HTTP mode) | true |
| CORS_ORIGINS | No | Comma-separated list of allowed CORS origins (CORS is disabled unless set), e.g. https://claude.ai or * to allow all | |
| OPENCLAW_URL | No | URL 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_ID | No | OAuth client ID used by MCP clients connecting to the server | openclaw |
| MCP_ISSUER_URL | No | Public HTTPS URL of the server, required when running behind a reverse proxy so OAuth metadata is advertised correctly | |
| OPENCLAW_MODEL | No | Model name to use when sending chat requests to OpenClaw | openclaw |
| MCP_CLIENT_SECRET | No | OAuth client secret used by MCP clients connecting to the server (e.g. generate with: openssl rand -hex 32) | |
| MCP_REDIRECT_URIS | No | Comma-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_ID | No | OpenClaw agent ID to target, e.g. main | main |
| OPENCLAW_INSTANCES | No | JSON array of multiple OpenClaw instances to orchestrate from a single MCP server, e.g. [{"name": "prod", "url": "http://prod:18789", "token": "tok1", "default": true}, ...] | |
| OPENCLAW_TIMEOUT_MS | No | Request timeout in milliseconds for OpenClaw calls | 300000 |
| OPENCLAW_GATEWAY_TOKEN | Yes | Authentication token for the OpenClaw gateway (your-gateway-token) |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues