- Home
- MCP servers
- Xiaohongshu
Xiaohongshu
- python
82
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You are set to run a modular MCP server stack that automates Xiaohongshu content creation, image and video generation, platform operations, and AI-driven scheduling. This server collection enables end-to-end content workflows—from writing and generating media to publishing and analyzing results—across multiple Xiaohongshu services with centralized coordination and extensibility.
How to use
To use this MCP server, connect via an MCP client to the provided HTTP endpoints for each service, or start the local processes to run them as standard input/output servers. Each service exposes its own capabilities, such as content generation, image creation, video production, browser automation for posting, and data collection. The AI scheduler coordinates tasks, makes decisions, and dispatches work to the MCP services in response to events, user requests, or scheduled tasks. Use the HTTP endpoints for remote operation or run the services locally through their respective startup commands if you prefer a self-hosted workflow.
How to install
Prerequisites: you need Python 3.11 or newer and a compatible environment to run the MCP services. You will also use the uv tool to manage and run the local MCP servers.
Step-by-step installation and startup flow, assuming you are cloning the repository and running services locally:
Additional sections
Configuration details for each MCP service are shown in their respective environment files. Create per-service environment files and populate keys such as API keys, base URLs, and output directories. For example, the image generation service may require a base URL and an API key, while the video service may need LLM provider settings and media resource keys. The AI scheduler needs endpoints to communicate with the MCP services and its own server configuration to expose the API or enable an interactive chat mode.
Security and notes
Respect platform rules and rate limits when automating posting to Xiaohongshu. Use dedicated accounts for automation, monitor login status, and manage cookies securely. This stack is intended for learning and research use; handle authentication, secrets, and user data responsibly.
Examples and troubleshooting
Examples of common workflows include creating content with the content generator, generating corresponding images, and publishing via the browser automation service. If a service fails to start, verify environment variable values, ensure required external APIs are reachable, and confirm that the specified ports are not in use by other processes.
Available tools
ai_scheduler_api
Coordinate AI-driven decision making and dispatch tasks to MCP services via HTTP API.
content_generation
Generate Xiaohongshu notes, titles, and descriptions from topics.
image_generation
Create high-quality images from prompts for posts.
video_generation
Assemble scripted videos with TTS, subtitles, and media assets.
browser_automation
Publish content to Xiaohongshu and manage interactions via browser automation.
data_collection
Collect and analyze platform data for insights and optimization.