wxauto-mcp
自动化微信操作的mcp server
Documentation
wxauto-mcp
一个基于微信自动化的MCP服务器,用于与微信客户端交互。
该服务器利用wxauto库实现微信消息的发送和接收功能,使大语言模型能够通过wxauto与微信进行交互。
⚠️注意
本mcp server只适用windows系统,且对微信版本有一定限制, 详情请参考wxauto文档
功能特点
工具
该服务器提供以下工具:
- send_message: 向指定联系人或群组发送消息
- 参数:
- `msg`: 要发送的消息内容 (必填)
- `to`: 接收消息的联系人或群组名称 (必填)
- `at`: 在群消息中@的人 (可选)
- 返回值: 无
- 参数:
- get_all_messages: 获取与指定联系人或群组的聊天记录
- 参数:
- `who`: 联系人或群组名称 (必填)
- `load_more`: 是否加载更多历史消息 (可选,默认为False)
- 返回值: 消息列表,仅包含类型为'friend'的消息,每条消息包含发送者和内容信息
- 参数:
使用方法
安装uv
参考uv官方安装文档
配置wxauto-mcp
git clone https://github.com/barantt/wxauto-mcp.git
cd wxauto-mcp
uv syncClaude Desktop 配置
要在Claude Desktop中使用,请添加服务器配置:
在Windows上:`%APPDATA%/Claude/claude_desktop_config.json`
"mcpServers": {
"wxauto-mcp": {
"command": "uv",
"args": [
"--directory",
"path\\to\\wxauto-mcp",
"run",
"wxauto_mcp.py"
]
}
}Cursor配置
在Cursor中使用,请在Cursor的MCP配置文件中添加以下内容:
在Windows上:`%USERPROFILE%\.cursor\mcp.json`
"mcpServers": {
"wxauto-mcp": {
"command": "uv",
"args": [
"--directory",
"path\\to\\wxauto-mcp",
"run",
"wxauto_mcp.py"
]
}
}Frequently asked questions
What is wxauto-mcp?
wxauto-mcp is 自动化微信操作的mcp server
How do I install wxauto-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is wxauto-mcp open source?
Yes — it is hosted on GitHub at https://github.com/barantt/wxauto-mcp and has 30 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP