NestDaddy

OpenClaw MCP Server

io.github.freema/openclaw-mcp · v1.8.1

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

Connect Runs on your machine

Terminal
claude mcp add openclaw-mcp -e OPENCLAW_URL=<OPENCLAW_URL> -e OPENCLAW_GATEWAY_TOKEN=<OPENCLAW_GATEWAY_TOKEN> -e OPENCLAW_MODEL=<OPENCLAW_MODEL> -e OPENCLAW_TIMEOUT_MS=<OPENCLAW_TIMEOUT_MS> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENCLAW_URL": "<OPENCLAW_URL>",
        "OPENCLAW_GATEWAY_TOKEN": "<OPENCLAW_GATEWAY_TOKEN>",
        "OPENCLAW_MODEL": "<OPENCLAW_MODEL>",
        "OPENCLAW_TIMEOUT_MS": "<OPENCLAW_TIMEOUT_MS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENCLAW_URL": "<OPENCLAW_URL>",
        "OPENCLAW_GATEWAY_TOKEN": "<OPENCLAW_GATEWAY_TOKEN>",
        "OPENCLAW_MODEL": "<OPENCLAW_MODEL>",
        "OPENCLAW_TIMEOUT_MS": "<OPENCLAW_TIMEOUT_MS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "openclaw-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENCLAW_URL": "<OPENCLAW_URL>",
        "OPENCLAW_GATEWAY_TOKEN": "<OPENCLAW_GATEWAY_TOKEN>",
        "OPENCLAW_MODEL": "<OPENCLAW_MODEL>",
        "OPENCLAW_TIMEOUT_MS": "<OPENCLAW_TIMEOUT_MS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
OPENCLAW_URL
Required
URL of your OpenClaw gateway
OPENCLAW_GATEWAY_TOKEN
Required, secret
Bearer token for OpenClaw gateway authentication
OPENCLAW_MODEL
Optional
Model name for chat completions (e.g. 'openclaw' or 'openclaw/<agentId>')
OPENCLAW_TIMEOUT_MS
Optional
Request timeout in milliseconds

Details

Package[email protected] (NPM, stdio)
Packageghcr.io/freema/openclaw-mcp:1.8.1 (OCI, stdio)
First published6 Nov 2026
Last updated6 Nov 2026
Registry nameio.github.freema/openclaw-mcp

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.