← 返回
未分类 中文

Windows WeChat MCP

Monitor WeChat window status, search contacts, and send messages on Windows via automated screenshots and input control.
在 Windows 上通过自动截屏和输入控制监测微信窗口状态、搜索联系人并发送消息。
openlark openlark 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 345
下载
💾 0
安装
1
版本
#latest

概述

Windows WeChat MCP

Windows desktop WeChat message monitoring and sending, achieved through window automation.

Prerequisites

  1. The WeChat window must remain open
  2. Python dependencies installed:

```bash

pip install pyautogui pygetwindow pillow pyperclip opencv-python

```

Features

FeatureDescription
----------------------
ScreenshotCapture a screenshot of the WeChat window
Search ContactsSearch for and open a contact's chat window
Send MessagesSend messages to a specified contact
Detached WindowsSupport identification of detached chat windows (Dragon windows)

Usage

1. Send a Message to a Specified Contact

from scripts.server import send_message_to_contact

# Complete flow: Search -> Open chat -> Send
send_message_to_contact("Contact Name", "Message content")

2. Send a Message to the Current Chat Window

from scripts.server import send_message_to_current

send_message_to_current("Message content")

3. Get WeChat Status

from scripts.server import get_wechat_status

status = get_wechat_status()
# Returns: {'status': 'running', 'title': 'WeChat', 'position': {'x': 0, 'y': 0}, 'size': {'width': 1920, 'height': 1080}}

MCP Tools

When called via the MCP protocol, the following tools are provided:

Tool NameDescriptionParameters
------------------------------------
wechat_get_statusGet the WeChat window statusNone
wechat_send_messageSend a message to the current chat windowmessage: Message content

Notes

  1. The WeChat window is automatically activated when sending messages
  2. Chinese input requires the system's Chinese input method to function properly
  3. Supports sending messages to detached chat windows (separately opened Dragon windows)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 01:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 475 📥 157,536
office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 937 📥 187,717
content-creation

Toutiao Graphic Publisher

openlark
通过浏览器自动化在头条发布图文内容,支持智能排版、自动生成热门标签等功能。
★ 2 📥 1,037