Back to Home
xpzouying icon

xiaohongshu-mcp

Verified Safe

by xpzouying

Overview

Automate content creation, publishing, and interaction (search, detail, comment, like, favorite) on the Xiaohongshu platform via Model Context Protocol (MCP) and HTTP APIs, primarily for AI agent integration.

Installation

Run Command
docker compose up -d

Environment Variables

  • ROD_BROWSER_BIN
  • COOKIES_PATH

Security Notes

The service uses `go-rod` for browser automation, which inherently involves rendering external web content and poses risks related to browser vulnerabilities (e.g., zero-days) if exploited. It explicitly mentions being for 'learning purposes only' and prohibiting 'illegal activities'. CORS is set to `*`, which is a common setup for local development/integration but less secure for public-facing deployments. File system operations for cookies and downloaded images are standard for this type of tool but require host system security. Panic recovery is implemented for MCP tool handlers. The image downloader attempts basic file type detection but could still be a vector for malicious content if not carefully managed by the user. The `xsec_token` is passed as a string, its security depends on the underlying Xiaohongshu platform and how it's handled in the `xiaohongshu` package (which is truncated).

Similar Servers

Stats

Interest Score100
Security Score7
Cost ClassHigh
Stars8103
Forks1283
Last Update2026-01-17

Tags

AI AutomationSocial MediaWeb ScrapingGoLangMCP