Xiaohongshu (RedBook) MCP Server
Generates Xiaohongshu (Little Red Book) content including intelligent outline generation, image creation, outline editing, and project management for multi-page posts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Xiaohongshu (RedBook) MCP Server 帮我生成一个关于周末露营的小红书图文,需要6页"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
小红书 MCP Server
⚠️ 项目已过时 / Deprecated
本项目的功能已完全可以通过 Claude Code 的 skill 来实现,无需单独安装和配置 MCP 服务器。
推荐方式:直接在 Claude Code 中使用相关 skill(如内容生成、图片生成等功能),更简单、更强大、更易维护。
本仓库仅作为历史参考保留。
基于 MCP 的小红书图文内容生成服务。
功能
智能大纲生成
图片生成
大纲编辑
项目管理
Related MCP server: Xiaohongshu MCP Python
快速开始
编辑 Claude Desktop 配置文件:
macOS/Linux:
~/.config/claude/config.jsonWindows:
%APPDATA%\Claude\config.json
添加配置:
{
"mcpServers": {
"xiaohongshu": {
"command": "npx",
"args": ["-y", "@xeron688/xiaohongshu-mcp"],
"env": {
"IMAGE_API_URL": "your_api_url",
"IMAGE_API_KEY": "your_api_key",
"IMAGE_MODEL": "your_model_name",
"ENDPOINTS": "/v1/images/generations",
"DATA_DIR": "./data"
}
}
}
}重要说明:
使用
npx -y参数自动确认安装,避免 MCP 服务器启动时卡住替换
your_api_url、your_api_key、your_model_name为你的实际配置
重启 Claude Desktop。
使用
在 Claude 中:
帮我生成一个关于"春季穿搭"的小红书图文,9页示例


工具
generate_outline- 生成大纲update_outline- 更新大纲generate_images- 生成图片get_project- 获取项目
资源
projects://list- 项目列表project://{projectId}- 项目详情project://{projectId}/images- 项目图片
开发
pnpm install # 安装依赖
pnpm build # 编译
pnpm test:run # 测试配置详情
项目来源
本项目改编自 RedInk
许可证
见 LICENSE 文件
Available Tools
5 toolsgenerate_imagesA
Generate images for a project (cover first, then others). Use the built-in prompt to generate images with Xiaohongshu style.
Inputs: projectId (required), pages.
generate_outlineA
Create a project and save the Xiaohongshu content outline generated by Claude. Use the built-in prompt to generate outlines with proper formatting.
Inputs: theme (required), outline (required), referenceImage.
get_projectC
Get complete project details
Inputs: projectId (required).
list_all_projectsA
List all created projects with their basic information
Inputs: no named parameters.
update_outlineB
Update an existing project outline
Inputs: outline (required), projectId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct action and resource: outlining, image generation, single-project retrieval, and project listing. There is no functional overlap or ambiguity between them.
All tool names follow a consistent snake_case verb_noun pattern, such as generate_outline, update_outline, and list_all_projects. The naming is predictable and clear.
Five tools is a well-scoped set for a Xiaohongshu content creation workflow. Each tool serves a necessary role without redundancy or bloat.
The core workflow of creating and updating outlines, generating images, and viewing projects is covered. A delete project or image regeneration operation is missing, but these are minor gaps that do not block the main workflow.
Maintenance
Related MCP Connectors
搜索笔记、浏览首页推荐、查看笔记内容与评论,并发表你的评论。直接在工作流中与小红书内容互动,高效跟进话题。
RedNote (Xiaohongshu, 小红书) note search, full notes, comment threads and creator profiles.
XHS search/details, PGY, comments/replies, users/ID resolution/posts, transcript
Generate platform-native social posts that are humanized, AI-detection scored and illustrated.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables automated interaction with Xiaohongshu (Little Red Book) social media platform through browser automation. Supports login management, status checking, and publishing text content with images to Xiaohongshu accounts.33-
- FlicenseNot gradedqualityDmaintenanceEnables automated content publishing and management on Xiaohongshu (Little Red Book) platform, supporting image/video posts, content search, user profiles, and interactions through the Model Context Protocol.147-
- AlicenseNot gradedqualityDmaintenanceEnables content creators to manage, analyze, and publish Xiaohongshu (Little Red Book) content through browser automation, with built-in templates, data analytics, and scheduling capabilities accessible via CLI or AI assistants.48 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables automated interaction with Xiaohongshu (Little Red Book) platform including searching posts, retrieving content and comments, and posting AI-generated comments with persistent login support.458-