@@ -35,6 +35,26 @@ https://github.com/user-attachments/assets/bd9a9a4a-58cb-4421-b8f3-015f703ce1f9
3535
3636Supports publishing image and text content to RedNote, including title, content description, and images. More publishing features will be supported later.
3737
38+ ** Image Support Methods:**
39+
40+ Supports two image input methods:
41+
42+ 1 . ** HTTP/HTTPS Image Links**
43+ ```
44+ ["https://example.com/image1.jpg", "https://example.com/image2.png"]
45+ ```
46+
47+ 2 . ** Local Image Absolute Paths** (Recommended)
48+ ```
49+ ["/Users/username/Pictures/image1.jpg", "/home/user/images/image2.png"]
50+ ```
51+
52+ ** Why Local Paths are Recommended:**
53+ - ✅ Better stability, not dependent on network
54+ - ✅ Faster upload speed
55+ - ✅ Avoid image link expiration issues
56+ - ✅ Support more image formats
57+
3858** Publish Image-Text Post Demo:**
3959
4060https://github.com/user-attachments/assets/8aee0814-eb96-40af-b871-e66e6bbb6b06
@@ -108,6 +128,31 @@ https://github.com/user-attachments/assets/cc385b6c-422c-489b-a5fc-63e92c695b80
108128
109129</details >
110130
131+ <details >
132+ <summary ><b >7. Get User Profile</b ></summary >
133+
134+ Get RedNote user's personal profile information, including basic user information and note content.
135+
136+ ** Feature Description:**
137+
138+ - Get user basic information (nickname, bio, avatar, etc.)
139+ - Get follower count, following count, likes count statistics
140+ - Get user's published note content list
141+ - Supports HTTP API and MCP tool calls
142+
143+ ** ⚠️ Important Note:**
144+
145+ - Must login first to use this feature
146+ - Need to provide user ID and xsec_token
147+ - These parameters can be obtained from Feed list or search results
148+
149+ ** Returned Information Includes:**
150+ - User basic info: nickname, bio, avatar, verification status
151+ - Statistics: following count, follower count, likes count, note count
152+ - Note list: all public notes published by the user
153+
154+ </details >
155+
111156** RedNote Basic Operation Knowledge**
112157
113158- ** Title: (Very Important) RedNote requires titles to not exceed 20 characters**
@@ -461,15 +506,18 @@ After successful connection, you can use the following MCP tools:
461506
462507- ` check_login_status ` - Check RedNote login status (no parameters)
463508- ` publish_content ` - Publish image-text content to RedNote (required: title, content, images)
509+ - ` images ` : Supports HTTP links or local absolute paths, local paths recommended
464510- ` list_feeds ` - Get RedNote homepage recommendation list (no parameters)
465511- ` search_feeds ` - Search RedNote content (required: keyword)
466512- ` get_feed_detail ` - Get post details (required: feed_id, xsec_token)
467513- ` post_comment_to_feed ` - Post comments to RedNote posts (required: feed_id, xsec_token, content)
514+ - ` user_profile ` - Get user profile information (required: user_id, xsec_token)
468515
469516### 2.4. Usage Examples
470517
471518Using Claude Code to publish content to RedNote:
472519
520+ ** Example 1: Using HTTP Image Links**
473521```
474522Help me write a post to publish on RedNote,
475523with image: https://cn.bing.com/th?id=OHR.MaoriRock_EN-US6499689741_UHD.jpg&w=3840
@@ -478,6 +526,16 @@ The image is: "Maori rock carving at Ngātoroirangi Mine Bay, Lake Taupo, New Ze
478526Use xiaohongshu-mcp for publishing.
479527```
480528
529+ ** Example 2: Using Local Image Paths (Recommended)**
530+ ```
531+ Help me write a post about spring to publish on RedNote,
532+ using these local images:
533+ - /Users/username/Pictures/spring_flowers.jpg
534+ - /Users/username/Pictures/cherry_blossom.jpg
535+
536+ Use xiaohongshu-mcp for publishing.
537+ ```
538+
481539![ claude-cli publishing] ( ./assets/claude_push.gif )
482540
483541** Publishing Result:**
0 commit comments