xhs-mcp (ShunL12324/xhs-mcp) is an MCP server listed on the M8ven Trust Index. It scores 50 out of 100, grade D. It declares 70 tools. No publisher has claimed this listing.
Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
ShunL12324
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.
xhs_list_accountsList all registered Xiaohongshu accounts with their status and last activity.
xhs_add_accountStart login process for a new or existing account. Returns a QR code URL for scanning. After user scans the QR code, call xhs_check_login_session to check status and complete the login. Flow: 1. Call xhs_add_account -> get sessionId and qrCodeUrl 2. Show QR code URL to user for scanning 3. Call xhs…
xhs_check_login_sessionCheck login status and complete the login process. Call this after user scans the QR code from xhs_add_account. May return verification_required if SMS code is needed. Status values: - waiting_scan: QR code not scanned yet - scanned: QR code scanned, processing - verification_required: SMS code nee…
xhs_submit_verificationSubmit SMS verification code to complete login. Only call this when xhs_check_login_session returns status: verification_required. Verification code expires in 1 minute.
xhs_remove_accountRemove a registered account and delete its session data.
xhs_set_account_configUpdate account configuration such as name, proxy or status.
xhs_get_account_promptGet the prompt file content for an account. Prompts control AI behavior during explore (note selection and comment generation).
xhs_set_account_promptUpdate the prompt file content for an account. Use this to customize AI behavior during explore.
xhs_check_auth_statusCheck if an account is currently logged in to Xiaohongshu. If logged in, syncs user profile (nickname, userId, etc.) to database.
xhs_searchSearch for notes on Xiaohongshu. Supports scrolling to load more results and filtering. Returns notes with id, xsecToken, title, cover, user info, and likes.
xhs_get_noteGet details of a specific note including content, images, stats, and comments. Use xsecToken from search results for reliable access.
xhs_user_profileGet user profile information including basic info, stats (followers, fans), and their published notes.
xhs_list_feedsGet homepage recommended feeds.
xhs_publish_videoPublish a new video note to Xiaohongshu. Opens a visible browser window for the publishing process. Requires login.
xhs_like_feedLike or unlike a note on Xiaohongshu. Requires login.
xhs_favorite_feedFavorite (collect) or unfavorite a note on Xiaohongshu. Requires login.
xhs_post_commentPost a comment on a note. Requires login.
xhs_reply_commentReply to a comment on a note. Requires login.
xhs_like_commentLike or unlike a comment on Xiaohongshu. Requires login.
xhs_delete_cookiesDelete saved login cookies/session for an account. Use this to log out or re-authenticate.
xhs_get_account_statsGet operation statistics for an account including total operations, success rate, and breakdown by action type.
xhs_get_operation_logsQuery operation logs for an account. Returns recent operations with their results.
xhs_download_imagesDownload all images from a note to local storage.
xhs_download_videoDownload video from a note to local storage.
xhs_create_draftCreate a note draft from Markdown content and screenshots. AI will automatically generate beautiful Xiaohongshu-style images (cover, screenshot annotations, text slides).
xhs_list_draftsList all note drafts.
xhs_get_draftGet details of a specific draft.
xhs_update_draftUpdate a draft. Can modify title, content, tags, or images.
xhs_delete_draftDelete a draft and its associated images.
xhs_publish_draftPublish a draft to Xiaohongshu. Supports publishing to multiple accounts with identical content.
xhs_get_my_notesGet list of published notes from the current account's creator center. Fetches from API and caches to database. Returns notes with stats (views, likes, comments, etc.) and permission status.
xhs_query_my_notesQuery cached published notes from database. Supports multiple filter conditions. Use xhs_get_my_notes first to populate the cache.
xhs_get_notificationsGet notifications for the current account. Returns mentions (comments/replies), likes, and connections (follows). Each notification contains enough info to reply or interact.
xhs_exploreAutomatically browse the Xiaohongshu explore page with human-like behavior. Uses AI to select interesting notes, then likes and comments based on probability. Features: - Scrolls like a human (2-3 wheel scrolls, then pause to read) - AI selects which notes to open based on interests - Probability-b…
xhs_stop_exploreStop a running explore session. Use this to gracefully stop an ongoing explore session. The session will complete its current action and then stop. If no sessionId is provided, stops all active explore sessions for the account.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback)
hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard
GEMINI_ANALYSIS_MODELGEMINI_API_KEYGemini API 密钥(AI 图片生成必需)GEMINI_BASE_URLGEMINI_IMAGE_GENERATE_MODELgemini-3-pro-image 图片生成模型GEMINI_MODELXHS_MCP_DATA_DIR~/.xhs-mcp 数据存储目录XHS_MCP_HEADLESStrue 是否使用无头浏览器XHS_MCP_KEEP_OPENfalse 操作完成后保持浏览器打开XHS_MCP_LOG_LEVELXHS_MCP_PORTXHS_MCP_REQUEST_INTERVAL2000 请求间隔(毫秒)XHS_MCP_TIMEOUT_PAGE_LOADXHS_MCP_TIMEOUT_VIDEO_UPLOADTool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
70/70 tools missing one or more hints — xhs_list_accounts (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); xhs_add_account (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); xhs_check_login_session (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +67 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tests exist
No test files found
Add tests that exercise each declared tool.
Shell command execution
10 child_process calls — runs shell commands
Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.
Secrets not logged
12 secret values sent to console.log
Redact or omit secret values from log output.
No arbitrary install scripts
Has postinstall/preinstall script — runs arbitrary code on npm install
Remove postinstall/preinstall hooks unless they’re essential.
Production dependencies are patched
0 critical, 8 high severity in production deps — @modelcontextprotocol/sdk@1.23.0 (high), @modelcontextprotocol/sdk@1.23.0 (high)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
Domain consistency
npm scope @sillyl12324 doesn't match GitHub owner shunl12324
Use the same org name across GitHub, npm, and your homepage so users can verify the publisher.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/shunl12324/xhs-mcp)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check