Basic information
About 小红书自动评论工具(MCP Server)
这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client,帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布智能评论等操作。
小红书自动评论工具(MCP Server) is a MCP server in the Search category listed in the AddMCP.net directory, published by chenningling. Supported transport: stdio. Runtime: python. License: Apache Software License. The repository has 42 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"RedBook-Search-Comment-MCP": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"mcpServers": {
"RedBook-Search-Comment-MCP": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"servers": {
"RedBook-Search-Comment-MCP": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
小红书自动评论工具(MCP Server) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"RedBook-Search-Comment-MCP": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
小红书自动评论工具(MCP Server) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is 小红书自动评论工具(MCP Server)?
一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server 可接入 MCP Client(如 Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布智能评论等操作。
How to use 小红书自动评论工具(MCP Server)?
确保已安装 Python 3.8+,克隆项目后创建虚拟环境并安装依赖(pip install -r requirements.txt、pip install fastmcp、playwright install)。在 MCP Client 配置文件中填写虚拟环境 Python 解释器和 xiaohongshu_mcp.py 的完整绝对路径。连接后通过自然语言指令调用各工具函数,如“帮我登录小红书”。
Key features of 小红书自动评论工具(MCP Server)
- 自动登录,支持首次扫码并保存登录状态
- 关键词搜索笔记,可指定返回结果数量
- 获取笔记详细内容(标题、作者、时间、正文)
- 获取笔记评论信息(评论者、内容、时间)
- 发布智能评论,支持引流、点赞、咨询、专业四种类型
Use cases of 小红书自动评论工具(MCP Server)
- 营销人员批量搜索关键词并发布引流评论
- 内容创作者自动化管理笔记互动,提升曝光
- 研究人员收集热门笔记内容与评论数据
- 个人用户自动化日常互动,增加账号活跃度
Frequently asked questions
1 连接失败怎么办?
确保使用了虚拟环境中 Python 解释器的完整绝对路径,确认 MCP 服务器正在运行,可尝试重启服务器和客户端。
2 如何解决“Page.goto: Target page, context or browser has been closed”错误?
重启 MCP 服务器,重新连接并登录即可。
3 首次登录需要什么操作?
首次使用需要手动扫码登录,成功后会保存登录状态,后续无需重复扫码。
4 需要哪些环境依赖?
依赖 Python 3.8+、Playwright 浏览器及 fastmcp 包,具体依赖列表见项目中的 requirements.txt。
5 使用本工具有什么风险?
需严格遵守小红书平台规定,避免过度操作,防止账号被封禁;平台更新可能影响功能可用性。
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In