
freema/openclaw-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
freema/openclaw-mcp は、https://github.com/freema/openclaw-mcp. からインポートされた MCP サーバー候補です。
概要
freema/openclaw-mcp は、https://github.com/freema/openclaw-mcp. からインポートされた MCP サーバー候補です。
概要(AI 翻訳)
🦞 OpenClaw AIアシスタント統合のためのモデルコンテキストプロトコル(MCP)サーバー。
デモ
なぜこれを作ったのか
こんにちは!このMCPサーバーは、OpenClawとメッセージングチャネルだけでやり取りしたくなかったから作りました。本当にワクワクするのは、OpenClawをClaudeのウェブUIに接続できることです。基本的に、チャットがタスクをClawボットに委任し、そのボットが他のすべてを処理してくれます。例えば、問題を修正するためにClaudeコードを起動してくれます。
AIアシスタントが別のAIアシスタントを指揮しているようなものだと考えてください。かなりクールですよね?
クイックスタート
Docker(推奨)
事前構築されたイメージは、すべてのリリース時にGitHub Container Registryに公開されます。
docker-compose.ymlを作成する:
秘密を生成して、次の作業を始めましょう:
そして Claude.ai https://your-domain.com/mcpを指すカスタムMCPコネクタを追加し、MCP_CLIENT_ID=openclawとMCP_CLIENT_SECRETを指す。
重要: コネクターのURLは必ず
/mcpで終わらなければなりません。これはStreamable HTTPエンドポイントです。裸ドメイン(https://your-domain.com)はサーバーのルートに到達し、OAuth完了後に404を返します。
ヒント: 制作用に
latestではなく特定のバージョンをピン留めしてください:ghcr.io/freema/openclaw-mcp:1.1.0
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
OpenClaw MCP Server
🦞 Model Context Protocol (MCP) server for OpenClaw AI assistant integration.
Demo
Why I Built This
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.
Think of it as an AI assistant orchestrating another AI assistant. Pretty cool, right?
Quick Start
Docker (Recommended)
Pre-built images are published to GitHub Container Registry on every release.
docker pull ghcr.io/freema/openclaw-mcp:latest
Create a docker-compose.yml:
services:
mcp-bridge:
image: ghcr.io/freema/openclaw-mcp:latest
container_name: openclaw-mcp
restart: unless-stopped
ports:
- "3000:3000"
environment:
- OPENCLAW_URL=http://host.docker.internal:18789
- OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
- OPENCLAW_AGENT_ID=${OPENCLAW_AGENT_ID:-}
- OPENCLAW_MODEL=openclaw
- MCP_CLIENT_ID=openclaw
- MCP_CLIENT_SECRET=${MCP_CLIENT_SECRET}
- MCP_ISSUER_URL=${MCP_ISSUER_URL:-}
- MCP_REDIRECT_URIS=https://claude.ai/api/mcp/auth_callback,https://claude.com/api/mcp/auth_callback
- TRUST_PROXY=1
- CORS_ORIGINS=https://claude.ai
extra_hosts:
- "host.docker.internal:host-gateway"
read_only: true
security_opt:
- no-new-privileges
Generate secrets and start:
export MCP_CLIENT_SECRET=$(openssl rand -hex 32)
export OPENCLAW_GATEWAY_TOKEN=your-gateway-token
docker compose up -d
Then in Claude.ai add a custom MCP connector pointing to https://your-domain.com/mcp with MCP_CLIENT_ID=openclaw and your MCP_CLIENT_SECRET.
インストール
npx openclaw-mcp設定
{
"mcpServers": {
"openclaw": {
"command": "npx",
"args": ["openclaw-mcp"],
"env": {
"OPENCLAW_URL": "http://127.0.0.1:18789",
"OPENCLAW_GATEWAY_TOKEN": "your-gateway-token",
"OPENCLAW_AGENT_ID": "main",
"OPENCLAW_MODEL": "openclaw",
"OPENCLAW_TIMEOUT_MS": "300000"
}
}
}
}