Xiaohongshu

Provides an MCP-backed Xiaohongshu content service that generates outlines and images for Xiaohongshu posts via configurable environment endpoints.
  • other

8

GitHub Stars

other

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "xeron2000-redbookmcp": {
      "command": "npx",
      "args": [
        "@xeron688/xiaohongshu-mcp"
      ],
      "env": {
        "DATA_DIR": "./data",
        "ENDPOINTS": "/v1/images/generations",
        "IMAGE_MODEL": "your_model_name",
        "IMAGE_API_KEY": "your_api_key",
        "IMAGE_API_URL": "your_api_url"
      }
    }
  }
}

You can run Xiaohongshu MCP Server to generate article outlines and images for Xiaohongshu posts. It exposes a simple, self-contained way to process content tasks through a local or remote MCP client, helping you automate outline generation and image creation for Xiaohongshu.

How to use

To use the Xiaohongshu MCP Server, you run it as a local MCP backend and connect your MCP client to it. The server is invoked through a standard MCP client workflow and relies on a Node-based runtime to execute the MCP package. You will predominantly work with a stdio configuration that launches the MCP package via a command like npx at runtime. You can manage your projects, generate outlines, and create images through the included tools.

Typical actions you can perform include generating an outline, updating the outline, generating images for the outline, and retrieving project details. Your MCP client will expose a set of tools that map to those actions, and the server will accept requests through the configured stdio command.

How to install

Prerequisites you need before installing the MCP server:

  • Node.js and npm installed on your machine.

Follow these concrete steps to prepare and run the MCP server locally:

# 1) Install dependencies for the MCP project
npm install

# 2) Build the MCP package if required
npm run build

# 3) Run tests to verify the setup (optional but recommended)
npm run test:run

Configuration and startup notes

You configure the MCP backend by defining the mcpServers array and providing the runtime command for the stdio server. The following example shows how to set up a local stdio MCP server using npx to run the Xiaohongshu MCP package. Adjust environment values to your own API endpoints and keys where indicated.

{
  "mcpServers": {
    "xiaohongshu": {
      "command": "npx",
      "args": ["@xeron688/xiaohongshu-mcp"],
      "env": {
        "IMAGE_API_URL": "your_api_url",
        "IMAGE_API_KEY": "your_api_key",
        "IMAGE_MODEL": "your_model_name",
        "ENDPOINTS": "/v1/images/generations",
        "DATA_DIR": "./data"
      }
    }
  }
}

Additional notes

Restart or reinitialize your MCP client after saving configuration changes to ensure the new server settings take effect.

Available tools

generate_outline

Generates an outline for a given topic or prompt.

update_outline

Updates an existing outline based on new input or edits.

generate_images

Generates images based on the current outline or specified prompts.

get_project

Retrieves details about a project, including its outline and assets.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Xiaohongshu MCP Server - xeron2000/redbookmcp | VeilStrat