About CLI WeChat Bridge
CLI WeChat Bridge is an MCP server published by UNLINEARITY in the Blockchain category: bridge WeChat, WeCom & Telegram to local Codex, Claude Code, OpenCode & Pi. Keep the native terminal experience & CLI options with bidirectional interaction, multi-session bridging, CLI switching, file transfer, approvals & status sync. 微信、企业微信与 Telegram 接入本地 Codex、Claude Code、OpenCode 和 Pi,保留原生终端体验与高级启动参数,支持原生双向交互、多会话桥接、多 CLI 切换、文件传输、审批交互与运行状态同步。. Conduid read 8 tools from its source: close_agent, get_agent_call, interrupt_agent_call, list_agents, new_agent_session, open_agent and 2 more. It is published to npm as cli-wechat-bridge and starts with npx.
The repository has 581 stars and 63 forks, is licensed AGPL-3.0, and its last commit was on 29 Nov 2026. The latest release is 1.4.1 (20 Oct 2026): 中文说明 / Chinese release notes: 1.4.1_CN.md Version 1.4.1 Release Date: October 21, 2026 Overview Version 1.4.1 includes the approval and question changes introduced in 1.… It follows 1.3.0 (20 Oct 2026), and the 5 most recent releases go back to 1.2.1 (28 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include bot, cli and wechat.
Install
claude mcp add cli-wechat-bridge -- npx -y cli-wechat-bridgenpx -y cli-wechat-bridgegit clone https://github.com/UNLINEARITY/CLI-WeChat-BridgeTools (8)
close_agentClose a worker you opened with open_agent.| Parameter | Type | Description |
|---|---|---|
| target * | any |
get_agent_callStatus of a call: queued, running, awaiting_approval, awaiting_input, completed, failed, or interrupted, with the reply once finished. A result read here is not sent to you again as a message.| Parameter | Type | Description |
|---|---|---|
| call_id * | any | |
| wait_seconds | any |
interrupt_agent_callStop a call: drop it from the queue, or interrupt the target's turn that runs it.| Parameter | Type | Description |
|---|---|---|
| call_id * | any |
list_agentsList the CLI agents of the bridge: name, workspace, status, queued calls, and workers opened by agents.new_agent_sessionStart a fresh session in an idle worker you opened, dropping its earlier context.| Parameter | Type | Description |
|---|---|---|
| target * | any |
open_agentOpen a new worker agent with a fresh session (codex, claude, opencode, or pi) in this workspace. A Codex worker runs without a window unless visible is true; the other CLIs open a terminal window. Close it with close_agent when done.| Parameter | Type | Description |
|---|---|---|
| adapter * | string | |
| cwd | string | Workspace directory; defaults to yours. |
| visible | boolean | Codex only: open a terminal window for the worker. |
resolve_agent_approvalDecide an approval the target agent is waiting on for a call you made: confirm, deny, or abort (deny and stop its turn). High-risk requests (callerMayConfirm false in get_agent_call) can only be confirmed by the operator; you may still deny or abort them. The operator can decide any of them too; whoever answers first wins.| Parameter | Type | Description |
|---|---|---|
| call_id * | any | |
| decision * | string | |
| reason | string | Why you deny; passed to the agent where its CLI supports it. |
| request_id | string | Approval request id from get_agent_call, to decide a specific one. |
send_to_agentGive another agent a task. It runs like a background job: the call returns a call id at once (queued while the target is busy), and the result arrives later as a new message to you, starting with [<agent> finished task <id>]. Use wait_seconds or get_agent_call only when you need the result before going on.| Parameter | Type | Description |
|---|---|---|
| cwd | string | Workspace of the target; defaults to yours. |
| target * | any | |
| text * | string | The task, written for the other agent. |
| wait_seconds | any |
Security checks
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 127 source files and found 8 calls to eval or shell execution, in bin/_run-entry.mjs, src/bridge/bridge-adapters.opencode.ts and src/bridge/bridge-process-reaper.ts among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.4K words, fetched 17 days ago. The original in the repository is authoritative.
Read full README