@bsbofmusic/agent-reach-mcp 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +197 -264
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,114 +1,126 @@
1
1
  # Agent-Reach MCP
2
2
 
3
- > ✅ 导入 MCP 即用 | ✅ 完整能力(exec | ✅ 自发现(list | ✅ 自动更新(latest) | ✅ 可诊断(doctor)|启动自愈(bootstrap)
3
+ > ✅ One-click enable | ✅ Full capability (exec) | ✅ Self-discovery (list) | ✅ Auto-update | ✅ Diagnosable (doctor) | Bootstrap self-healing
4
4
 
5
5
  MCP (stdio) server that provides full access to [Agent-Reach](https://github.com/Panniantong/Agent-Reach) for OpenCode / Claude Code / Cursor.
6
6
 
7
7
  ---
8
8
 
9
- ## 封装声明 / Wrapper Notice
9
+ ## Wrapper Notice
10
10
 
11
- 本项目是对上游项目 **Agent-Reach** MCP 封装(wrapper),用于通过 MCP 接口调用其功能。
11
+ This project is an MCP wrapper for **Agent-Reach**, enabling its functionality through the MCP protocol.
12
12
 
13
- - **上游项目地址**: https://github.com/Panniantong/Agent-Reach
14
- - **本项目不是上游项目的官方发布**
15
- - 上游项目的名称、商标与版权归其各自权利人所有
16
- - 上游项目按其许可证条款(MIT)授权使用;本项目已在 THIRD_PARTY_NOTICES.md 中包含上游许可证声明。
13
+ - **Upstream Project**: [Agent-Reach](https://github.com/Panniantong/Agent-Reach)
14
+ - **This is NOT an official release** of Agent-Reach
15
+ - Upstream project name, trademark, and copyright belong to their respective owners
16
+ - Upstream project is licensed under MIT; see [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md)
17
17
 
18
18
  ---
19
19
 
20
- ## 一键启用
20
+ ## Quick Start
21
+
22
+ ### One-Click Enable (Recommended)
23
+
24
+ ```json
25
+ {
26
+ "command": ["node", "FULL_PATH_TO_INDEX_JS"],
27
+ "type": "stdio"
28
+ }
29
+ ```
30
+
31
+ Or via npx (may have Windows JScript issues):
21
32
 
22
33
  ```json
23
34
  {
24
- "command": "npx",
25
- "args": ["-y", "@bsbofmusic/agent-reach-mcp@latest"],
35
+ "command": ["npx", "-y", "@bsbofmusic/agent-reach-mcp@latest"],
26
36
  "type": "stdio"
27
37
  }
28
38
  ```
29
39
 
30
- **启用后自动完成**:
31
- 1. 🔍 环境检测(OS、Python、Node.js、网络)
32
- 2. 📦 自动安装 Python venv
33
- 3. 🔄 自动安装/升级 Agent-Reach 到最新版
34
- 4. Smoke test 验证可用性
40
+ ### What happens on enable:
41
+
42
+ 1. 🔍 Environment detection (OS, Python, Node.js, network)
43
+ 2. 📦 Auto-install Python venv
44
+ 3. 🔄 Auto-install/upgrade Agent-Reach to latest
45
+ 4. 🐳 Auto-install Docker Desktop (Windows: winget/choco, macOS: brew)
46
+ 5. ✅ Smoke test verification
35
47
 
36
48
  ---
37
49
 
38
- ## 是什么
50
+ ## What is Agent-Reach?
39
51
 
40
- Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 TwitterRedditYouTubeGitHubBilibili、小红书一个 CLI,零 API 费用。
52
+ Agent-Reach gives your AI Agent "eyes to see the entire internet". Read and search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu one CLI, zero API fees.
41
53
 
42
- | 平台 | 功能 | 状态 |
43
- |------|------|------|
44
- | 🌐 网页 | Jina Reader 读取任意网页 | ✅ 开箱即用 |
45
- | 📺 YouTube | 字幕提取 + 视频搜索 | ✅ 开箱即用 |
46
- | 📡 RSS | 读取任意 RSS/Atom | ✅ 开箱即用 |
47
- | 🐦 Twitter/X | 读取推文、搜索 | ⚙️ 需配置 bird CLI |
48
- | 📖 Reddit | 搜索、读取帖子评论 | ⚙️ 需配置代理 |
49
- | 📦 GitHub | 读取公开仓库、搜索 | ⚙️ 需安装 gh CLI |
50
- | 📺 Bilibili | 字幕提取 + 搜索 | ⚙️ 需配置代理 |
51
- | 📕 小红书 | 搜索、阅读 | ⚙️ 需配置 mcporter |
52
- | 🔍 全网搜索 | Exa AI 语义搜索 | ⚙️ 需配置 mcporter |
54
+ | Platform | Feature | Status |
55
+ |----------|---------|--------|
56
+ | 🌐 Web Pages | Jina Reader (any URL) | ✅ Ready |
57
+ | 📺 YouTube | Transcript + video search | ✅ Ready |
58
+ | 📡 RSS | Read any RSS/Atom feed | ✅ Ready |
59
+ | 🐦 Twitter/X | Read tweets, search | ⚙️ Needs bird CLI |
60
+ | 📖 Reddit | Search, read posts/comments | ⚙️ Needs proxy |
61
+ | 📦 GitHub | Read repos, search | ⚙️ Needs gh CLI |
62
+ | 📺 Bilibili | Transcript + search | ⚙️ Needs proxy |
63
+ | 📕 XiaoHongShu | Search, read notes | ⚙️ Needs Docker |
64
+ | 🎵 Douyin | Parse video, get download URL | ⚙️ Needs Docker |
65
+ | 🔍 Web Search | Exa AI semantic search | ⚙️ Needs mcporter |
53
66
 
54
67
  ---
55
68
 
56
- ## 5 个核心工具(必须实现)
69
+ ## 5 Core Tools (Required)
57
70
 
58
- | 工具 | 说明 |
59
- |------|------|
60
- | `reach_ensure` | ✅ 准备环境 + 升级到最新(幂等)|
61
- | `reach_doctor` | ✅ 诊断所有平台渠道状态 + nextSteps |
62
- | `reach_exec` | ✅ 万能入口 - 完美复刻所有功能 |
63
- | `reach_list_commands` | ✅ 能力自发现 - 列出所有子命令 |
64
- | `reach_version` | ✅ 输出版本信息 + bootstrap 状态 |
71
+ | Tool | Description |
72
+ |------|-------------|
73
+ | `reach_ensure` | ✅ Full self-healing: reinstall/upgrade + auto-install deps |
74
+ | `reach_doctor` | ✅ Diagnose all platform channels + output nextSteps |
75
+ | `reach_exec` | ✅ Universal entry - perfect replica of all features |
76
+ | `reach_list_commands` | ✅ Self-discovery - list all subcommands |
77
+ | `reach_version` | ✅ Version info + bootstrap status |
65
78
 
66
79
  ---
67
80
 
68
- ## 完整工具列表
81
+ ## Complete Tool List
69
82
 
70
- ### 核心
83
+ ### Core
71
84
 
72
- | 工具 | 说明 |
73
- |------|------|
74
- | `reach_ensure` | 确保 venv 存在并升级到最新 Agent-Reach |
75
- | `reach_doctor` | 诊断所有平台渠道状态,输出 nextSteps |
76
- | `reach_version` | 显示 MCP + Agent-Reach 版本 + bootstrap 状态 |
77
- | `reach_check_update` | 检查 GitHub 是否有新版本 |
78
- | `reach_watch` | 快速健康检查(适合定时任务)|
79
- | `reach_list_commands` | 列出所有可用子命令 |
85
+ | Tool | Description |
86
+ |------|-------------|
87
+ | `reach_ensure` | Ensure venv exists, upgrade to latest Agent-Reach |
88
+ | `reach_doctor` | Diagnose all platform channels, output nextSteps |
89
+ | `reach_version` | Show MCP + Agent-Reach version + bootstrap status |
90
+ | `reach_check_update` | Check for new versions on GitHub |
91
+ | `reach_watch` | Quick health check (for cron tasks) |
92
+ | `reach_list_commands` | List all available subcommands |
80
93
 
81
- ### 安装与配置
94
+ ### Install & Configure
82
95
 
83
- | 工具 | 说明 |
84
- |------|------|
85
- | `reach_install` | 安装系统依赖(gh CLI, Node.js, bird, mcporter)|
86
- | `reach_configure` | 设置配置(proxy, token, cookies)|
87
- | `reach_setup` | 交互式配置向导 |
96
+ | Tool | Description |
97
+ |------|-------------|
98
+ | `reach_install` | Install system dependencies (gh CLI, bird, mcporter) |
99
+ | `reach_configure` | Set config (proxy, token, cookies) |
100
+ | `reach_setup` | Interactive configuration wizard |
88
101
 
89
- ### 读取与搜索
102
+ ### Read & Search
90
103
 
91
- | 工具 | 说明 |
92
- |------|------|
93
- | `reach_read` | 读取任意 URLJina Reader)|
94
- | `reach_search_twitter` | 搜索 Twitter(需 bird CLI)|
95
- | `reach_search_xhs` | 搜索小红书(需 mcporter)|
96
- | `reach_search_web` | 全网搜索(Exa)|
97
- | `reach_search_github` | 搜索 GitHub(需 gh CLI)|
104
+ | Tool | Description |
105
+ |------|-------------|
106
+ | `reach_read` | Read any URL (Jina Reader) |
107
+ | `reach_search_twitter` | Search Twitter (needs bird CLI) |
108
+ | `reach_search_xhs` | Search XiaoHongShu (needs mcporter) |
109
+ | `reach_search_douyin` | Parse Douyin video (needs mcporter) |
110
+ | `reach_search_web` | Web search (Exa) |
111
+ | `reach_search_github` | Search GitHub (needs gh CLI) |
98
112
 
99
- ### 高级
113
+ ### Advanced
100
114
 
101
- | 工具 | 说明 |
102
- |------|------|
103
- | `reach_exec` | 🔧 万能入口 - 执行任意子命令 |
115
+ | Tool | Description |
116
+ |------|-------------|
117
+ | `reach_exec` | 🔧 Universal entry - execute any subcommand |
104
118
 
105
119
  ---
106
120
 
107
- ## 使用示例
121
+ ## Usage Examples
108
122
 
109
- ### 首次使用(自动完成)
110
-
111
- 启用 MCP 后,会自动执行 bootstrap 确保。也可手动触发:
123
+ ### First Use (Auto Bootstrap)
112
124
 
113
125
  ```json
114
126
  {
@@ -116,21 +128,21 @@ Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 Twitter
116
128
  }
117
129
  ```
118
130
 
119
- **输出示例**:
131
+ **Example Output**:
120
132
  ```
121
- # reach_ensure 结果
133
+ # reach_ensure Result
122
134
 
123
- 状态:成功
135
+ Status:Success
124
136
 
125
- ## 执行日志
137
+ ## Execution Log
126
138
  - venv_check: OK (0ms)
127
139
  - upgrade_pip: OK (2341ms)
128
140
  - install_agent_reach: OK (5678ms)
129
141
 
130
- 版本: 1.2.0
142
+ Version: 1.2.0
131
143
  ```
132
144
 
133
- ### 诊断
145
+ ### Diagnosis
134
146
 
135
147
  ```json
136
148
  {
@@ -138,22 +150,7 @@ Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 Twitter
138
150
  }
139
151
  ```
140
152
 
141
- **输出示例**:
142
- ```
143
- # reach_doctor 诊断报告
144
-
145
- 👁️ Agent Reach 状态
146
- ========================================
147
- ✅ YouTube 视频和字幕 — 可提取视频信息和字幕
148
- ✅ RSS/Atom 订阅源 — 可读取 RSS/Atom 源
149
- ❌ Twitter/X 推文 — bird CLI 未安装
150
-
151
- ## Next Steps
152
- - Install bird CLI: npm install -g @steipete/bird
153
- - Configure cookies: reach_configure with twitter-cookies
154
- ```
155
-
156
- ### 读取网页
153
+ ### Read Web Page
157
154
 
158
155
  ```json
159
156
  {
@@ -162,7 +159,7 @@ Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 Twitter
162
159
  }
163
160
  ```
164
161
 
165
- ### 搜索 Twitter
162
+ ### Search Twitter
166
163
 
167
164
  ```json
168
165
  {
@@ -171,17 +168,7 @@ Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 Twitter
171
168
  }
172
169
  ```
173
170
 
174
- **未安装 bird CLI 时的输出**:
175
- ```
176
- ❌ bird CLI 未安装
177
-
178
- ## Next Steps
179
- - Install: npm install -g @steipete/bird
180
- - Configure cookies: reach_configure with twitter-cookies
181
- - Or use reach_search_web for Exa search instead
182
- ```
183
-
184
- ### 使用万能入口
171
+ ### Universal Entry
185
172
 
186
173
  ```json
187
174
  {
@@ -193,7 +180,7 @@ Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 Twitter
193
180
  }
194
181
  ```
195
182
 
196
- ### 能力自发现
183
+ ### Self-Discovery
197
184
 
198
185
  ```json
199
186
  {
@@ -201,146 +188,101 @@ Agent-Reach 让你的 AI Agent 拥有"互联网之眼"。读取和搜索 Twitter
201
188
  }
202
189
  ```
203
190
 
204
- ### 配置 Twitter Cookie
205
-
206
- ```json
207
- {
208
- "name": "reach_configure",
209
- "arguments": {
210
- "key": "twitter-cookies",
211
- "value": "auth_token=xxx; ct0=yyy"
212
- }
213
- }
214
- ```
215
-
216
- ### 配置代理
217
-
218
- ```json
219
- {
220
- "name": "reach_configure",
221
- "arguments": {
222
- "key": "proxy",
223
- "value": "http://user:pass@ip:port"
224
- }
225
- }
226
- ```
227
-
228
191
  ---
229
192
 
230
- ## 自动更新策略
193
+ ## Auto-Update Strategy
231
194
 
232
- **默认**: 每次工具调用前执行轻量 `ensureLatest()`
195
+ **Default**: Lightweight `ensureLatest()` before each tool call
233
196
 
234
- ### 支持的环境变量
197
+ ### Environment Variables
235
198
 
236
- | 变量 | 默认值 | 说明 |
237
- |------|--------|------|
238
- | `ALWAYS_LATEST` | `1` | 是否自动更新 |
239
- | `UPDATE_STRATEGY` | `simple` | 更新策略(simple/atomic)|
240
- | `NETWORK_REQUIRED` | `1` | 是否需要网络 |
241
- | `CACHE_DIR` | 系统缓存目录 | 缓存位置 |
242
- | `RUNTIME_DIR` | 系统缓存目录/runtime | 运行时目录 |
243
- | `LOG_LEVEL` | `info` | 日志级别(error/info/debug)|
199
+ | Variable | Default | Description |
200
+ |----------|---------|-------------|
201
+ | `ALWAYS_LATEST` | `1` | Auto-update enabled |
202
+ | `UPDATE_STRATEGY` | `simple` | Update strategy (simple/atomic) |
203
+ | `NETWORK_REQUIRED` | `1` | Network required |
204
+ | `AUTO_INSTALL_DEPS` | `1` | Auto-install dependencies |
205
+ | `AUTO_START_DOCKER` | `1` | Auto-start Docker containers |
206
+ | `CACHE_DIR` | System cache | Cache location |
207
+ | `RUNTIME_DIR` | System cache/runtime | Runtime directory |
208
+ | `LOG_LEVEL` | `info` | Log level (error/info/debug) |
244
209
 
245
- ### 更新流程
210
+ ### Update Flow
246
211
 
247
- 1. 检查 venv 是否存在
248
- 2. 检查 bootstrap 时间戳
249
- 3. 执行 `pip install -U https://github.com/Panniantong/agent-reach/archive/main.zip`
250
- 4. 运行 smoke test 验证
251
- 5. 记录 bootstrap 时间戳
212
+ 1. Check if venv exists
213
+ 2. Check bootstrap timestamp
214
+ 3. Run `pip install -U https://github.com/Panniantong/agent-reach/archive/main.zip`
215
+ 4. Run smoke test
216
+ 5. Record bootstrap timestamp
252
217
 
253
- **失败处理**: 更新失败不会破坏现有可用版本,返回 nextSteps 修复建议。
218
+ **Failure handling**: Update failure won't break existing version, returns nextSteps for fix.
254
219
 
255
220
  ---
256
221
 
257
- ## 环境要求
222
+ ## Environment Requirements
258
223
 
259
- ### 启动时自动检测
224
+ ### Auto-Detection on Start
260
225
 
261
- - OS / CPU 架构
262
- - Python 版本(需要 3.10+)
263
- - Node.js 版本
264
- - 网络可达性
265
- - 磁盘空间
226
+ - OS / CPU architecture
227
+ - Python version (requires 3.10+)
228
+ - Node.js version
229
+ - Network availability
230
+ - Disk space
266
231
 
267
- ### 运行时目录
232
+ ### Runtime Directories
268
233
 
269
- | 平台 | 目录 |
270
- |------|------|
234
+ | Platform | Directory |
235
+ |----------|-----------|
271
236
  | Windows | `%LOCALAPPDATA%\agent-reach-mcp\` |
272
237
  | macOS | `~/Library/Caches/agent-reach-mcp/` |
273
238
  | Linux | `~/.cache/agent-reach-mcp/` |
274
239
 
275
- ### 平台特定要求
276
-
277
- | 平台 | 要求 |
278
- |------|------|
279
- | Twitter | bird CLI + twitter-cookies |
280
- | 小红书 | mcporter + xiaohongshu-mcp Docker |
281
- | Reddit | 代理(服务器 IP 被封)|
282
- | Bilibili | 代理(服务器 IP 被封)|
283
- | GitHub | gh CLI(提高速率限制)|
284
- | 全网搜索 | mcporter + Exa MCP |
285
-
286
240
  ---
287
241
 
288
- ## 推荐工作流
242
+ ## Recommended Workflow
289
243
 
290
- 1. **启用 MCP** → 自动 bootstrap
291
- 2. **诊断**: `reach_doctor` 查看渠道状态
292
- 3. **发现**: `reach_list_commands` 查看可用命令
293
- 4. **配置**: `reach_configure` 配置 cookies/代理
294
- 5. **使用**: 搜索/读取工具 `reach_exec`
244
+ 1. **Enable MCP** → Auto bootstrap
245
+ 2. **Diagnose**: `reach_doctor` to see channel status
246
+ 3. **Discover**: `reach_list_commands` to see available commands
247
+ 4. **Configure**: `reach_configure` for cookies/proxy
248
+ 5. **Use**: Search/read tools or `reach_exec`
295
249
 
296
250
  ---
297
251
 
298
- ## 验证矩阵
252
+ ## Verification Matrix
299
253
 
300
- ### A. 一键部署验证
254
+ ### A. One-Click Deployment
301
255
 
302
- **目标**: 只需启用 MCP,全自动收集并安装依赖
256
+ **Target**: Just enable MCP, auto-collect and install dependencies
303
257
 
304
- **验证步骤**:
258
+ **Steps**:
305
259
  ```bash
306
- # 1. 清空缓存
260
+ # 1. Clear cache
307
261
  rm -rf ~/Library/Caches/agent-reach-mcp # macOS
308
262
  rd /s /q %LOCALAPPDATA%\agent-reach-mcp # Windows
309
263
 
310
- # 2. 重启 MCP
264
+ # 2. Restart MCP
311
265
 
312
- # 3. 调用版本检查
266
+ # 3. Call version check
313
267
  reach_version
314
268
  ```
315
269
 
316
- **预期输出(成功)**:
270
+ **Expected Output (Success)**:
317
271
  ```
318
272
  === Agent-Reach MCP Version Info ===
319
273
 
320
- MCP Version: 1.0.0
274
+ MCP Version: 1.2.0
321
275
  Agent-Reach Version: 1.2.0
322
276
  Bootstrap Status: ✅ OK
323
277
  Update Strategy: simple (alwaysLatest: true)
324
278
  Runtime Dir: /Users/xxx/Library/Caches/agent-reach-mcp/runtime
325
279
  ```
326
280
 
327
- **预期输出(失败 - Python)**:
328
- ```
329
- ⚠️ MCP 未完全就绪
330
-
331
- Bootstrap 失败,部分功能可能不可用。
332
- 错误类型: python_missing
281
+ ### B. Perfect Replica Verification ✅
333
282
 
334
- Next Steps:
335
- - Install Python 3.10+ from https://www.python.org/downloads/
336
- - Ensure Python is added to PATH during installation
337
- ```
283
+ **Target**: No capability loss after wrapping
338
284
 
339
- ### B. 完美复刻验证 ✅
340
-
341
- **目标**: 封装后能力不缩水,新增命令自动支持
342
-
343
- **验证命令**:
285
+ **Verification Commands**:
344
286
  ```json
345
287
  {"name": "reach_exec", "arguments": {"subcommand": "version"}}
346
288
  {"name": "reach_exec", "arguments": {"subcommand": "doctor"}}
@@ -349,112 +291,104 @@ Next Steps:
349
291
  {"name": "reach_exec", "arguments": {"subcommand": "setup"}}
350
292
  ```
351
293
 
352
- **判定标准**: 所有命令执行成功,输出与原 CLI 一致
353
-
354
- ### C. 稳定健全验证 ✅
294
+ **Criteria**: All commands execute successfully, output matches original CLI
355
295
 
356
- **目标**: 自检 / 自愈 / 清晰错误 / 可观测日志
296
+ ### C. Stability Verification
357
297
 
358
- **验证步骤**:
359
- 1. 调用 `reach_doctor` → 检查输出包含 nextSteps
360
- 2. 破坏 venv → 调用 `reach_ensure` → 确认修复
361
- 3. 调用不存在的命令 → 检查错误输出
298
+ **Target**: Self-check / Self-healing / Clear errors / Observable logs
362
299
 
363
- **预期输出(doctor)**:
364
- ```
365
- # reach_doctor 诊断报告
366
- ...
367
- ## Next Steps
368
- - Install bird CLI: npm install -g @steipete/bird
369
- ```
300
+ **Steps**:
301
+ 1. Call `reach_doctor` → Check output includes nextSteps
302
+ 2. Break venv → Call `reach_ensure` → Confirm fix
303
+ 3. Call non-existent command → Check error output
370
304
 
371
- ### D. 自动更新验证
305
+ ### D. Auto-Update Verification
372
306
 
373
- **目标**: 每次调用前升级到最新版本
307
+ **Target**: Upgrade to latest on each call
374
308
 
375
- **验证步骤**:
376
- 1. 调用 `reach_version` 记录版本
377
- 2. 等待上游更新
378
- 3. 再次调用任意工具
379
- 4. 检查 `reach_version` 是否更新
309
+ **Steps**:
310
+ 1. Call `reach_version` to record version
311
+ 2. Wait for upstream update
312
+ 3. Call any tool again
313
+ 4. Check if `reach_version` updated
380
314
 
381
- ### E. 部署即用验证
315
+ ### E. Deploy-Ready Verification
382
316
 
383
- **目标**: 重启 Agent 后自动恢复
317
+ **Target**: Auto-recover after Agent restart
384
318
 
385
- **验证步骤**:
386
- 1. 启用 MCP
387
- 2. 重启 Agent
388
- 3. 调用任意工具
389
- 4. 确认无需手动操作
319
+ **Steps**:
320
+ 1. Enable MCP
321
+ 2. Restart Agent
322
+ 3. Call any tool
323
+ 4. Confirm no manual action needed
390
324
 
391
- ### F. 失败场景验证
325
+ ### F. Failure Scenarios
392
326
 
393
- | 场景 | 触发方式 | 预期 nextSteps |
394
- |------|---------|----------------|
395
- | 断网 | 关闭网络 | 检查网络连接 |
396
- | Python | 移除 PATH | 安装 Python 3.10+ |
397
- | venv 损坏 | 删除 venv 目录 | reach_ensure 会自动重建 |
398
- | bird 未安装 | reach_search_twitter | npm install -g @steipete/bird |
327
+ | Scenario | Trigger | Expected nextSteps |
328
+ |----------|---------|-------------------|
329
+ | No network | Close network | Check network connection |
330
+ | No Python | Remove from PATH | Install Python 3.10+ |
331
+ | venv corrupted | Delete venv dir | reach_ensure will rebuild |
332
+ | bird not installed | reach_search_twitter | npm install -g @steipete/bird |
399
333
 
400
334
  ---
401
335
 
402
- ## 常见错误与排障
336
+ ## Troubleshooting
403
337
 
404
- ### `python_missing`
338
+ ### Python Missing
405
339
 
406
- **原因**: 系统未安装 Python
340
+ **Cause**: Python not installed
407
341
 
408
- **修复**:
409
- - 安装 Python 3.10+: https://www.python.org/downloads/
410
- - 确保勾选 "Add Python to PATH"
342
+ **Fix**:
343
+ - Install Python 3.10+: https://www.python.org/downloads/
344
+ - Ensure "Add Python to PATH" is checked during installation
411
345
 
412
- ### `network_error`
346
+ ### Network Error
413
347
 
414
- **原因**: 无法访问 GitHub
348
+ **Cause**: Cannot access GitHub
415
349
 
416
- **修复**:
417
- - 检查网络连接
418
- - 配置代理: `HTTP_PROXY`, `HTTPS_PROXY`
419
- - 或设置 `NETWORK_REQUIRED=0`
350
+ **Fix**:
351
+ - Check network connection
352
+ - Configure proxy: `HTTP_PROXY`, `HTTPS_PROXY`
353
+ - Or set `NETWORK_REQUIRED=0`
420
354
 
421
- ### `venv_failed`
355
+ ### venv Failed
422
356
 
423
- **原因**: Python venv 模块不可用
357
+ **Cause**: Python venv module not available
424
358
 
425
- **修复**:
426
- - 确保安装了完整的 Python(非精简版)
359
+ **Fix**:
360
+ - Ensure full Python installed (not minimal)
427
361
  - Linux: `sudo apt install python3-venv`
428
362
 
429
- ### Bootstrap 未完成的工具调用
363
+ ### Bootstrap Incomplete
430
364
 
431
- **错误信息**:
365
+ **Error**:
432
366
  ```
433
- ⚠️ MCP 未完全就绪
367
+ ⚠️ MCP not fully ready
434
368
 
435
- Bootstrap 失败,部分功能可能不可用。
369
+ Bootstrap failed, some features may be unavailable.
436
370
  ```
437
371
 
438
- **修复**: 调用 `reach_ensure` 进行修复
372
+ **Fix**: Call `reach_ensure` to repair
439
373
 
440
374
  ---
441
375
 
442
- ## 合规声明
376
+ ## Compliance
443
377
 
444
- ### 许可证
378
+ ### License
445
379
 
446
- | 项目 | 许可证 |
447
- |------|--------|
448
- | 本项目 (agent-reach-mcp) | MIT License |
449
- | 上游 Agent-Reach | MIT License |
380
+ | Project | License |
381
+ |---------|---------|
382
+ | This project (agent-reach-mcp) | MIT License |
383
+ | Upstream Agent-Reach | MIT License |
450
384
 
451
- ### 第三方声明
385
+ ### Third-Party Notices
452
386
 
453
- 详见 [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md)
387
+ See [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md)
454
388
 
455
389
  ---
456
390
 
457
- ## 本地开发
391
+ ## Local Development
458
392
 
459
393
  ```bash
460
394
  npm install
@@ -472,5 +406,4 @@ MIT
472
406
  ## Links
473
407
 
474
408
  - [Agent-Reach GitHub](https://github.com/Panniantong/Agent-Reach)
475
- - [Agent-Reach 文档](https://github.com/Panniantong/Agent-Reach#readme)
476
- - [MCP 协议](https://modelcontextprotocol.io/)
409
+ - [MCP Protocol](https://modelcontextprotocol.io/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsbofmusic/agent-reach-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "MCP stdio server for Agent-Reach. Bootstrap ensure, auto-install Docker, full platform support (XiaoHongShu, Douyin, Twitter, YouTube, Bilibili, GitHub).",
5
5
  "license": "MIT",
6
6
  "type": "module",