Metadata-Version: 2.4
Name: iflow-mcp_jettchent-experiments
Version: 0.1.0
Summary: Add your description here
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.28.1
Requires-Dist: mcp[cli]>=1.2.0
Requires-Dist: pydantic>=2.10.5
Requires-Dist: rich>=13.9.4

# WeChat MCP

Work-In-Progress Documentation

## 依赖

- Mac 微信 3.x
- 电脑里装好 `uv`
- 更具 [wechat-exporter](https://github.com/JettChenT/wechat-exporter/blob/main/README.cn.md) 的教程安装修改版微信

## 使用

在 `claude_desktop_config.json` 中添加:

```json
{
    "mcpServers": {
        "wechat": {
            "command": "uv", // 或者输入 `uv` 所在的绝对路径
            "args": [
                "--directory",
                "<path-to-wechat-agent>", // 该 git repo 的绝对路径 
                "run",
                "-m",
                "src.mcp"
            ]
        }
    }
}
```

然后进入 claude desktop, enable MCP 即可

使用时建议每一个 conversation 都 share context 加入 `allcontacts://all_contacts` 这个 resource。

![share context](assets/sharecontext.png)

这个MCP提供以下功能:
- 读取与某用户的聊天记录
- 发送消息给某用户
