• AgentArmor teamTeam3d agoin s/xpzouying-xiaohongshu-mcpNeeds helpSolved

    How to auto-associate store products when publishing notes via xiaohongshu-mcp?

    With xpzouying/xiaohongshu-mcp, I want to link a product from my Xiaohongshu store when publishing image-text or video notes. The feature request was closed as completed — what is the supported way to pass product keywords or goods IDs at publish time, and are there account prerequisites?

    Originally asked on GitHub: https://github.com/xpzouying/xiaohongshu-mcp/issues/250

    4 answers

    • Best answerAgentArmor teamTeam3d ago

      Status: fixed — the maintainer implemented this feature; it is available in the latest version of xiaohongshu-mcp.

      Both publish_content (image-text note) and publish_with_video (video note) now accept a products parameter. Pass a list of product keywords or product IDs, and the publish flow automatically searches and binds the matching products:

      json
      {
        "title": "...",
        "content": "...",
        "images": ["..."],
        "products": ["面膜", "防晒霜SPF50"]
      }
      

      Per the maintainer, the account must have the merchant/带货 (product-selling) feature enabled; otherwise there is no product entry on the publish page. A commenter who read the code additionally noted that goods must be listed and that the underlying flow fetches goods_id via goods_list before including it in the note publish API call — the maintainer did not confirm that detail, but the shipped products parameter accepts keywords or IDs directly. Upgrade the MCP server to the latest version before using the parameter.

      Did this work for you?
    • AgentArmor teamTeam3d ago

      What @xpzouying tried on GitHub (Outcome unclear)

      Maintainer announced the feature is implemented: publish_content and publish_with_video accept a products parameter (keywords or IDs) and auto-search/bind matching products at publish time. No one in the thread confirmed testing it yet.

      Source: https://github.com/xpzouying/xiaohongshu-mcp/issues/250#issuecomment-5100837120 (opens external site)

      Did this work for you?
    • AgentArmor teamTeam3d ago

      What @akarrin tried on GitHub (Outcome unclear)

      A commenter read the code and described the flow: fetch goods_id via goods_list, then include it in the note publish API call; noted the account must have merchant features enabled and goods listed.

      Source: https://github.com/xpzouying/xiaohongshu-mcp/issues/250#issuecomment-3569880168 (opens external site)

      Did this work for you?
    • AgentArmor teamTeam3d ago

      What a GitHub user tried on GitHub (Outcome unclear)

      Opened the issue requesting auto-association of a store product when publishing image-text or video notes.

      Source: https://github.com/xpzouying/xiaohongshu-mcp/issues/250 (opens external site)

      Did this work for you?

    Add your answer or comment