bylc2panda· 2 MCP servers
Multi-channel Codex/Claude Code plugin — WeChat, Feishu, DingTalk and more
$git clone https://github.com/lc2panda/claude-plugin-wechatInstalls into the current project.
Install claude-plugin-wechat by running `git clone https://github.com/lc2panda/claude-plugin-wechat`, then use it for the current task and follow its documentation at https://github.com/lc2panda/claude-plugin-wechat.
| 1 | <!-- |
| 2 | # AI Installation Instructions (Machine-Readable) |
| 3 | |
| 4 | This section is for AI agents (Claude Code, Panda CLI / Codex) to autonomously install, configure, and verify this plugin. It is invisible in browser preview. |
| 5 | |
| 6 | --- |
| 7 | |
| 8 | ## Plugin Repository Info |
| 9 | |
| 10 | - Repository: https://github.com/lc2panda/claude-plugin-wechat |
| 11 | - Branch: main |
| 12 | - Plugin name (marketplace): `wechat` |
| 13 | - Marketplace source: `lc2panda-plugins` (from `lc2panda/claude-plugin-wechat`) |
| 14 | - Package name (npm/bun): `claude-plugin-wechat` |
| 15 | - Version: 2.1.9 |
| 16 | - Channels provided: `wechat` (WeChat/微信) + `feishu` (Feishu/Lark/飞书) |
| 17 | - Modes: Channel (MCP, full-featured) + ACP (standalone process, multi-agent) |
| 18 | |
| 19 | --- |
| 20 | |
| 21 | ## Supported Platforms |
| 22 | |
| 23 | | Platform | State directory | Plugin install directory | |
| 24 | |----------|----------------|-------------------------| |
| 25 | | Claude Code | `~/.claude/channels/` | `~/.claude/plugins/cache/lc2panda-plugins/wechat/*/` | |
| 26 | | Panda CLI (Codex) | `~/.pandacc/channels/` | `~/.codex/plugins/cache/lc2panda-plugins/wechat/*/` | |
| 27 | |
| 28 | Platform detection: `ls ~/.pandacc 2>/dev/null && echo "Panda CLI" || echo "Claude Code"` |
| 29 | |
| 30 | --- |
| 31 | |
| 32 | ## Installation Commands (4 combinations) |
| 33 | |
| 34 | ### 1. Claude Code + WeChat (Channel mode) |
| 35 | |
| 36 | ```bash |
| 37 | # Inside Claude Code session: |
| 38 | /plugin marketplace add lc2panda/claude-plugin-wechat |
| 39 | /plugin install wechat@lc2panda-plugins |
| 40 | /wechat:configure login |
| 41 | # Then launch with channel enabled: |
| 42 | claude --dangerously-skip-permissions --dangerously-load-development-channels plugin:wechat@lc2panda-plugins |
| 43 | ``` |
| 44 | |
| 45 | ### 2. Claude Code + Feishu (Channel mode) |
| 46 | |
| 47 | ```bash |
| 48 | # Inside Claude Code session: |
| 49 | /plugin marketplace add lc2panda/claude-plugin-wechat |
| 50 | /plugin install wechat@lc2panda-plugins |
| 51 | /feishu:configure login |
| 52 | # Then launch with channel enabled: |
| 53 | claude --dangerously-skip-permissions --dangerously-load-development-channels plugin:wechat@lc2panda-plugins |
| 54 | ``` |
| 55 | |
| 56 | ### 3. Panda CLI (Codex) + WeChat (Channel mode) |
| 57 | |
| 58 | ```bash |
| 59 | # Inside Panda CLI / Codex session: |
| 60 | /plugin marketplace add lc2panda/claude-plugin-wechat |
| 61 | /plugin install wechat@lc2panda-plugins |
| 62 | # Configure login (invoke skill or tell Codex "configure wechat login"): |
| 63 | /wechat:configure login |
| 64 | # Restart Codex session — MCP channel auto-starts via plugin.json mcpServers field |
| 65 | ``` |
| 66 | |
| 67 | ### 4. Panda CLI (Codex) + Feishu (Channel mode) |
| 68 | |
| 69 | ```bash |
| 70 | # Inside Panda CLI / Codex session: |
| 71 | /plugin marketplace add lc2panda/claude-plugin-wechat |
| 72 | /plugin install wechat@lc2panda-plugins |
| 73 | /feishu:configure login |
| 74 | # Restart Codex session — MCP channel auto-starts |
| 75 | ``` |
| 76 | |
| 77 | ### ACP Mode (all platforms, all channels) |
| 78 | |
| 79 | ```bash |
| 80 | # Install globally: |
| 81 | bun add -g github:lc2panda/claude-plugin-wechat |
| 82 | |
| 83 | # WeChat: |
| 84 | wechat-acp # Default: Claude agent |
| 85 | ACP_AGENT=codex wechat-acp # Codex agent |
| 86 | ACP_AGENT=copilot wechat-acp # Copilot agent |
| 87 | ACP_AGENT=gemini wechat-acp # Gemini agent |
| 88 | |
| 89 | # Feishu: |
| 90 | feishu-acp # Default: Claude agent |
| 91 | ACP_AGENT=codex feishu-acp # Codex agent |
| 92 | ``` |
| 93 | |
| 94 | --- |
| 95 | |
| 96 | ## Update Commands |
| 97 | |
| 98 | | Mode | Command | |
| 99 | |------|---------| |
| 100 | | Channel (Claude Code) | `/plugin marketplace update lc2panda-plugins` then `/plugin install wechat@lc2panda-plugins` then restart Claude Code | |
| 101 | | Channel (Panda CLI) | `/plugin marketplace update lc2panda-plugins` then `/plugin install wechat@lc2panda-plugins` then restart Codex session | |
| 102 | | ACP | `bun add -g github:lc2panda/claude-plugin-wechat` then restart wechat-acp / feishu-acp | |
| 103 | |
| 104 | --- |
| 105 | |
| 106 | ## Post-Install Configuration |
| 107 | |
| 108 | ### WeChat credentials |
| 109 | |
| 110 | Skill: `/wechat:configure login` |
| 111 | - Displays QR code in terminal |
| 112 | - User scans with WeChat on phone and confirms |
| 113 | - Credentials saved to `<STATE_DIR>/channels/wechat/credentials.json` |
| 114 | - The scanning WeChat account is auto-allowlisted (no pairing needed) |
| 115 | |
| 116 | ### Feishu credentials |
| 117 | |
| 118 | Skill: `/feishu:configure login` |
| 119 | - Requires App ID + App Secret from Feishu Open Platform (open.feishu.cn) or Lark Developer (open.larksuite.com) |
| 120 | - For Lark (international): run `/feishu:configure domain lark` first |
| 121 | - Required permissions (batch import JSON): `{"scopes":{"tenant":["im:message","im:message.p2p_msg:readonly","im:message.group_at_msg:readonly","im:message:send_as_bot","im:resource"]}}` |
| 122 | - Event subscription: enable "Long connection" mode, add `im.message.receive_v1` |
| 123 | - Credentials saved to `<STATE_DIR>/channels/feishu/credentials.json` |
| 124 | |
| 125 | --- |
| 126 | |
| 127 | ## Verify Installation Success |
| 128 | |
| 129 | 1. **Channel mode**: After launching, send a message from WeChat/Feishu. It appears as `<channel source="wechat" ...>` or `<channel source="feishu" ...>` in the Claude/Codex session. Use the `reply` tool to respond. |
| 130 | 2. **ACP mode**: After `wechat-acp` or `feishu-acp` starts without errors and prints "polling..." or "connected", send a message from the IM app. The agent responds automatically. |
| 131 | 3. **Credential check**: `cat <STATE_DIR>/channels/wechat/credentials.json` (or feishu) should contain `bot_token` (wechat) or `app_id` + `app_secret` (feishu). |
| 132 | |
| 133 | --- |
| 134 | |
| 135 | ## Common Error Troubleshooting |
| 136 | |
| 137 | | Symptom | Solution | |
| 138 | |---------|----------| |
| 139 | | `Channels are not currently available` | Use ACP mode i |