Wechat Mcp
About
Wechat Mcp is an MCP server that enables interaction with WeChat through MCP-compatible clients. It provides tools to retrieve messages, send messages, and query message data using SQL. The server is built on top of the open-source projects wxauto and pywxdump. It is intended…
Details
- Author
- DarkNoah
- GitHub stars
- 7
- Downloads
- 367
- Categories
- Other
Jump to
- Retrieve WeChat messages with get_wechat_message
- Fetch the latest message using get_last_wechat_message
- Run SQL queries on messages with sql_wechat_message
- Send messages via send_wechat_message
- Supports both SSE and stdio transports
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Wechat McpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the package via pip (pip install wechat-mcp), then log into WeChat on the same machine. Start the server with wechat-mcp --wxid "your_wechat_id" --port 8000 --transport sse for SSE mode, or configure a stdio client using the provided JSON snippet. The server exposes endpoints at http://127.0.0.1:8000/sse for SSE transport.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"wechat mcp": {
"wechat-mcp": {
"command": "cmd",
"args": [
"/c",
"python",
"-m",
"wechat_mcp",
"--wxid",
"xxxxxxxx"
]
}
}
}
}
McpServers
{
"wechat-mcp": {
"command": "cmd",
"args": [
"/c",
"python",
"-m",
"wechat_mcp",
"--wxid",
"xxxxxxxx"
]
}
}
install
pip install wechat-mcp
需要先登陆微信
start sse
wechat-mcp --wxid "your_wechat_id" --port 8000 --transport sse
tool list
- get_wechat_message - get_last_wechat_message - sql_wechat_message - send_wechat_messageclient config
sse
http://127.0.0.1:8000/ssestdio
{
"mcpServers": {
"wechat-mcp": {
"command": "cmd",
"args": ["/c", "python", "-m", "wechat_mcp"]
},
}
}
感谢以下开源项目的支持
- wxauto 微信自动化 - pywxdump wxdumpSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



