RedNote-MCP

507

RedNote MCP is a service for accessing Xiaohongshu content with features like authentication management and keyword searches. It can be used as a command-line tool and has specific instructions for setup and development.

RedNote MCP Overview

  • RedNote MCP is a service for accessing content from Xiaohongshu.
  • Key Features:
    • Authentication management with persistent cookies.
    • Keyword search for notes.
    • Command-line initialization tool.
    • Access note content via URL.

Quick Start

Ensure Playwright is installed, then use the following commands:

  • Globally install via npm npm install -g rednote-mcp.
  • Initialize login with rednote-mcp init.
  • From source, clone the project and run npm install.

Usage Instructions

  1. Initialize login, manually logging into Xiaohongshu.
  2. Configure MCP Server in Cursor settings.json.

Development Guide

  • Ensure Node.js (>= 16) and npm (>= 7) are installed.
  • Use MCP Inspector for debugging.

Contribution Guide

  1. Fork the repository.
  2. Create a feature branch.
  3. Commit and push your changes.
  4. Open a Pull Request.

License

Released under MIT License.