MCP Catalogs
首页xiaohongshu-mcp screenshot

xiaohongshu-mcp

by xpzouying·13,616·综合分 59

一个用于自动化小红书操作(发布内容、评论、用户互动等)的 MCP 服务器。

social-mediabrowser-automationweb-scraping
2,068
Forks
258
活跃 Issue
本月
最近提交
2 天前
收录于

概述

xiaohongshu-mcp 是一个用 Go 语言编写的综合性 MCP 服务器,使 AI 助手能够与小红书(Little Red Book)这一流行中国社交媒体平台进行交互。服务器通过 HTTP 传输实现 MCP 协议,允许客户端进行身份验证、发布帖子(图文和视频)、搜索内容、获取帖子详情、管理用户档案以及执行点赞、评论等互动操作。项目提供了多种部署选项,包括预编译二进制文件、Docker 容器和源代码编译,使其对技术用户和非技术用户都友好。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:自动化内容发布以维持社交媒体存在感
:AI 驱动的企业社交媒体管理
:通过自动化搜索进行内容研究和分析
:使用这个 MCP 服务器是否违反小红书服务条款?
:这个 MCP 能否处理多个账户?

什么时候选它

如果您需要自动化与小红书平台的交互,并且倾向于自托管解决方案而非浏览器插件,请选择这个 MCP 服务器。

什么时候不要选它

如果您需要访问其他社交媒体平台的写入功能,请避免使用这个,因为它专门为小红书设计。如果您偏好零配置,也请考虑浏览器插件版本。

此 server 暴露的工具

从 README 抽取出 11 个工具
  • check_login_status

    Check if the user is currently logged in to xiaohongshu.com

  • publish_post

    Publish a text and image post to xiaohongshu.com

  • publish_video

    Publish a video post to xiaohongshu.com with title and description

  • search_content

    Search for content on xiaohongshu.com based on keywords

  • get_recommendations

    Get the recommended content feed from xiaohongshu homepage

  • get_post_detail

    Get detailed information about a specific post including comments

  • comment_on_post

    Leave a comment on a specific xiaohongshu post

  • get_user_profile

    Retrieve a user's profile information and their posts

  • reply_to_comment

    Reply to a specific comment on a post

  • like_post

    Like or unlike a specific post on xiaohongshu

  • bookmark_post

    Bookmark or unbookmark a specific post on xiaohongshu

可对比工具

x-mcpsocial-media-mcpbrowser-automation-mcp

安装

安装选项

**选项 1:下载预编译二进制文件**

  1. 从 [GitHub Releases](https://github.com/xpzouying/xiaohongshu-mcp/releases) 下载适用于您平台的二进制文件
  2. 首先运行登录工具:chmod +x xiaohongshu-login-darwin-arm64 && ./xiaohongshu-login-darwin-arm64
  3. 启动 MCP 服务:chmod +x xiaohongshu-mcp-darwin-arm64 && ./xiaohongshu-mcp-darwin-arm64

**选项 2:使用 Docker(推荐)**

docker pull xpzouying/xiaohongshu-mcp
docker compose up -d```

**选项 3:从源码构建**
1. 克隆仓库
2. 运行 `go run cmd/login/main.go` 进行登录
3. 运行 `go run .` 启动 MCP 服务

FAQ

使用这个 MCP 服务器是否违反小红书服务条款?
开发者提到这仅用于学习目的,并包含风险警告。用户在生产环境部署前应查看小红书的服务条款。
这个 MCP 能否处理多个账户?
README 特别警告不要在同一账号上使用多个网页端登录,因为这会将当前 MCP 会话'踢出',但移动端查看仍然可用。

xiaohongshu-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。