一个基于 ADB 的微信自动化 MCP 服务器,为 AI 助手提供微信消息发送和截图功能。适配雷电模拟器(LDPlayer 9),通过 MCP 协议暴露工具接口。
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-wechat-adb-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
一个基于 ADB 的微信自动化 MCP 服务器,为 AI 助手提供微信消息发送和截图功能,可以实现 AI 自动对多个联系人微信回复不同的个性化消息,满足商务生活需求。适配雷电模拟器(LDPlayer 9),通过 MCP 协议暴露工具接口。蓝耘MCP开发挑战赛作品,MCP入口文件是 main.py
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in communication
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.
MCP server for Kaseya Autotask PSA — 39 tools for companies, tickets, projects, time entries, and more
Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically
MCP Security Weekly
Get CVE alerts and security updates for MCP WeChat ADB Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
一个基于 ADB 的微信自动化 MCP 服务器,为 AI 助手提供微信消息发送和截图功能,可以实现 AI 自动对多个联系人微信回复不同的个性化消息,满足商务生活需求。适配雷电模拟器(LDPlayer 9),通过 MCP 协议暴露工具接口。蓝耘MCP开发挑战赛作品,MCP入口文件是 main.py
send_wechat_message(name, message) - 发送微信消息screen_save() - 截图保存D:\Program\leidian\LDPlayer9\adb.exe devices
查看结果示例:
List of devices attached
127.0.0.1:5555 device
emulator-5554 device
选择第一个端口(如 127.0.0.1:5555)填入 main.py 的 DEVICE 变量可以使用 conda 或者 uv 创建环境,推荐使用 Python 3.13:
# 使用 conda
conda create -n mcp-wechat python=3.13
conda activate mcp-wechat
# 或使用 uv
uv venv
uv pip install "mcp[cli]"
只需要安装 pip install "mcp[cli]" 库即可。
main.py 的 ldplayer_dir 变量main.py 的 DEVICE 变量(如 "127.0.0.1:5555")main.py:
python main.py
运行后会启动 MCP SSE 服务并注册以下工具:
send_wechat_message(name: str, message: str) -> str
screen_save() -> str
screens/ 目录mcp.json 文件中写入:
{
"mcpServers": {
"plus": {
"url": "http://127.0.0.1:8000/sse"
}
}
}
ADBKeyboard.apk 文件不能少,这个是雷电模拟器的 ADB 输入中文需要的插件screens 文件夹下{模拟器路径}\adb.exe devices 命令查看可用的设备端口main.py:MCP 服务入口,注册工具并运行 FastMCP(SSE 传输)。wechat_example.py:封装微信相关操作(进入对话、输入、发送等)。adb_utils.py:ADB 基础能力(连接、点击、输入法激活、截图、分辨率、Activity 检测等)。ADBKeyboard.apk:通过广播输入文本所需的输入法 APK(首次会自动安装并激活)。screens/:截图输出目录(自动创建)。配置好 MCP 后,您可以在 Cursor 的 Agent 中直接使用以下功能:
给 AAA 说我感冒了,写一个请假条发给他
帮我截图
给 AAA、 BBB 发信息说我今晚不回家,分别截图
演示视频:
⚠️ AAA、BBB 需要是微信中联系人或群聊的名字/备注中能搜索到的唯一名称,这样才能根据名字准确找到指定对方并进入对话
🚀 本项目已实现将 adb 操作完美接入MCP,让AI可以自由操作模拟器,随着多模态大模型的发展进步,后续可以将截图输入给具有图像理解和定位能力的大模型(例如GLM-4.5V),让 AI Agent 通过 MCP 能完全自动化地边看边操作每一步,完成任何手机上的任务。
路径分隔符在 Windows 下建议使用原始字符串或双反斜杠,例如:
ldplayer_install_dir = r"D:\\Program\\leidian\\LDPlayer9"
... [View full README on GitHub](https://github.com/DaBaiGoose/MCP-WeChat-ADB-Server#readme)