Xiaohongshu MCP Patch Pack for Openclaw

A specialized automation toolkit designed to diagnose and repair common deployment issues for the Xiaohongshu Model Context Protocol server.

tinadu-ai
v1.0.0
Mar 4, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xiaohongshu-mcp-patch

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 xiaohongshu-mcp-patch 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 Patch Pack?

The Xiaohongshu MCP Patch Pack is a utility suite created to simplify the maintenance of Xiaohongshu-based AI agents. It addresses the technical friction points that developers often face when setting up the Model Context Protocol, such as blocked network ports or misconfigured authentication tokens. By utilizing these Openclaw Skills, users can ensure their automated workflows remain uninterrupted by environment-specific errors.

This skill provides automated bash scripts that handle the lifecycle of the MCP service, from freeing up system resources to verifying that the JSON-RPC interface is correctly responding to requests. It acts as a stability layer for developers who need reliable access to Xiaohongshu data through their AI coding agents.

Xiaohongshu MCP Patch Pack Use Cases

  • Resolving the bind: address already in use error on port 18060.
  • Synchronizing cookies.json across multiple system directories like /tmp and .cache for consistent authentication.
  • Automating the recovery of stuck processes caused by background Chrome downloads.
  • Verifying service health through automated JSON-RPC 2.0 connection tests.

How Xiaohongshu MCP Patch Pack Works

  1. The diagnostic scripts identify if port 18060 is occupied and terminate the conflicting process IDs.
  2. The system locates the source cookies.json and replicates it into all potential look-up paths required by the browser engine.
  3. The MCP service is launched in the background using nohup to ensure persistence.
  4. Log files are monitored to track the progress of dependency installations, such as headless Chrome.
  5. A POST request is sent to the local endpoint to confirm that a valid session ID is generated, ensuring readiness for Openclaw Skills integration.

Xiaohongshu MCP Patch Pack Setup

To apply the comprehensive fix, execute the following commands in your linux environment:

# Give execution permissions to the repair script
chmod +x repair.sh

# Run the one-key repair tool
./repair.sh

For specific cookie path fixes, use:

./fix-cookie.sh /path/to/your/cookies.json

Xiaohongshu MCP Patch Pack Data Schema & Taxonomy

The skill manages environment data and service metadata according to the following structure:

Data Point Location / Value Purpose
Service Port 18060 Default communication port
Log File /tmp/mcp.log Service activity and error tracking
Cookie Path ~/.cache/rod/browser/cookies.json Browser authentication persistence
Session ID Mcp-Session-Id Generated via JSON-RPC initialize method

Xiaohongshu MCP Patch Pack Advanced Features

  • Automated process cleanup for stale instances of the Xiaohongshu server.
  • Real-time progress monitoring for headless browser dependency installation.
  • Multi-path cookie injection to support varied server environments and containerized setups.
  • Health check validation that ensures end-to-end connectivity before Openclaw Skills calls are initiated.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*