XiaoHongShu MCP Service Installer for Openclaw

An automated installer for the XiaoHongShu Model Context Protocol (MCP) service, enabling AI agents to interact with XHS content.

alexduming
v1.0.0
Apr 16, 2026
0
839
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install xhs-mcp-installer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install xhs-mcp-installer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is XiaoHongShu MCP Service Installer?

The XiaoHongShu MCP Installer is a specialized utility designed to simplify the deployment and management of the xiaohongshu-mcp service on macOS and Linux environments. It serves as a bridge between AI agents and the XiaoHongShu platform, automating technical hurdles such as system architecture detection, binary management, and persistent service configuration. As a part of the broader Openclaw Skills ecosystem, this installer ensures that your AI coding agents have seamless and reliable access to XHS data through the Model Context Protocol.

By handling the complexities of background process management and crash recovery, this skill allows developers to focus on building marketing automations and content analysis tools. It supports both modern macOS Silicon/Intel architectures and various Linux distributions, providing a robust foundation for any Openclaw Skills integration requiring XiaoHongShu connectivity.

XiaoHongShu MCP Service Installer Use Cases

  • Automated deployment of XiaoHongShu MCP for AI agent content research.
  • Configuring persistent background services on macOS using launchd.
  • Setting up Linux systemd services for enterprise-grade XHS service stability.
  • Implementing automated crash recovery and health monitoring for XHS connections.
  • Managing XiaoHongShu login sessions via QR codes or secure Cookie imports for AI workflows.

How XiaoHongShu MCP Service Installer Works

  1. Identifies the host operating system and CPU architecture to fetch the compatible xhs-mcp binary.
  2. Downloads the latest release from the official repository and initializes the local environment directory.
  3. Configures service persistence using platform-specific managers (launchd for macOS or systemd for Linux).
  4. Deploys a specialized watchdog script and cron job to ensure the service remains online 24/7.
  5. Performs a health check on port 18060 and facilitates user authentication through session management tools.

XiaoHongShu MCP Service Installer Setup

To install via an Openclaw Skills enabled agent, simply provide the command: "Install XiaoHongShu MCP".

Manual installation steps:

# Create directory and download binary
mkdir -p ~/xiaohongshu-mcp
cd ~/xiaohongshu-mcp
# Note: Replace [BINARY] with the version matching your OS/Arch
curl -L "https://github.com/xpzouying/xiaohongshu-mcp/releases/latest/download/${BINARY}" -o ./xhs-mcp
chmod +x ./xhs-mcp

# Initial manual test
./xhs-mcp server --port 18060

XiaoHongShu MCP Service Installer Data Schema & Taxonomy

The skill organizes its operation within the ~/xiaohongshu-mcp directory using the following structure:

File Path Description Data Type
xhs-mcp Executable service binary Binary
mcp.log Standard output and error logs Log Text
cookies.json Authenticated session credentials JSON
watchdog.sh Health monitoring and restart script Bash Script
watchdog.log Records of service recovery events Log Text

XiaoHongShu MCP Service Installer Advanced Features

  • Multi-architecture support for Darwin (amd64/arm64) and Linux (amd64/arm64) systems.
  • Automated watchdog integration with crontab for five-minute interval health checks.
  • Dynamic QR code generation for secure mobile-app scan-to-login functionality.
  • Cookie-to-JSON conversion tool for importing existing browser sessions without re-authentication.
  • Seamless integration with the Openclaw Skills framework for multi-agent coordination.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins curl
Github Stars: 0
forks: 0

Featured*