Atlas / MCP servers / ifuryst / RedNote

RedNoteSAFE

mcp/ifuryst/rednote

🚀MCP server for accessing RedNote(XiaoHongShu, xhs).

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 4r · 0w · 0d
Transport
stdio
License
MIT
Stars
1,111
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](docs/README.en.md) [](README.md) [](https://www.npmjs.com/package/rednote-mcp)

小红书内容访问的MCP服务

https://github.com/user-attachments/assets/06b2c67f-d9ed-4a30-8f1d-9743f3edaa3a

快速开始

开始前确保安装了 playwright 环境:

npx playwright install

NPM 全局安装

# 全局安装
npm install -g rednote-mcp

# 初始化登录,会自动记录cookie到 ~/.mcp/rednote/cookies.json
rednote-mcp init

从源码安装

# 克隆项目
git clone https://github.com/ifuryst/rednote-mcp.git
cd rednote-mcp

# 安装依赖
npm install

# 全局安装(可选,方便命令行调用)
npm install -g .

# 或者直接运行,如初始化登录
npm run dev -- init

功能特性

  • 认证管理(支持 Cookie 持久化)
  • 关键词搜索笔记
  • 命令行初始化工具
  • 通过 URL 访问笔记内容
  • [ ] 通过 URL 访问评论内容

使用说明

1. 初始化登录

首次使用需要先进行登录初始化:

rednote-mcp init
# 或者直接从源码run
npm run dev -- init
# 或者mcp-client里选择login

执行此命令后:

  1. 会自动打开浏览器窗口
  2. 跳转到小红书登录页面
  3. 请手动完成登录操作
  4. 登录成功后会自动保存 Cookie 到 ~/.mcp/rednote/cookies.json 文件

2. 在 Cursor 中配置 MCP Server

在 Cursor 的 settings.json 中添加以下配置:

{
"mcpServers": {
"RedNote MCP": {
"command": "rednote-mcp",
"args": [
"--stdio"
]
}
}
}

或者使用 npx 方式:

{
"mcpServers": {
"RedNote MCP": {
"command": "npx",
"args": [
"rednote-mcp",
"--stdio"
]
}
}
}

配置说明:

  • command: 可以是全局安装后的 rednote-mcp 命令,或使用 npx 直接运行
  • args: 必须包含 --stdio 参数以支持 Cursor 的通信方式

开发指南

环境要求

  • Node.js >= 16
  • npm >= 7

开发流程

# 安装依赖
npm install

# 构建项目
npm run build

# 开发模式运行
npm run dev

# 运行测试
npm test

使用 MCP Inspector 进行调试

MCP Inspector 是一个用于调试 MCP 服务器的工具,可以帮助开发者检查和验证 MCP 服务器的行为。使用以下命令启动:

npx @modelcontextprotocol/inspector npx rednote-mcp --stdio

这个命令会:

  1. 启动 MCP Inspector 工具
  2. 通过 Inspector 运行 rednote-mcp 服务
  3. 提供一个交互式界面来检查请求和响应
Read from source at commit 904d9e67ea7dOBSERVED · 2026-09-25
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add rednote-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "rednote-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (4)

4 read · 0 write · 0 destructive.

ToolRiskDescription
get_note_commentsread获取笔记评论
get_note_contentread获取笔记内容
loginread登录小红书账号
search_notesread根据关键词搜索笔记
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @types/archiver, archiver, commander, dotenv, mcp-sdk, playwright, winston
Why it matters. 16 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-09-25 · audit v0.4.1 · source sha 904d9e67ea7dfull audit observations/trust-audit/mcp-server/ifuryst__rednote.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-25904d9e67ea7dSAFEB89first audit
06

Questions

What is the RedNote MCP server?

🚀MCP server for accessing RedNote(XiaoHongShu, xhs).

What tools does RedNote expose?

4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is RedNote safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does RedNote need?

No credential environment variables were found in its source, so it appears to need none.

How does RedNote run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as rednote-mcp at 0.2.3.

How current is this page?

The grade is for one exact copy of the source (904d9e67ea7d), read on 2026-09-25. The repository is watched and re-audited when it changes.

Advertisement