Marketing · Social Media

Xhs MCP

algovate/xhs-mcp

Unified CLI xhs-mcp with built-in MCP server subcommand. Automate XiaoHongShu (xiaohongshu.com) with Puppeteer: login, publishing, search, feed discovery, and commenting via MCP and CLI.

Install

npx xhs-mcp mcp

Client configuration

{
  "mcpServers": {
    "xhs-mcp": {
      "command": "npx",
      "args": [
        "xhs-mcp",
        "mcp"
      ],
      "env": {
        "XHS_ENABLE_LOGGING": "<XHS_ENABLE_LOGGING>"
      }
    }
  }
}

Environment variables

XHS_ENABLE_LOGGING
Author
@algovate
Category
Marketing, Social Media
License
MIT
Updated
Oct 6, 2026

Features

  • Auth: login, logout, status check

  • Publish: unified content publishing

  • Discover: home feeds, keyword search, note detail, comment

  • User Notes: list, delete management

  • Automation: Puppeteer-driven, headless mode, cookie management

Tools (5)

  • xhs_auth_login

    xhs_auth_logout, xhs_auth_status

  • xhs_discover_feeds

    xhs_search_note, xhs_get_note_detail

  • xhs_comment_on_note

  • xhs_get_user_notes

    xhs_delete_note (user note management)

  • xhs_publish_content

    (unified interface: type, title, content, media_paths, tags)

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

Related MCP servers

More servers
osp_marketing_tools logo

osp_marketing_tools

open-strategy-partners/osp_marketing_tools

152

This software is based on the Model Context Protocol (MCP) and is can be used by any LLM client that supports the MCP.

Marketing
powerpoint logo

powerpoint

supercurses/powerpoint

84

A MCP server project that creates powerpoint presentations.

Marketing
MCP Google Ads logo

MCP Google Ads

cohnen/mcp-google-ads

66

A tool that connects Google Ads with Claude AI, allowing you to analyze your advertising data through natural language conversations. This integration gives you access to campaign information, performance metrics, keyword analytics, and ad management—all through simple chat with Claude.

Marketing
MCP Gsc logo

MCP Gsc

AminForou/mcp-gsc

59

A Model Context Protocol (MCP) server that connects Google Search Console (GSC) to AI assistants, allowing you to analyze your SEO data through natural language conversations. Works with Claude Desktop, Cursor, Codex CLI, Gemini CLI, Antigravity, and any other MCP-compatible client.

Marketing
MCP Hubspot logo

MCP Hubspot

peakmojo/mcp-hubspot

57

A Model Context Protocol (MCP) server that enables AI assistants to interact with HubSpot CRM data. This server bridges AI models with your HubSpot account, providing direct access to contacts, companies, and engagement data. Built-in vector storage and caching mechanisms help overcome HubSpot API limitations while improving response times.

Marketing
Wordpress MCP Server logo

Wordpress MCP Server

stefans71/wordpress-mcp-server

56

A Model Context Protocol (MCP) server for WordPress integration, compatible with Windows, macOS, and Linux.

Marketing