Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

OpenClaw MCP Server

local MCP server

OpenClaw MCP Server is a local MCP server: MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1. Install it from npm as openclaw-mcp.

Installation

Terminal

claude mcp add openclaw-mcp -e OPENCLAW_URL=... -e OPENCLAW_GATEWAY_TOKEN=... -e OPENCLAW_MODEL=... -e OPENCLAW_TIMEOUT_MS=... -- npx -y openclaw-mcp

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "openclaw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp"
      ],
      "env": {
        "OPENCLAW_URL": "...",
        "OPENCLAW_GATEWAY_TOKEN": "...",
        "OPENCLAW_MODEL": "...",
        "OPENCLAW_TIMEOUT_MS": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Node.js 18+ (runs with npx) or Docker.
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: OPENCLAW_URL, OPENCLAW_GATEWAY_TOKEN, OPENCLAW_MODEL, OPENCLAW_TIMEOUT_MS

Summary

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

OpenClaw MCP Server vs similar servers

ServerStarsTypeAPI keyRuntime
OpenClaw MCP Server185LocalYesnpm
Taskade MCP165HostedYesNone
Remote Desktop Commander93HostedNoNone
Claudebox22LocalNooci
DataDoe MCP15HostedYesNone

Questions

It reads 4 environment variables: OPENCLAW_URL, OPENCLAW_GATEWAY_TOKEN, OPENCLAW_MODEL, OPENCLAW_TIMEOUT_MS. Set them in your MCP config before starting the server.

Node.js 18+ (runs with npx) or Docker, plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

OpenClaw MCP Server is a local MCP server distributed as the npm package openclaw-mcp.

Run: claude mcp add openclaw-mcp -e OPENCLAW_URL=... -e OPENCLAW_GATEWAY_TOKEN=... -e OPENCLAW_MODEL=... -e OPENCLAW_TIMEOUT_MS=... -- npx -y openclaw-mcp

Run: codex mcp add openclaw-mcp --env OPENCLAW_URL=... --env OPENCLAW_GATEWAY_TOKEN=... --env OPENCLAW_MODEL=... --env OPENCLAW_TIMEOUT_MS=... -- npx -y openclaw-mcp

Similar MCP servers

NameStars
  1. Taskade MCPio.github.taskade/mcp-server165
  2. Remote Desktop Commanderapp.desktopcommander/remote-desktop-commander93
  3. Claudeboxio.github.psyb0t/claudebox22
  4. DataDoe MCPcom.datadoe/amazon-seller-mcp15
  5. kaneoio.github.usekaneo/kaneo9,252
  6. agent-deviceio.github.callstack/agent-device4,793
  7. DBHubio.github.bytebase/dbhub3,574
  8. RevoGrid DataGrid MCP Proio.github.revolist/revogrid-mcp-pro3,446