AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Cc Openclaw Bridge

mcp-totorospirit-cc-openclaw-bridge · by totorospirit

Claude Code plugin for user interaction via OpenClaw (Telegram, Signal, Discord)

No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add mcp-totorospirit-cc-openclaw-bridge

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-totorospirit-cc-openclaw-bridge)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Cc Openclaw Bridge? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

[](LICENSE)

OpenClaw Bridge

An MCP server that gives Claude Code a voice when running headless. Questions and notifications are delivered through OpenClaw to the user's messaging app — Telegram, Signal, Discord, or anything else connected — and answers flow back in real time.

claude -p "refactor the auth module" \
  # Claude Code hits a decision point → asks via OpenClaw → user replies on Telegram → work continues

Architecture

sequenceDiagram
    participant CC as Claude Code (-p)
    participant Bridge as OpenClaw Bridge (MCP)
    participant IPC as /tmp/cc-openclaw-bridge/
    participant OC as OpenClaw Agent
    participant User as User (Telegram, Signal, ...)

    CC->>Bridge: ask_user / notify_user
    Bridge->>IPC: Write pending file
    Bridge->>OC: Wake event (openclaw system event)
    OC->>IPC: Read pending file
    OC->>User: Forward question / notification
    User->>OC: Reply
    OC->>Bridge: POST answer to callbackUrl
    Bridge->>CC: Return answer

Quick Start

git clone https://github.com/totorospirit/cc-openclaw-bridge.git
cd cc-openclaw-bridge
./install.sh

install.sh registers the MCP server with Claude Code and appends usage instructions to ~/.claude/CLAUDE.md. If cloned to a temporary directory, it auto-copies to ~/.local/share/cc-openclaw-bridge/.

If running inside an OpenClaw container, also run:

node setup-env.mjs

Tools Reference

ask_user

Ask 1-4 questions in a single call. Each question supports a short header tag, 2-4 options with descriptions, free-text input, and multi-select.

{
  "questions": [
    {
      "question": "Which auth method?",
      "header": "Auth",
      "options": [
        { "label": "JWT", "description": "Stateless, scalable" },
        { "label": "Sessions", "description": "Server-side, simple" }
      ]
    },
    {
      "question": "What should the service be called?",
      "header": "Name"
    }
  ],
  "context": "setting up the backend"
}

notify_user

One-way notification. No reply expected.

{
  "message": "Tests passing, creating PR...",
  "context": "CI/CD"
}

Auto-summary

When Claude Code exits, the bridge writes a session summary — questions asked, answers received, notifications sent — so the OpenClaw agent can forward a completion report.

Agent Configuration

Add the following to your OpenClaw agent's AGENTS.md or HEARTBEAT.md:

Check /tmp/cc-openclaw-bridge/ for pending files:
- ask-*.json  — forward questions to user, POST answers to callbackUrl
- notify-*.json — forward to user
- summary-*.json — forward completion summary

Answer format:

| Scenario | Payload | |---|---| | Single question | POST {"answer": "JWT"} | | Batch (multiple questions) | POST {"answers": [{"answer": "JWT"}, {"answer": "React"}]} |

Present multi-question batches as a single message or deliver them sequentially — whatever suits your messaging surface.

Multi-agent

Multiple Claude Code instances can run simultaneously. Each question gets a unique pending file and its own HTTP callback server. The OpenClaw agent groups them when presenting to the user.

For richer context in multi-agent setups, export these environment variables before launching Claude Code:

export CC_WORKDIR="$PWD"
export CC_TASK="fix auth bug"
export CC_ID="cc-$$"

Configuration

| Variable | Default | Description | |---|---|---| | OPENCLAW_BRIDGE_IPC_DIR | /tmp/cc-openclaw-bridge | Pending file directory | | OPENCLAW_BRIDGE_TIMEOUT_MS | 300000 | Answer timeout (5 min) | | OPENCLAW_BRIDGE_HOST | 127.0.0.1 | Callback server bind address | | CC_WORKDIR | cwd | Project directory for context | | CC_TASK | — | Task description for context | | CC_ID | cc- | Instance identifier |

License

MIT

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.