openclaw-plugin-wecom

MCP.Pizza Chef: sunnoy

WeCom is the work version of WeChat used widely inside Chinese companies. This adds an AI assistant to it, so colleagues can ask questions in a chat or group and get answers as they are generated rather than after a pause. It supports several accounts, keeps each team's assistant separate, restricts who can run which commands, and reaches WeCom documents and smart sheets. You need WeCom bot credentials.

Communication
Data
Writing

Use This MCP server To

Add an assistant to a work group chat Answer colleagues' questions inside WeCom Restrict which commands people can run Keep separate assistants per team Reach company documents from a chat Watch usage against our quota

README

OpenClaw 企业微信(WeCom)增强插件

npm license

@sunnoy/wecom 是 OpenClaw 企业微信渠道的社区增强插件,基于官方 @wecom/wecom-openclaw-plugin 的 WebSocket 长连接骨架,提供多账号管理、动态 Agent 隔离、Agent API / Webhook 增强出站、企业微信 MCP 文档/智能表格能力、指令白名单、配额感知等企业级特性。

底层 SDK:@wecom/aibot-node-sdk — 企业微信智能机器人 Node.js SDK。

⚠️ 从 HTTP 回调迁移到长连接: 2.0 版本完全采用企业微信 AI 机器人 WebSocket 长连接模式。如果你之前使用 HTTP 回调(Token + EncodingAESKey + 回调 URL),需要在企业微信管理后台将机器人切换到长连接模式,然后删除旧的回调配置。切换后只需 botId 和 secret 即可接入。

2.1 新增: 在 WS 长连接之外,2.1 版本新增了企业微信自建应用"接收消息"HTTP 回调作为可选入站通道。在 channels.wecom.agent 下配置 callback.token、callback.encodingAESKey、callback.path 即可同时启用,与 WS 通道并行运行,互不影响。

相比官方插件的增强特性

下表列出了本插件相比 官方 WeCom OpenClaw 插件(npm)额外提供的能力:

openclaw-plugin-wecom FAQ

Can I use this to put an assistant in a work group chat?
Yes — it answers in chats and groups, with replies appearing as they are generated.
Do I need credentials?
Yes, WeCom bot credentials for your organisation.
Can I limit who runs which commands?
Yes, there is a command whitelist so sensitive actions can be restricted.
Can several teams have their own assistant?
Yes — multiple accounts are supported with each team's assistant kept separate.
How hard is it to set up?
It is an administrator job involving bot credentials and a connection setup, not a quick install.