About Wechat Mcp
Wechat Mcp connects WeChat with MCP clients through tools for reading and sending messages and querying message data. WeChat must be logged in before the service starts.
Key features
- 01Retrieve WeChat messages
- 02Get the latest message
- 03Query messages with SQL
- 04Send WeChat messages
- 05SSE and stdio transports
Use cases
- 01Read WeChat conversations
- 02Check the latest received message
- 03Query message records
- 04Send WeChat messages through MCP
MCP support
The service exposes tools for reading, querying, and sending WeChat messages to MCP clients, with SSE and stdio transports.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEinstall
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_message
client config
sse
stdio
{
"mcpServers": {
"wechat-mcp": {
"command": "cmd",
"args": ["/c", "python", "-m", "wechat_mcp"]
},
}
}
感谢以下开源项目的支持
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.