/ Каталог / Песочница / xiaohongshu-mcp
● Сообщество xpzouying ⚡ Сразу

xiaohongshu-mcp

автор xpzouying · xpzouying/xiaohongshu-mcp

AI-powered Xiaohongshu (Little Red Book) integration — publish, search, engage, and manage content on China's top social commerce platform.

xiaohongshu-mcp is an MCP server enabling AI assistants to interact with Xiaohongshu (Little Red Book), China's popular social media and commerce platform. It provides 13 tools for content publishing (image-text and video), feed discovery, search, post interaction (like, comment, favorite), user profiles, and QR-code authentication. Available as pre-built binaries, from source (Go), or via Docker.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

xiaohongshu-mcp.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "xiaohongshu-mcp",
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "xiaohongshu-mcp": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/xpzouying/xiaohongshu-mcp"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add xiaohongshu-mcp -- TODO 'See README: https://github.com/xpzouying/xiaohongshu-mcp'

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: xiaohongshu-mcp

How to publish content to Xiaohongshu with AI assistance

👤 Content creators and brands publishing on Xiaohongshu ⏱ ~10 min beginner

Когда использовать: You want to publish posts to Xiaohongshu without using the mobile app.

Предварительные требования
  • xiaohongshu-mcp running — Download binary from releases or docker run
  • Xiaohongshu account authenticated — Use get_login_qrcode to scan and authenticate
Поток
  1. Authenticate
    Log into Xiaohongshu. Generate a QR code for me to scan.✓ Скопировано
    → QR code displayed for mobile scanning
  2. Publish a post
    Publish a post about my coffee shop visit with these 3 photos. Title: '隐藏在街角的宝藏咖啡店'. Add hashtags #咖啡 #探店.✓ Скопировано
    → Post published confirmation with link

Итог: Content published to Xiaohongshu with images and hashtags.

Подводные камни
  • Content moderation may reject posts — Xiaohongshu has strict content policies. Avoid promotional language and follow community guidelines.
Сочетать с: filesystem

Комбинации

Сочетайте с другими MCP — эффект x10

xiaohongshu-mcp + filesystem

Batch prepare posts locally and publish them to Xiaohongshu

Read my prepared posts from ~/content/xhs/ and publish them one by one with appropriate hashtags.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
get_login_qrcode none Get QR code for authentication 0
check_login_status none Verify authentication status 0
publish_content title: str, description: str, images: str[], hashtags?: str[] Publish an image-text post 0
publish_with_video title: str, description: str, video: str Publish a video post 0
search_feeds keyword: str, filters? Search for content by keyword 0
get_feed_detail feed_id: str Get post details with comments 0
post_comment_to_feed feed_id: str, content: str Comment on a post 0
like_feed feed_id: str Like or unlike a post 0
user_profile user_id: str Get a user's profile information 0

Стоимость и лимиты

Во что обходится

Квота API
Subject to Xiaohongshu's internal rate limits
Токенов на вызов
200–1000 tokens per tool call
Деньги
Free
Совет
Search before publishing to understand what performs well in your niche.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: Session cookies stored locally after QR authentication
Исходящий трафик: Calls to Xiaohongshu's internal API endpoints

Устранение неполадок

Частые ошибки и исправления

QR code login fails

Ensure you scan the QR code with the Xiaohongshu mobile app within the timeout period. Try generating a new code.

Проверить: check_login_status after scanning
Session expired

Re-authenticate by generating a new QR code and scanning again.

Проверить: check_login_status
Post rejected by content moderation

Xiaohongshu has strict content policies. Review your content for promotional language, sensitive topics, or policy violations.

Проверить: Check Xiaohongshu's content guidelines

Альтернативы

xiaohongshu-mcp в сравнении

АльтернативаКогда использоватьКомпромисс
Manual posting via Xiaohongshu appYou want guaranteed ToS complianceManual but no risk of account restrictions

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills