loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

openclaw-mcp-bridge

MCP Tool

daijinma/openclaw-mcp-bridge

龙虾连接本地AI CLI,比如opencode、claude、codex等

Install

$ npx loaditout add daijinma/openclaw-mcp-bridge

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "openclaw-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp-bridge"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

OpenClaw MCP Bridge

English | 中文

---

<a id="english"></a>

MCP Server bridging local AI tools (opencode / Claude / Codex) to OpenClaw agents.

Local AI (opencode / Claude / Codex)
    ↓ MCP stdio (local) or HTTP (serve mode)
openclaw-mcp-bridge (per-instance process)
    ↓ openclaw agent CLI (local) or WebSocket (remote)
OpenClaw
    ↓
Agent (main / geo / ...)
Quick Start
1. Install the bridge
git clone git@github.com:daijinma/openclaw-mcp-bridge.git
cd openclaw-mcp-bridge
npm install
2. Register in opencode
npx openclaw-mcp-bridge install localclaw

This adds two entries to ~/.config/opencode/opencode.json:

  • MCP server openclaw-localclaw — runs the bridge process
  • Agent @localclaw — subagent you can @ in opencode TUI
3. Use it
@localclaw 最近做了哪些事情?
@localclaw 帮我看看 geo agent 的配置
Connection Modes
Local Mode (available now)

Connects via openclaw agent CLI subprocess. Requires openclaw installed locally.

npx openclaw-mcp-bridge install localclaw
npx openclaw-mcp-bridge install localclaw --bin /usr/local/bin/openclaw
Remote Mode (available now)

Connects via WebSocket to a remote OpenClaw Gateway server. No local openclaw CLI needed.

npx openclaw-mcp-bridge install kupuclaw --host wss://your-server:18789 --token your-token
Remote OpenClaw Server Setup

To use remote mode, you need an OpenClaw server with the Gateway accessible over the network:

1. Install OpenClaw on the server

npm install -g openclaw
openclaw setup

2. Configure Gateway for remote access

Edit ~/.openclaw/openclaw.json on the server:

{
  "gateway": {
    "port": 18789,
    "bind": "lan",
    "auth": {
      "mode": "token",
      "token": "your-secret-token"
    }
  }
}

| Field | Value | Description | |---|---|---| | bind | "lan" or "custom" | "loopback" = localhost only, "lan" = LAN accessible | | auth.mode

Tags

agnetmcpopen-claw

Reviews

Loading reviews...

Quality Signals

1
Stars
0
Installs
Last updated23 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/27/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/daijinma/openclaw-mcp-bridge)](https://loaditout.ai/skills/daijinma/openclaw-mcp-bridge)