← 返回 Skills 市场
Xiaohongshu MCP Installer
作者
alexduming
· GitHub ↗
· v1.0.0
· MIT-0
79
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xhs-mcp-installer
功能描述
一键安装并启动小红书 MCP 服务(xiaohongshu-mcp)。当用户说"帮我安装小红书MCP"、"安装 xhs-mcp"、"配置小红书 MCP"、"帮我搞个小红书"、或提供 GitHub 链接 https://github.com/xpzouying/xiaohongshu-mcp 时触发。自动检测系统、...
安全使用建议
What to consider before installing:
- The script will download a prebuilt binary from GitHub releases and execute it on your machine. That binary can run arbitrary code; only proceed if you trust the project and its release artifacts.
- The provided install.sh assumes tools beyond curl: python3 (used to parse GitHub API), tar (to extract), lsof, systemctl, sudo, and cron/launchctl. If those are missing the installer will fail or behave unexpectedly.
- The installer requires privileged actions (sudo) to write a systemd unit and enable/start it. It also creates a persistent launchd plist or crontab entry and a watchdog script. These changes are persistent and survive reboots.
- There are small but important inconsistencies: SKILL.md contains a systemd example that uses /root/xiaohongshu-mcp while the included scripts install to $HOME/xiaohongshu-mcp. This suggests copy/paste/documentation drift — double-check paths before running to avoid installing as root unintentionally.
- The script does not verify release integrity (no signature or checksum verification). Prefer to:
- Inspect the GitHub repository and release artifacts manually first.
- Download the release artifact and inspect its contents (and ideally verify checksum/signature) before making it executable.
- Run the service in a confined environment (VM, container, or non-privileged user) first to evaluate behavior.
- If you must install on a host, edit the install script to remove automatic sudo or systemd writes and perform those steps manually after review.
Given these points, the skill appears to implement its stated function but has gaps and elevated privileges that make it risky to run without manual review — treat it as suspicious and verify the binary and repository before proceeding.
功能分析
Type: OpenClaw Skill
Name: xhs-mcp-installer
Version: 1.0.0
The skill functions as a one-click installer that downloads and executes a binary from a third-party GitHub repository (xpzouying/xiaohongshu-mcp) and establishes system-level persistence via systemd, launchd, and crontab. While these actions align with the stated purpose of installing a service, the practice of downloading unverified binaries and requesting sudo privileges for service configuration (in scripts/install.sh and SKILL.md) represents a high-risk pattern. No explicit evidence of data exfiltration or intentional malice was found in the provided code logic.
能力评估
Purpose & Capability
The name/description (install xiaohongshu-mcp) matches the scripted behavior: detect OS/arch, download a release binary from GitHub, install into ~/xiaohongshu-mcp, configure launchd/systemd and a watchdog. However the declared requirements are incomplete (only 'curl' listed) while the provided scripts also use python3, tar, lsof, sudo, systemctl and cron/launchctl — tools a user would need for successful installation but that are not declared.
Instruction Scope
Instructions and scripts perform privileged, system-wide actions: downloading and extracting a binary, killing processes, writing a systemd unit to /etc/systemd/system (via sudo), enabling and starting services, creating launchd plists, adding a crontab entry, and creating a watchdog that restarts the service. These actions are within the stated installer purpose, but the SKILL.md contains inconsistent paths (one systemd example uses /root/xiaohongshu-mcp while the install script uses $HOME), suggesting copy/paste or sloppy documentation that could cause accidental system-wide installs under root. The instructions also assume Python3 and tar are available (used to query GitHub releases and extract archives) but these are not listed as required.
Install Mechanism
No platform install spec is used by the skill bundle itself (instruction-only with an included install.sh). The script downloads release artifacts from GitHub releases and raw.githubusercontent.com — a commonly used hosting source. Downloading and executing binaries from GitHub releases is expected for this function but carries moderate risk: the downloaded binary runs on the host and could contain arbitrary code. The download sources are not obscure (GitHub), but the script does not verify checksums or signatures.
Credentials
The skill declares no environment variables or credentials and doesn't attempt to exfiltrate environment variables. That is proportionate to an installer. However it does request system privileges (sudo) at runtime to install systemd service files.
Persistence & Privilege
The installer configures persistent services (launchd/systemd) and a periodic watchdog (crontab for macOS), and the install script uses sudo to write to /etc/systemd/system and enable/start services. This grants long-lived system presence and requires elevated privileges; combined with executing an unverified binary, this increases risk if you don't trust the binary source.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xhs-mcp-installer - 安装完成后,直接呼叫该 Skill 的名称或使用
/xhs-mcp-installer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
xhs-mcp-installer 1.0.0
- Initial release of the xhs-mcp-installer skill.
- Supports one-click installation and startup of the Xiaohongshu MCP service on macOS and Linux.
- Automatically detects system and architecture, downloads the correct binary, and configures autostart (launchd or systemd).
- Includes health checks, login status validation, and automatic watchdog setup for service recovery.
- Provides clear troubleshooting and login (QR code/Cookie) instructions.
元数据
常见问题
Xiaohongshu MCP Installer 是什么?
一键安装并启动小红书 MCP 服务(xiaohongshu-mcp)。当用户说"帮我安装小红书MCP"、"安装 xhs-mcp"、"配置小红书 MCP"、"帮我搞个小红书"、或提供 GitHub 链接 https://github.com/xpzouying/xiaohongshu-mcp 时触发。自动检测系统、... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 79 次。
如何安装 Xiaohongshu MCP Installer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-mcp-installer」即可一键安装,无需额外配置。
Xiaohongshu MCP Installer 是免费的吗?
是的,Xiaohongshu MCP Installer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Xiaohongshu MCP Installer 支持哪些平台?
Xiaohongshu MCP Installer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Xiaohongshu MCP Installer?
由 alexduming(@alexduming)开发并维护,当前版本 v1.0.0。
推荐 Skills