From cc9c90c22895eaa06c40c3ebe44cab0b43cdc0ea Mon Sep 17 00:00:00 2001 From: Panniantong Date: Wed, 25 Feb 2026 09:54:18 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E7=94=A8=E6=88=B7=E5=B0=8F=E7=BA=A2=E4=B9=A6=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=96=B9=E5=BC=8F=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 服务器(无 UI 界面)用户无法直接扫码登录小红书,补充说明最方便的方式: 在自己电脑登录后用 Cookie-Editor 导出 Cookie 发给 Agent 配置。 - install.md: 小红书登录方式分本地/服务器两种场景说明 - README.md: Cookie 提示补充服务器用户指引 --- README.md | 2 +- docs/install.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5ca33b..e76508c 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ AI Agent 已经能帮你写代码、改文档、管项目——但你让它去 > **不知道怎么配?不用查文档。** 直接告诉 Agent「帮我配 XXX」,它知道需要什么、会一步一步引导你。 > -> 🍪 需要 Cookie 的平台(Twitter、小红书等),建议使用 Chrome 插件 [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) 一键导出。 +> 🍪 需要 Cookie 的平台(Twitter、小红书等),建议使用 Chrome 插件 [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) 一键导出。**服务器用户**没有浏览器界面,请在自己的电脑上登录对应网站后导出 Cookie,再发给 Agent 配置。 > > 🔒 Cookie 只存在你本地,不上传不外传。代码完全开源,随时可审查。 > 💻 本地电脑不需要代理。代理只有部署在服务器上才需要(~$1/月)。 diff --git a/docs/install.md b/docs/install.md index 976583d..a00c239 100644 --- a/docs/install.md +++ b/docs/install.md @@ -69,7 +69,9 @@ mcporter config add xiaohongshu http://localhost:18060/mcp > 如果在服务器上,建议加代理避免 IP 风控: > `docker run -d --name xiaohongshu-mcp -p 18060:18060 -e XHS_PROXY=http://user:pass@ip:port xpzouying/xiaohongshu-mcp` > -> 首次使用需要扫码登录,打开 http://localhost:18060 操作。 +> **登录方式:** +> - **本地电脑(有浏览器):** 打开 http://localhost:18060 扫码登录即可。 +> - **服务器(无 UI 界面):** 服务器上通常没有浏览器,无法直接扫码。最方便的方式是在自己的电脑上用浏览器登录小红书,然后用 [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) 插件导出 Cookie(Header String 格式),发给 Agent 即可完成配置。详见 [Cookie 导出指南](cookie-export.md)。 ### Step 4: Final check