Skip to content
appsgit

OpenClaw MCP Server

OpenClaw MCP Server is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1. It has 185 GitHub stars, is released under the MIT license and runs locally with npx -y openclaw-mcp.

github.com/freema/openclaw-mcp (opens in a new tab)

Install OpenClaw MCP Server

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "openclaw-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp"
      ],
      "env": {
        "OPENCLAW_URL": "your-value",
        "OPENCLAW_GATEWAY_TOKEN": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env OPENCLAW_URL=your-value --env OPENCLAW_GATEWAY_TOKEN=your-value --transport stdio openclaw-mcp-server -- npx -y openclaw-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "openclaw-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp"
      ],
      "env": {
        "OPENCLAW_URL": "your-value",
        "OPENCLAW_GATEWAY_TOKEN": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "openclaw_gateway_token",
      "description": "OPENCLAW_GATEWAY_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "openclaw-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp"
      ],
      "env": {
        "OPENCLAW_URL": "your-value",
        "OPENCLAW_GATEWAY_TOKEN": "${input:openclaw_gateway_token}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
OPENCLAW_URLYesURL of your OpenClaw gateway
OPENCLAW_GATEWAY_TOKENsecretYesBearer token for OpenClaw gateway authentication
OPENCLAW_MODELNoModel name for chat completions (e.g. 'openclaw' or 'openclaw/')
OPENCLAW_TIMEOUT_MSNoRequest timeout in milliseconds

Tools (7)

Parsed from the Tools section of the README; check the repository for the current list.

  • openclaw_chat

    Send messages to OpenClaw and get responses

  • openclaw_status

    Check OpenClaw gateway health

  • openclaw_instances

    List all configured OpenClaw instances

  • openclaw_chat_async

    Queue a message, get task_id immediately

  • openclaw_task_status

    Check task progress and get results

  • openclaw_task_list

    List your tasks with filtering

  • openclaw_task_cancel

    Cancel a pending task

About OpenClaw MCP Server

🦞 Model Context Protocol (MCP) server for OpenClaw AI assistant integration. Hey! I created this MCP server because I didn't want to rely solely on messaging channels to communicate with OpenClaw. What really excites me is the ability to connect OpenClaw to the Claude web UI. Essentially, my chat can delegate tasks to my Claw bot, which then handles everything else — like spinning up Claude Code to fix issues for me.

  • mcp-server
  • open-claw
  • productivity
  • docker-compose
  • security
  • typescript

FAQ

OpenClaw MCP Server FAQ

Still curious? Email info@appsgit.com.

What is OpenClaw MCP Server?

OpenClaw MCP Server is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1. It has 185 GitHub stars, is released under the MIT license and runs locally with npx -y openclaw-mcp. The source code is at github.com/freema/openclaw-mcp.

How do I install the OpenClaw MCP Server MCP server?

Add the command npx -y openclaw-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is OpenClaw MCP Server free?

The server is open source under the MIT license, so running it is free. It needs credentials (OPENCLAW_GATEWAY_TOKEN) for the service it connects to, which may require a paid account.

Is OpenClaw MCP Server actively maintained?

The most recent commit was on Sep 19, 2026. The latest release is 1.7.0, published Jul 26, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.