wechat-use
Give AI agents a real WeChat desktop they can see and operate.
Install / Use
claude mcp add invzhi -- npx -y github:invzhi/wechat-useIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of wechat-use
wechat-use scores 80/100 on our quality scale, 3625th of 4,728 Development & Engineering skills we index.
Its MCP Server is 3.5 KB long, well organised into 8 sections with 4 code examples: a solid amount of guidance for an agent.
It has 44 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 2 days ago, so wechat-use is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
wechat-use compared with similar skills
All 4 of these similar skills score higher than wechat-use; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| wechat-use (this skill)by invzhi | 80 | 44 | 2d ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 122.6k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 115.6k | 4d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.9k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
Frequently asked questions
- How do I install wechat-use?
- Run
claude mcp add invzhi -- npx -y github:invzhi/wechat-use. The install tabs above show the steps for each supported agent. - Which AI agents does wechat-use work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is wechat-use safe to use?
- It is Apache-2.0-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is wechat-use still maintained?
- The repository was last updated 2 days ago, so wechat-use is actively maintained.
Skill content
View source on GitHubwechat-use
Give AI agents a real WeChat desktop they can see and operate.
wechat-use provides a persistent, agent-ready Linux WeChat environment. An AI agent connects to a token-protected MCP endpoint to automate the desktop, while a human can use the same environment in a browser to sign in, supervise the agent, or take over when needed.
Docker packages WeChat, its desktop dependencies, Chinese input support, and the automation service into a reproducible environment. It is the delivery mechanism; the goal is to make WeChat a practical tool for AI agents.
What it provides
- MCP desktop automation: Let compatible AI agents interact with WeChat through a single automation endpoint.
- A real desktop: Preserve the full WeChat graphical interface instead of relying on an unofficial chat API.
- Human supervision and handoff: Open the same desktop in a browser to scan the login QR code, inspect the agent's work, or take control.
- Persistent workspaces: Keep login state and received files across restarts and updates.
- Reproducible deployment: Use Docker Compose to run the desktop and automation service with their required dependencies.
How it works
AI agent -> MCP -> Automation service -> Linux WeChat desktop <- Browser - Human
The agent and the human share the same WeChat session. The MCP endpoint is intended for agent automation; browser access is intended for setup, supervision, and manual intervention.
Requirements
- A computer with Docker Engine and Docker Compose.
- A WeChat account and a residential IP address.
- Available ports
5800for the browser desktop and3211for automation.
Important: Do not run WeChat without a residential IP address.
Get started
-
Create your local configuration:
cp .env.example .env -
Generate a private automation token:
openssl rand -hex 32Add it to
.env:CUA_ENV_TOKEN=your-generated-token -
Start the WeChat workspace:
docker compose up -d -
Open http://localhost:5800 and scan the QR code to sign in.
If you are accessing WeChat from another computer, replace localhost with the Docker host's address. Only use a trusted network or a secure tunnel.
Connect an AI agent
Configure an MCP-compatible agent with this endpoint:
http://localhost:3211/mcp
Use the token from .env as a bearer token:
Authorization: Bearer <CUA_ENV_TOKEN>
Once connected, the agent can automate the same desktop visible in your browser. Keep the browser session available for QR-code sign-in, verification challenges, and any actions that require human approval.
Your data
WeChat saves your login state and files in:
wechat/.xwechatwechat/xwechat_files
Keep both directories to preserve your agent's workspace when updating or restarting. Back them up regularly, and stop WeChat before making a backup:
docker compose down
These directories contain sensitive account data and personal files. Keep them private.
Security
The browser desktop does not include authentication or encryption. Do not expose ports 5800 or 3211 to the public internet. Use a trusted local network, firewall rules, or a secure tunnel, and keep your automation token private.
An agent operating WeChat can act through your account and access information available in the desktop session. Supervise its actions, limit access to trusted agents, and require human confirmation for sensitive operations.
Related Skills
taste-skill
122.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
115.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.9kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
