360 Secure SkillHub
360 安全技能中心

Skill Xhs Mcp

该 Skill 通过本地 MCP 服务提供小红书自动化能力,共 13 个工具,覆盖登录状态与二维码检查、Cookie 删除、首页与笔记搜索浏览、笔记详情、点赞、收藏、评论、用户资料,以及图文和视频发布;要求 Node.js >= 18 并运行 xhs-mcp-service。

分类:营销
weznai
weznai
热度 32.36
最近更新 2026-05-18 12:24:35

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add weznai/skill-xhs-mcp
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
skill-xhs-mcp-oper
description
XiaoHongShu (RED/XHS) automation assistant via local MCP service

XHS MCP Skill

XiaoHongShu automation skill via MCP protocol.

Features

  • 13 complete tools
  • Login management
  • Content search and browsing
  • Social interactions (like, favorite, comment)
  • Content publishing (images and videos)

Requirements

  • Node.js >= 18
  • xhs-mcp-service running on localhost:18060

Installation

git clone https://github.com/weznai/xhs-mcp-service.git
cd xhs-mcp-service
npm install
npm run login
npm start

Tools

  1. check_login_status - Check login status
  2. get_login_qrcode - Get login QR code
  3. delete_cookies - Delete login state
  4. list_feeds - Get home feed
  5. search_feeds - Search notes
  6. get_feed_detail - Get note details
  7. like_feed - Like/unlike note
  8. favorite_feed - Favorite/unfavorite note
  9. post_comment_to_feed - Post comment
  10. reply_comment_in_feed - Reply to comment
  11. user_profile - Get user profile
  12. publish_content - Publish image note
  13. publish_with_video - Publish video note

Usage

import { searchFeeds, likeFeed } from './src/xhs-tools.js';

const results = await searchFeeds('coffee');
await likeFeed(results.feeds[0].id, results.feeds[0].xsec_token);

License

MIT