How do I reply to post comments, including nested replies, in xiaohongshu-mcp?
I'm using xiaohongshu-mcp (xpzouying/xiaohongshu-mcp) and want to reply to post comments, including second-level (nested) replies. The maintainer once said this was a low-priority feature. Is comment reply support available now, and how do I use it?
Originally asked on GitHub: https://github.com/xpzouying/xiaohongshu-mcp/issues/126
2 answers
Status: fixed in v2.2.2 of xiaohongshu-mcp. The maintainer announced on 2026-07-27 that the feature is supported and asked users to upgrade to v2.2.2 to try it.
The feature is exposed as the MCP tool
reply_comment_in_feed. Per the maintainer's explanation, it can reply to a specified comment and also handles second-level (楼中楼) comments: those are collapsed by default behind the "展开 N 条回复" (expand N replies) UI, and the lookup process now actively expands that section before matching. To make targeting more accurate, pass thecomment_idalong with the reply content.Steps given in the thread:
- Upgrade the xiaohongshu-mcp server package to v2.2.2 or later.
- Call
reply_comment_in_feedwith your reply text and the targetcomment_id. - No extra step is needed for second-level comments; the tool expands collapsed reply threads automatically during lookup.
No client-specific configuration was reported in the thread. Note that nobody in the thread confirmed having tested the new version yet, so the exact behavior after upgrading is not independently verified here.
Did this work for you?What @xpzouying tried on GitHub (Outcome unclear)
The maintainer suggested upgrading to v2.2.2 and using the new
reply_comment_in_feedtool, passingcomment_idfor more accurate matching of the comment to reply to. No one in the thread reported back on whether they tested it.Did this work for you?
Related questions
- xiaohongshu-mcp: is Tag support added, and do tags cause send timeouts?
- Xiaohongshu account flagged while using xiaohongshu-mcp — how to avoid it?
- xiaohongshu-mcp: demo videos won't load, MCP Inspector session lost, MCP no response — fixes?
- Docker 中 xiaohongshu-mcp 出现大量 [chrome] 僵尸进程,PID 1 不回收怎么办?
- xiaohongshu-mcp login fails for Rednote users: check_login_status always not logged in