xiaohongshu

Installation
SKILL.md

小红书 MCP

通过内置的 Python 客户端与本地 xpzouying/xiaohongshu-mcp 服务器通信,自动化小红书操作。

前置条件:pip install requests 并确保 MCP 服务器正在运行。首次安装请参阅 SETUP.md。

快速参考

python scripts/xhs_client.py status
python scripts/xhs_client.py search "美食推荐"
python scripts/xhs_client.py search "美食" --sort "最多点赞" --type "图文" --time "一周内"
python scripts/xhs_client.py detail <feed_id> <xsec_token> --comments
python scripts/xhs_client.py feeds
python scripts/xhs_client.py publish "标题" "正文内容" "图片链接1,图片链接2" --tags "标签1,标签2"

所有命令均支持 --json 参数以输出原始 JSON 数据。

Installs
4
First Seen
Apr 3, 2026
xiaohongshu from skills.volces.com