Xiaohongshu (Rednote) macOS MCP for Openclaw

A macOS-native automation skill that controls the Xiaohongshu (Rednote) app via the Accessibility API for social media management.

huangrh99
v1.1.0
Mar 1, 2026
2
1.1k
5

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xhs-mac-mcp

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-mac-mcp 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 (Rednote) macOS MCP?

The xhs-mac-mcp skill is a powerful integration for Openclaw Skills that enables AI agents to interact directly with the Xiaohongshu (Rednote) desktop application on macOS. By utilizing the macOS Accessibility API, this skill bypasses traditional API limitations, allowing agents to perform human-like actions such as navigating the feed, searching for content, and managing community interactions. It is designed for developers and marketers who need to automate social media workflows directly from their desktop environment.

This skill provides a bridge between AI logic and the visual interface of Rednote, making it possible to build sophisticated agents that can read comments, reply to fans, and monitor author statistics in real-time. As part of the Openclaw Skills ecosystem, it ensures a standardized way to call complex UI automation tasks through simple tool definitions.

Xiaohongshu (Rednote) macOS MCP Use Cases

  • Automating community management by replying to comments and direct messages.
  • Conducting market research by searching for specific keywords and capturing note data.
  • Streamlining social media engagement through automated likes, follows, and collection of notes.
  • Monitoring competitor or personal account performance by extracting author statistics and fan counts.

How Xiaohongshu (Rednote) macOS MCP Works

  1. The AI agent invokes one of the 20 registered tools provided by the Openclaw Skills integration.
  2. The skill sends commands to the macOS Accessibility API to locate and interact with UI elements within the Rednote app.
  3. For visual tasks, the skill can capture screenshots to verify the app state or extract information.
  4. Navigation commands allow the agent to switch between tabs like Home, Messages, and Profile.
  5. Interaction data, such as comment lists or author stats, is parsed from the UI and returned to the agent in a structured format.

Xiaohongshu (Rednote) macOS MCP Setup

To install the skill, execute the following commands in your terminal:

cd ~/.agents/skills/xhs-mac-mcp && bash install.sh
openclaw config set tools.allow '["xhs-mac"]'
openclaw gateway restart

Note: You must grant permission by going to System Settings -> Privacy & Security -> Accessibility and enabling the Terminal or the application running the Openclaw Skills gateway.

Xiaohongshu (Rednote) macOS MCP Data Schema & Taxonomy

The skill interacts with the application UI and returns data structured for AI consumption:

Tool Category Data Returned Description
Navigation Boolean/Status Success or failure of tab switching or back actions.
Content Text/Arrays Comment lists, note URLs, and search results.
Stats Key-Value Pairs Follower counts, following counts, and bio information.
Visual Image Path Paths to local screenshots for UI verification.

Xiaohongshu (Rednote) macOS MCP Advanced Features

  • Direct DM management including opening conversations and sending automated text.
  • Granular comment control allowing for reading, replying to, and deleting specific comments by index.
  • Multi-tab support for switching between Follow, Discover, and Video feeds.
  • Automated author following and note collection for rapid account growth strategies.
  • Deep linking support through the extraction of note share URLs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*