Add MCP dependency and pin versions (#1)

feat/daemon-cli
dsjzazs 2026-03-14 15:13:28 +08:00 committed by GitHub
parent 8e8edc649c
commit 2e03247fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 9 deletions

View File

@ -49,6 +49,14 @@ Linux
pip install -r requirements.txt
```
Windows 如果遇到权限不足或全局环境不可写,可以改用:
```bash
py -m pip install --user -r requirements.txt
```
如果需要读取受保护的进程或把依赖安装到系统 Python也可能需要以管理员身份打开终端。
### 快速开始
Windows
@ -104,7 +112,7 @@ Linux 版 `config.json` 示例:
将微信数据查询能力接入 [Claude Code](https://claude.ai/claude-code),让 AI 直接读取你的微信消息。
```bash
pip install mcp
pip install -r requirements.txt
```
注册到 Claude Code

View File

@ -149,12 +149,12 @@ Claude 会调用 `get_chat_history(chat_name="██群", limit=500)` 获取消
## Setup / 配置方法
```bash
# 1. 安装依赖
pip install mcp pycryptodome
# 2. 注册到 Claude Code
claude mcp add wechat -- python C:\path\to\mcp_server.py
```bash
# 1. 安装依赖
pip install -r requirements.txt
# 2. 注册到 Claude Code
claude mcp add wechat -- python C:\path\to\mcp_server.py
# 3. 在 Claude Code 中直接对话
claude

View File

@ -1,2 +1,3 @@
pycryptodome
zstandard
pycryptodome>=3.19,<4
zstandard>=0.22,<1
mcp>=1.0,<2