Skill 安装指南

# Skill 安装指南

> **文档用途**:小红书 MCP 和 WordPress 发布技能的安装说明
> **最后更新**:2026-03-19

## 1️⃣ 小红书 MCP Skill (xiaohongshu-mcp)

### 来源
– **ClawHub**: https://clawhub.ai/Borye/xiaohongshu-mcp
– **GitHub**: https://github.com/xpzouying/xiaohongshu-mcp

### 安装步骤

#### Step 1: 下载二进制文件

从 [GitHub Releases](https://github.com/xpzouying/xiaohongshu-mcp/releases) 下载对应平台的二进制文件:

| 平台 | MCP Server | Login Tool |
|——|———–|————|
| macOS (Apple Silicon) | xiaohongshu-mcp-darwin-arm64 | xiaohongshu-login-darwin-arm64 |
| macOS (Intel) | xiaohongshu-mcp-darwin-amd64 | xiaohongshu-login-darwin-amd64 |
| Windows | xiaohongshu-mcp-windows-amd64.exe | xiaohongshu-login-windows-amd64.exe |
| Linux | xiaohongshu-mcp-linux-amd64 | xiaohongshu-login-linux-amd64 |

#### Step 2: 授权执行

“`bash
chmod +x xiaohongshu-mcp-linux-amd64 xiaohongshu-login-linux-amd64
“`

#### Step 3: 登录(首次)

“`bash
./xiaohongshu-login-linux-amd64
“`
– 会打开浏览器显示二维码
– 用小红书APP扫码登录
– ⚠️ 登录后不要在其他浏览器登录同一账号

#### Step 4: 启动 MCP Server

“`bash
# 后台运行(推荐)
./xiaohongshu-mcp-linux-amd64

# 或调试模式(可见浏览器)
./xiaohongshu-mcp-linux-amd64 -headless=false
“`

Server 将在 http://localhost:18060 运行

#### Step 5: 安装 OpenClaw Skill

“`bash
# 安装到 OpenClaw
openclaw skills install Borye/xiaohongshu-mcp
“`

## 2️⃣ WordPress 发布 Skill

### 来源
– **ClawHub**: https://clawhub.ai/wpdeveloper/wordpress-publishing-skill
– **功能**: 通过 REST API 发布内容到 WordPress

### 安装步骤

#### Step 1: 安装 Skill

“`bash
openclaw skills install wpdeveloper/wordpress-publishing-skill
“`

#### Step 2: 配置 WordPress

在 WordPress 后台:
1. 进入 **用户 → 个人资料**
2. 生成 **应用程序密码**(Application Password)
3. 记录用户名和密码

#### Step 3: 配置 OpenClaw

在 Agent 的 TOOLS.md 中配置:

“`json
{
“wordpress”: {
“site_url”: “https://shanbo.fun”,
“username”: “[用户名]”,
“app_password: [密码已隐藏] cCol szHt KIGa xam9 2aPw”
}
}
“`

## 3️⃣ 验证安装

### 小红书

“`bash
# 检查 MCP Server 状态
curl http://localhost:18060/mcp

# 或使用 skill 检查
openclaw skills check xiaohongshu-mcp
“`

### WordPress

“`bash
# 测试 API 连接
curl -u “[用户名]:[密码已隐藏]” \
https://shanbo.fun/wp-json/wp/v2/posts
“`

## 4️⃣ 故障排查

### 小红书 MCP 无法启动
– 检查端口 18060 是否被占用
– 确认已执行登录流程
– 查看日志:`./xiaohongshu-mcp-linux-amd64 -v`

### WordPress API 403 错误
– 确认应用程序密码正确
– 检查 WordPress REST API 是否启用
– 确认服务器防火墙允许访问

_小笔 ✍️ 整理_

Previous Article

发表回复

Your email address will not be published. Required fields are marked *.

*
*

george 的头像

关于本站

这里是一个我们展示和记录生活的地方

联系我们

  • 地址
    中国,北京,一个小河边

空闲时间
星期一—五:19:00–21:00
星期六—日:9:00–21:00

京公网安备11010802046182号
京ICP备2025139524号