HomeDevelopment › OpenClaw MCP Server

OpenClaw MCP Server

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

TypeScript CloudLocal
★ 184 stars Last pushed 2026-09-19 License: MIT

Topics: Coding Agents

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 1.7.0)

npx -y [email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENCLAW_URL": "<YOUR_VALUE>",
        "OPENCLAW_GATEWAY_TOKEN": "<YOUR_VALUE>",
        "OPENCLAW_MODEL": "<YOUR_VALUE>",
        "OPENCLAW_TIMEOUT_MS": "<YOUR_VALUE>"
      }
    }
  }
}
  • OPENCLAW_URL required — URL of your OpenClaw gateway
  • OPENCLAW_GATEWAY_TOKEN required secret — Bearer token for OpenClaw gateway authentication
  • OPENCLAW_MODEL — Model name for chat completions (e.g. 'openclaw' or 'openclaw/<agentId>')
  • OPENCLAW_TIMEOUT_MS — Request timeout in milliseconds

Package (oci)

docker run -i --rm ghcr.io/freema/openclaw-mcp:1.7.0

Or add to your MCP client config:

{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/freema/openclaw-mcp:1.7.0"
      ],
      "env": {
        "OPENCLAW_URL": "<YOUR_VALUE>",
        "OPENCLAW_GATEWAY_TOKEN": "<YOUR_VALUE>",
        "OPENCLAW_MODEL": "<YOUR_VALUE>"
      }
    }
  }
}
  • OPENCLAW_URL required — URL of your OpenClaw gateway
  • OPENCLAW_GATEWAY_TOKEN required secret — Bearer token for OpenClaw gateway authentication
  • OPENCLAW_MODEL — Model name for chat completions

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry