← Index

io.github.freema/openclaw-mcp

io.github.freema/openclaw-mcp·v1.4.1·Other
Quality Score
90
/100

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

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp"
      ],
      "env": {
        "OPENCLAW_URL": "http://127.0.0.1:18789",
        "OPENCLAW_GATEWAY_TOKEN": "<your-openclaw_gateway_token>",
        "OPENCLAW_MODEL": "openclaw",
        "OPENCLAW_TIMEOUT_MS": "120000"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp"
      ],
      "env": {
        "OPENCLAW_URL": "http://127.0.0.1:18789",
        "OPENCLAW_GATEWAY_TOKEN": "<your-openclaw_gateway_token>",
        "OPENCLAW_MODEL": "openclaw",
        "OPENCLAW_TIMEOUT_MS": "120000"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y openclaw-mcp
Claude Desktop (Docker)
{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "ghcr.io/freema/openclaw-mcp:1.4.1"
      ],
      "env": {
        "OPENCLAW_URL": "http://127.0.0.1:18789",
        "OPENCLAW_GATEWAY_TOKEN": "<your-openclaw_gateway_token>",
        "OPENCLAW_MODEL": "openclaw",
        "OPENCLAW_TIMEOUT_MS": "120000"
      }
    }
  }
}
§02  Environment variables
OPENCLAW_URL
required

URL of your OpenClaw gateway

OPENCLAW_GATEWAY_TOKEN
requiredsecret

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

OPENCLAW_URL
required

URL of your OpenClaw gateway

OPENCLAW_GATEWAY_TOKEN
requiredsecret

Bearer token for OpenClaw gateway authentication

OPENCLAW_MODEL

Model name for chat completions

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
15
installability
25
documentation
15
stability
10
§04  Alternatives in Other