MCP Server WeChat
@panxingfeng
About MCP Server WeChat
基于MCP技术,操作微信发送消息和获取历史记录
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_server_wechat": {
"command": "python",
"args": [
"-m",
"venv",
"venv",
"#",
"创建虚拟环境"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server WeChat?
MCP Server WeChat is an MCP (Model Context Protocol) server that retrieves WeChat chat histories and sends messages using the pywechat library for automation. It is intended for developers building AI or automation tools that need programmatic access to WeChat.
How to use MCP Server WeChat?
Install via pip install mcp_server_wechat and configure the MCP client with either the stdio command or SSE/Streamable HTTP URL. Start the server with the --folder-path argument pointing to your history directory. WeChat Desktop must be logged in and visible during use. Invoke tools such as wechat_get_chat_history, wechat_send_message, wechat_send_multiple_messages, and wechat_send_to_multiple_friends with the required parameters.
Key features of MCP Server WeChat
- Retrieve WeChat chat history for a specific date.
- Send a single message to one contact.
- Send multiple messages to one contact.
- Send single or multiple messages to multiple contacts.
- Supports stdio, SSE, and Streamable HTTP transports.
- Uses the pywechat library for UI automation.
Use cases of MCP Server WeChat
- Automatically archive daily WeChat conversations.
- Send batch notifications or alerts to a group of contacts.
- Integrate WeChat messaging into AI or automation pipelines.
- Build a WeChat-based customer service or broadcast tool.
- Programmatically log and analyze chat histories.
FAQ from MCP Server WeChat
What dependencies are required?
WeChat Desktop must be installed, logged in, and visible. The server relies on Python and the pywechat library.
How are chat histories stored?
Histories are read from the folder specified by the --folder-path argument. The server accesses local files; no external database is needed.
Can I send messages without WeChat Desktop open?
No. The server automates the WeChat Desktop UI, so it must be running and logged in during use.
What transport methods are supported?
Stdio (command), SSE (HTTP endpoint), and Streamable HTTP (MCP endpoint). Configuration examples for each are provided in the README.
Are there any usage restrictions?
Do not manually operate the WeChat window while the server is working. Using this tool to violate WeChat’s Terms of Service is prohibited.
More Other MCP servers
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments