fix: 完善所有渠道安装指引,修复文档错误
- 小红书: 添加 Docker 安装命令 (xpzouying/xiaohongshu-mcp),替换模糊的 'install xiaohongshu-mcp' - Exa: 修正文档错误(实际免费无需 API Key,之前写要 Key) - CLI: install 命令输出添加小红书 Docker 安装指引 - channel: xiaohongshu.py 所有错误信息添加完整安装步骤 - install.md: 添加小红书配置段落 - README: 修正小红书 GitHub 链接,Exa 描述改为免费无需 Key Fixes user-reported issue: 安装后不知道怎么装小红书 MCP
This commit is contained in:
@@ -49,13 +49,16 @@ class XiaoHongShuChannel(Channel):
|
||||
def check(self, config=None):
|
||||
if not shutil.which("mcporter"):
|
||||
return "off", (
|
||||
"需要 mcporter + xiaohongshu-mcp。安装:\n"
|
||||
" npm install -g mcporter\n"
|
||||
" 详见 https://github.com/user/xiaohongshu-mcp"
|
||||
"需要 mcporter + xiaohongshu-mcp。安装步骤:\n"
|
||||
" 1. npm install -g mcporter\n"
|
||||
" 2. docker run -d --name xiaohongshu-mcp -p 18060:18060 xpzouying/xiaohongshu-mcp\n"
|
||||
" 3. mcporter config add xiaohongshu http://localhost:18060/mcp\n"
|
||||
" 详见 https://github.com/xpzouying/xiaohongshu-mcp"
|
||||
)
|
||||
if not self._mcporter_ok():
|
||||
return "off", (
|
||||
"mcporter 已装但小红书 MCP 未配置。运行:\n"
|
||||
" docker run -d --name xiaohongshu-mcp -p 18060:18060 xpzouying/xiaohongshu-mcp\n"
|
||||
" mcporter config add xiaohongshu http://localhost:18060/mcp"
|
||||
)
|
||||
try:
|
||||
@@ -74,9 +77,10 @@ class XiaoHongShuChannel(Channel):
|
||||
"⚠️ 小红书需要 mcporter + xiaohongshu-mcp 才能使用。\n\n"
|
||||
"安装步骤:\n"
|
||||
"1. npm install -g mcporter\n"
|
||||
"2. 安装 xiaohongshu-mcp 服务\n"
|
||||
"2. docker run -d --name xiaohongshu-mcp -p 18060:18060 xpzouying/xiaohongshu-mcp\n"
|
||||
"3. mcporter config add xiaohongshu http://localhost:18060/mcp\n"
|
||||
"4. 运行 agent-reach install --env=auto"
|
||||
"4. 运行 agent-reach doctor 检查状态\n\n"
|
||||
"详见 https://github.com/xpzouying/xiaohongshu-mcp"
|
||||
),
|
||||
url=url, platform="xiaohongshu",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user