Redbook Poster
@myzxlin
A Xiaohongshu Content Publishing MCP Server that uses Selenium WebDriver for browser automation, supporting the publishing of both text-and-image notes and video notes.
概览
What is Redbook Poster?
Redbook Poster is an MCP server for publishing content to Xiaohongshu (小红书). It uses Selenium WebDriver for browser automation and supports posting both image-text notes and video notes.
How to use Redbook Poster?
Configure the server in your MCP settings with environment variables for your phone number, a local file path to store tokens and cookies, and a verification code. Run npm run start to launch a browser; on first use, enter the verification code to log in. The server saves cookies and tokens for subsequent runs.
Key features of Redbook Poster
- Publish image-text notes (supported tool:
create_note) - Publish video notes (supported tool:
create_video_note) - Browser automation via Selenium WebDriver
- Persistent cookie and token storage for repeat logins
Use cases of Redbook Poster
- Automating the posting of image-text articles to Xiaohongshu
- Automating the posting of video content to Xiaohongshu
- Scheduled or bulk content publishing without manual login each time
FAQ from Redbook Poster
How does the initial login work?
On first use, the server opens a browser. You must enter the verification code sent to your phone (supplied via the verificationCode environment variable) to complete authentication.
Where are cookies and tokens stored?
They are saved in the directory specified by the jsonPath environment variable. Subsequent logins reuse these saved credentials.
What types of notes can be published?
The server supports image-text notes (via create_note) and video notes (via create_video_note).
What environment variables are required?
The phone, jsonPath, and verificationCode environment variables must be set in the MCP server configuration.