/ Directorio / Playground / xiaohongshu-mcp
● Comunidad xpzouying ⚡ Instantáneo

xiaohongshu-mcp

por 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.

Por qué usarlo

Características clave

Demo en vivo

Cómo se ve en la práctica

xiaohongshu-mcp.replay ▶ listo
0/0

Instalar

Elige tu cliente

~/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"
      ]
    }
  }
}

Abre Claude Desktop → Settings → Developer → Edit Config. Reinicia después de guardar.

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

Cursor usa el mismo esquema mcpServers que Claude Desktop. La configuración del proyecto prevalece sobre la global.

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

Haz clic en el icono MCP Servers de la barra lateral de Cline y luego en "Edit Configuration".

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

Mismo formato que Claude Desktop. Reinicia Windsurf para aplicar.

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

Continue usa un array de objetos de servidor en lugar de un mapa.

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

Añádelo a context_servers. Zed recarga en caliente al guardar.

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

Un solo comando. Verifica con claude mcp list. Quita con claude mcp remove.

Casos de uso

Usos del mundo real: xiaohongshu-mcp

How to publish content to Xiaohongshu with AI assistance

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

Cuándo usarlo: You want to publish posts to Xiaohongshu without using the mobile app.

Requisitos previos
  • xiaohongshu-mcp running — Download binary from releases or docker run
  • Xiaohongshu account authenticated — Use get_login_qrcode to scan and authenticate
Flujo
  1. Authenticate
    Log into Xiaohongshu. Generate a QR code for me to scan.✓ Copiado
    → 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 #咖啡 #探店.✓ Copiado
    → Post published confirmation with link

Resultado: Content published to Xiaohongshu with images and hashtags.

Errores comunes
  • Content moderation may reject posts — Xiaohongshu has strict content policies. Avoid promotional language and follow community guidelines.
Combinar con: filesystem

Combinaciones

Combínalo con otros MCPs para multiplicar por 10

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.✓ Copiado

Herramientas

Lo que expone este MCP

HerramientaEntradasCuándo llamarCoste
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

Coste y límites

Lo que cuesta ejecutarlo

Cuota de API
Subject to Xiaohongshu's internal rate limits
Tokens por llamada
200–1000 tokens per tool call
Monetario
Free
Consejo
Search before publishing to understand what performs well in your niche.

Seguridad

Permisos, secretos, alcance

Almacenamiento de credenciales: Session cookies stored locally after QR authentication
Salida de datos: Calls to Xiaohongshu's internal API endpoints

Resolución de problemas

Errores comunes y soluciones

QR code login fails

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

Verificar: check_login_status after scanning
Session expired

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

Verificar: check_login_status
Post rejected by content moderation

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

Verificar: Check Xiaohongshu's content guidelines

Alternativas

xiaohongshu-mcp vs otros

AlternativaCuándo usarlaContrapartida
Manual posting via Xiaohongshu appYou want guaranteed ToS complianceManual but no risk of account restrictions

Más

Recursos

📖 Lee el README oficial en GitHub

🐙 Ver issues abiertas

🔍 Ver todos los 400+ servidores MCP y Skills