Xiaohongshu MCP skill for OpenClaw - Complete automation solution
npx skills add https://github.com/tclawde/xiaohongshu-mcp-skill --skill xiaohongshu-mcpInstale esta skill com a CLI e comece a usar o fluxo de trabalho SKILL.md em seu espaço de trabalho.
小红书 MCP 完整使用方案 - 基于 xpzouying/xiaohongshu-mcp
本 Skill 基于 xpzouying/xiaohongshu-mcp (8.4k+ stars) 构建,提供完整的小红书自动化解决方案。
核心功能:
引用来源:
# 克隆本 Skill
git clone https://github.com/tclawde/xiaohongshu-mcp-skill.git
cd xiaohongshu-mcp-skill
# 运行安装脚本
bash install.sh
# 1. 克隆本 Skill
git clone https://github.com/tclawde/xiaohongshu-mcp-skill.git ~/.openclaw/skills/xiaohongshu-mcp
# 2. 安装 MCP 服务器(二进制文件)
cd ~/.openclaw/skills/xiaohongshu-mcp
bash install.sh
# 3. 安装依赖
pip3 install requests playwright
playwright install chromium
xiaohongshu-mcp-skill/
├── SKILL.md # 本文档
├── README.md # 英文文档
├── SOP.md # 详细使用指南
├── install.sh # 安装脚本(下载 MCP 二进制)
├── xhs_login.sh # 一键登录脚本
└── scripts/
├── xhs_client.py # Python 客户端
└── xhs_login_sop.py # 登录 SOP(Playwright 自动化)
cd ~/.openclaw/skills/xiaohongshu-mcp
bash install.sh
# 本地登录
bash xhs_login.sh
# 或登录并发送到飞书
bash xhs_login.sh --notify
cd ~/.openclaw/skills/xiaohongshu-mcp
./xiaohongshu-mcp-darwin-arm64 &
# 检查登录状态
python3 scripts/xhs_client.py status
# 搜索笔记
python3 scripts/xhs_client.py search "咖啡"
# 发布笔记
python3 scripts/xhs_client.py publish "标题" "内容" "图片URL"
# MCP 服务器由 install.sh 自动下载
# 手动下载:
curl -L -o xiaohongshu-mcp-darwin-arm64 \
https://github.com/xpzouying/xiaohongshu-mcp/releases/download/v0.0.8/xiaohongshu-mcp-darwin-arm64
# 小红书登录页面可能变更,使用修复版登录:
bash scripts/xhs_login.sh --notify
# 1. 清除 cookies
rm ~/.openclaw/workspace/cookies.json
# 2. 重新登录
bash xhs_login.sh --notify
MIT License
TClawDE 🦀