OpenClaw MCP Server
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 that express-rate-limit trusts the X-Forwarded-For header and /token does not crash. | |
| AUTH_ENABLED | No | Set to true to enable OAuth 2.1 authentication. Always enable authentication in production. | |
| CORS_ORIGINS | No | Comma-separated list of allowed CORS origins (e.g. https://claude.ai,https://your-app.com). CORS is disabled unless you opt in. | |
| OPENCLAW_URL | No | URL of the OpenClaw gateway HTTP API (e.g. http://127.0.0.1:18789). | |
| MCP_CLIENT_ID | No | OAuth client ID used by the MCP connector (e.g. openclaw). | |
| MCP_ISSUER_URL | No | Public HTTPS URL of the server, used for OAuth metadata when running behind a reverse proxy. If unset, OAuth metadata advertises http://localhost:3000 and clients fail to authenticate. | |
| OPENCLAW_MODEL | No | Model name to use when talking to the OpenClaw gateway (e.g. openclaw). | |
| MCP_CLIENT_SECRET | No | OAuth client secret; required when AUTH_ENABLED=true. | |
| 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. Matching is exact. | |
| OPENCLAW_AGENT_ID | No | Agent ID to target on the OpenClaw gateway (e.g. main). | |
| OPENCLAW_INSTANCES | No | JSON array defining multiple OpenClaw instances for multi-instance mode, e.g. [{"name":"prod","url":"http://prod:18789","token":"tok1","default":true}]. Each instance has its own URL, token, and timeout. | |
| OPENCLAW_TIMEOUT_MS | No | Request timeout in milliseconds for OpenClaw calls (e.g. 300000). | |
| OPENCLAW_GATEWAY_TOKEN | No | Authentication 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
| 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
ActivityActive
ResponsivenessNo issues