Metadata-Version: 2.4
Name: wechat-mcp
Version: 0.1.11
Summary: 微信mcp服务,实现消息收发
Author-email: noah <781172480@qq.com>
Keywords: mcp,mcp server,tool calling,function calling
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.28.1
Requires-Dist: mcp[cli]>=1.5.0
Requires-Dist: pywxdump>=3.1.45
Requires-Dist: wxauto>=3.9.11.17.5
Provides-Extra: dev
Requires-Dist: cython; extra == "dev"

# install
```bash
pip install wechat-mcp
```

需要先登陆微信

# start sse
```bash
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
http://127.0.0.1:8000/sse

## stdio
```json
{
  "mcpServers": {
    "wechat-mcp": {
      "command": "cmd",
      "args": ["/c", "python", "-m", "wechat_mcp"]
    },
  }
}
```

# 感谢以下开源项目的支持
- [wxauto](https://github.com/cluic/wxauto) 微信自动化
- [pywxdump](https://github.com/xaoyaoo/PyWxDump) wxdump
