Xiaohongshu MCP Server
Xiaohongshu content access and automated posting capabilities for AI assistants.
Data last scanned yesterday · Reviewed yesterday
Overview
This MCP server provides a bridge between AI agents and the Xiaohongshu platform. It supports essential account management, including user authentication and login status verification, which are prerequisites for interacting with the service. Beyond account management, the server enables AI assistants to publish rich media content. Users can upload posts featuring titles, descriptions, and images provided via URL or local file system paths.
Our verdict
With a security score of 45/100, this project carries a high risk level. The lack of a defined license creates uncertainty regarding legal usage, and as a community-maintained tool that has not undergone editorial review, users should be cautious. Given that authentication methods and read-only status have not been verified, it is best suited for experienced developers who can audit the code before implementation.
- Zero direct dependencies reduce potential supply-chain vulnerability surfaces.
- Highly active repository with a very recent commit history.
- Comprehensive documentation provided via README and external blog resources.
- Large community footprint with 14,824 GitHub stars.
- No license detected, creating unclear legal terms for usage.
- Security-sensitive features like OAuth not yet independently reviewed.
- Community-maintained status lacks official vendor oversight or guarantees.
Tools
| Tool | Description | Risk |
|---|---|---|
| check_login | 检查当前小红书账号的登录状态。 | low |
| publish_note | 发布图文内容到小红书,包括标题、内容描述和图片。 | medium |
| publish_video | 发布视频内容到小红书,包括标题、内容描述和本地视频文件。 | medium |
| search_notes | 根据关键词搜索小红书内容。 | low |
| get_recommendations | 获取小红书首页推荐内容列表。 | low |
| get_note_detail | 获取小红书帖子的完整详情,包括互动数据和评论。 | low |
| post_comment | 发表评论到小红书帖子。 | medium |
| get_user_profile | 获取小红书用户的个人主页信息,包括用户基本信息和笔记内容。 | low |
| reply_comment | 回复笔记下的指定评论,支持精准回复特定用户的评论。 | medium |
| like_note | 为笔记点赞或取消点赞,智能检测当前状态避免重复操作。 | medium |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›Is login mandatory to use this MCP server?
Yes, logging in is a prerequisite for all key functionalities, including posting content, retrieving post details, commenting, and accessing user profile information.
›Can I keep my account logged in on a web browser while using this MCP server?
No, you must not log in on other web browsers simultaneously. Doing so will kick the MCP server's session out, though you may still view account status via the mobile app.
›What are the supported image and video file requirements for posting?
For images, you can provide HTTP/HTTPS links or local absolute paths; local paths are recommended for stability. Videos only support local absolute file paths and should ideally be under 1GB in size.
›Are there constraints on the text content I can post?
Yes, titles must not exceed 20 characters, and the post body must not exceed 1000 characters.
›What should I do if I encounter deployment issues with the Docker version?
Refer to the troubleshooting guide in the repository's Issues #56 or consider using the browser-based x-mcp plugin version for a zero-configuration alternative.
›What specific parameters are needed to fetch post details or comment?
You must provide both the post ID and the xsec_token for these operations, which can be retrieved from feed lists or search results.
Alternatives
Changelog
- ImprovedRelease v2026.07.23.0205-85aed8b
2026-07-23
- ImprovedRelease v2026.07.20.0701-a7d1f2f
2026-07-20
- ImprovedRelease v2026.06.12.1403-5c43e3d
2026-06-12
- ImprovedRelease v2026.05.28.0902-17500db
2026-05-28
- FixRelease v2026.05.28.0841-2e6330a
2026-05-28
- ImprovedRelease v2026.05.15.0445-dee6c25
2026-05-15
- ImprovedRelease v2026.04.17.0444-c63748f
2026-04-17
- ImprovedRelease v2026.04.16.1657-c63748f
2026-04-16
- ImprovedRelease v2026.04.09.1645-7732044
2026-04-09
- FixRelease v2026.03.09.0605-0e16f4b
2026-03-09
Badge
Maintain this server? Add the live badge to your README.