loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

claude-weixin-channel

MCP Tool

weicyruc/claude-weixin-channel

🤖 将 Claude Code 接入微信私信 | Connect Claude Code to WeChat via official iLink API

Install

$ npx loaditout add weicyruc/claude-weixin-channel

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "claude-weixin-channel": {
      "command": "npx",
      "args": [
        "-y",
        "claude-weixin-channel"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

<div align="center">

🤖 Claude Code × WeChat

将 Claude AI 接入微信私信 — 官方 iLink API · 零中间层 · 开箱即用

[](LICENSE) [](https://bun.sh) [](https://www.typescriptlang.org) [](https://modelcontextprotocol.io) [](https://ilinkai.weixin.qq.com)

English · 快速开始 · 架构原理 · 配置参考

---

> 让你的微信私信直接对话 Claude Code,扫码登录,5 分钟上线。

</div>

---

✨ 功能亮点

| 功能 | 说明 | |------|------| | 🔐 扫码登录 | 使用微信官方 iLink API,扫一下二维码即完成授权,无需抓包或第三方框架 | | ⚡ 零中间层 | MCP Server 直连微信 iLink 后端,消息延迟极低 | | 🛡️ 访问控制 | 内置 Pairing(配对码)/ Allowlist 双模式,防止陌生人滥用 | | 📨 长轮询 | 后台持续轮询,消息实时送达 Claude Code | | 🔄 自动分段 | 超 4000 字的回复自动拆分发送,微信不截断 | | 📜 消息历史 | 内存维护最近 50 条对话记录,支持 fetch_messages 回溯 | | 🎯 MCP Channel 协议 | 原生对接 Claude Code --channels 标志,与 Discord 插件同等地位 |

---

架构原理
┌──────────────┐     微信私信      ┌─────────────────────────┐
│   微信用户    │ ──────────────▶  │  WeChat iLink API        │
│  (手机端)    │                  │  ilinkai.weixin.qq.com   │
└──────────────┘                  └────────────┬────────────┘
                                               │ 长轮询 (getupdates)
                                               ▼
                                  ┌─────────────────────────┐
                                  │   server.ts (Bun)        │
                                  │   MCP Channel Server     │
                                  │                         │
                                  │  • 访问控制       

Tags

aianthropicbunchatbotclaude-codemcptypescriptwechat

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated27 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/22/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/weicyruc/claude-weixin-channel)](https://loaditout.ai/skills/weicyruc/claude-weixin-channel)