Skip to content

xhs_download_images

Download all images from a note.

Parameters

ParameterTypeRequiredDescription
noteIdstringYesNote ID
xsecTokenstringYesSecurity token
accountstringNoAccount to use

Response

json
{
  "success": true,
  "noteId": "xxx",
  "images": [
    "/Users/xxx/.xhs-mcp/downloads/images/xxx/1.jpg",
    "/Users/xxx/.xhs-mcp/downloads/images/xxx/2.jpg"
  ],
  "count": 2
}

Example

xhs_download_images({
  noteId: "abc123",
  xsecToken: "token"
})

Storage Location

Images are saved to:

~/.xhs-mcp/downloads/images/{noteId}/

Released under the MIT License.