Skip to main content

OpenClaw MCP Server

io.github.freema/openclaw-mcp

v2.0.0Updated Nov 23, 2026stdio · npmstdio · Docker

MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add openclaw-mcp -e OPENCLAW_URL=http://127.0.0.1:18789 -e 'OPENCLAW_GATEWAY_TOKEN=<your-openclaw-gateway-token>' -e OPENCLAW_MODEL=openclaw -e OPENCLAW_TIMEOUT_MS=120000 -- npx -y [email protected]

Configuration

4 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • OPENCLAW_GATEWAY_TOKEN
    Env var· required· secret
    Bearer token for OpenClaw gateway authentication
  • OPENCLAW_URL
    Env var· required
    URL of your OpenClaw gatewayDefault: http://127.0.0.1:18789
  • OPENCLAW_MODEL
    Env var· optional
    Model name for chat completions (e.g. 'openclaw' or 'openclaw/<agentId>')Default: openclaw
  • OPENCLAW_TIMEOUT_MS
    Env var· optional
    Gateway request timeout in milliseconds (idle timeout for streamed async tasks)Default: 120000

Listed in the official MCP Registry since Nov 23, 2026. Mirrored daily; last checked Nov 26, 2026.