Install this MCP

Pick your client, then copy the config.

Install config
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "url": "http://localhost:18060/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_XIAOHONGSHU_PAT"
      }
    }
  }
}

Set up with your agent

Uses the same client as above (Cursor). Paste into that agent.

Agent prompt
Install the "xiaohongshu-mcp" MCP for Cursor in this workspace.
1. Read official install docs: https://github.com/xpzouying/xiaohongshu-mcp
2. Merge this JSON into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "url": "http://localhost:18060/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_XIAOHONGSHU_PAT"
      }
    }
  }
}

3. Required environment variables / secrets (ask the user; never invent secrets):
   - XIAOHONGSHU_PAT (required): See repository README.
4. Restart Cursor if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/xiaohongshu.html

Try it

After install, paste one of these into your agent.

  • Show me what xiaohongshu-mcp can do
  • Set up a simple workflow using xiaohongshu-mcp
  • List the tools available in xiaohongshu-mcp