xhs-mcp
📕 xhs-mcp — 샤오홍슈를 나의 MCP 도구로
로컬 실행 · Chrome 구동 · 부계정 안전 — 샤오홍슈 ⇌ 모든 MCP 호스트(DSH 우선)
가벼운 MCP Server로, DSH / Claude / Cursor 등 호스트에서 **비공개 채팅/도구 호출**을 통해 샤오홍슈를 조작할 수 있습니다: 로그인, 노트 검색! (발행 기능은 예약되어 있으며, 주인의 명시적 승인이 필요합니다)
✨ 기능
기능 | 설명 | 상태 |
🔐 독립 로그인 상태 | 독립 Chrome profile, QR 스캔 한 번으로 영구 무로그인 | ✅ |
🔍 노트 검색 | 키워드 검색, 제목 + 링크 반환 | ✅ |
🛡️ 탐지 방지 | 실제 Chrome + 실제 UA + webdriver 표시 제거 | ✅ |
👤 부계정 격리 | profile 독립, 주인의 일상 계정에 접촉하지 않음 | ✅ |
📝 발행 | 인터페이스 예약(주인의 명시적 승인 필요) | 🚧 |
🖥️ 다중 호스트 | stdio MCP, DSH/Claude/Cursor 모두 지원 | ✅ |
Related MCP server: Xiaohongshu (RedBook) MCP Server
🚀 빠른 시작(DSH 우선)
사전 준비
Node.js ≥ 20
**Google Chrome 설치됨)(또는 경로 지정)**
1️⃣ 다운로드
git clone https://github.com/HUliangwei/xhs-mcp.git
cd xhs-mcp
npm install # 安装 playwright-core2️⃣ 설정
cp .env.example .env
# 按需改 XHS_PROFILE(多账号用不同名)3️⃣ DSH에 등록
dsh-bundle/을 프로필 번들에 복사하고, 프로필의 package.json dsh.profile.bundles에 ./bundles/xhs-mcp를 추가하세요:
{ "dsh": { "profile": { "bundles": [ "./bundles/xhs-mcp" ] } } }DSH 재시작 → 도구 그룹 xhs_* 사용 가능.
4️⃣ 기타 호스트
{ "mcpServers": { "xhs": { "command": "node", "args": ["<路径>/xhs-mcp-server.mjs"] } } }🛠️ 도구
도구 | 설명 |
xhs_login | 실제 Chrome 열기, QR 스캔 로그인(180초, 영구 저장) |
xhs_search | 노트 검색: { keyword, count } → 제목+링크 |
xhs_status | 로그인 상태 확인 |
🛡️ 보안 설계
**비공개 채팅/도구 호출만: 어떤 그룹 채팅 브로드캐스트에도 연결하지 않음**
**부계정 전용: 독립 profile, 로그인 상태 격리, 주인의 메인 계정에 접촉하지 않음**
**읽기 전용 우선: 현재 읽기 전용+검색; 발행은 주인의 명시적 승인 필요, 저빈도 준수**
**로컬 실행: 원격 서버 없음, 데이터가 본 기기를 벗어나지 않음**
**git에 포함 안 함: profiles/(로그인 상태), .env 모두 무시**
📜 오픈소스
Apache-2.0 · GitHub
**유용하다고 생각하시나요? ⭐ Star!!**
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables automated interaction with Xiaohongshu (Little Red Book) social media platform through browser automation. Supports login management, status checking, and publishing text content with images to Xiaohongshu accounts.33
- FlicenseNot gradedqualityDmaintenanceEnables automated interaction with Xiaohongshu (Little Red Book) platform including searching posts, retrieving content and comments, and posting AI-generated comments with persistent login support.444
- FlicenseNot gradedqualityDmaintenanceEnables automated searching and commenting on Xiaohongshu with AI-generated comments via MCP clients like Claude, supporting login persistence, note analysis, and four comment types.
- AlicenseAqualityDmaintenanceEnables AI assistants to search, browse, and publish notes on Xiaohongshu (Little Red Book) via MCP tools.8AGPL 3.0
Related MCP Connectors
搜索笔记、浏览首页推荐、查看笔记内容与评论,并发表你的评论。直接在工作流中与小红书内容互动,高效跟进话题。
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HUliangwei/xhs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server