Xiaohongshu Uploader
Upload images and videos to Xiaohongshu Creator Platform using a local MCP server with browser automation. Features enhanced title validation and improved draft saving.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- Xiaohongshu Uploader
- description
- Upload images and videos to Xiaohongshu Creator Platform using a local MCP server with browser automation. Features enhanced title validation and improved draft saving.
02 资源文件 10
- 参考文档_meta.json460 B
- 参考文档.clawhub/origin.json147 B
- 参考文档CHANGELOG.md343 B
- 参考文档optimization_report.md1.8 KB
- 脚本optimized_xiaohongshu.ts6.6 KB
- 参考文档publish_github_method.md1.7 KB
- 参考文档publish_to_clawdhub.md1.9 KB
- 参考文档README.md1.1 KB
- 参考文档update_summary.md1.8 KB
- 参考文档workflow_documentation.md1.8 KB
03 SKILL.md 正文
Xiaohongshu Uploader Skill
This skill provides a Model Context Protocol (MCP) server that allows Clawdbot to upload content to Xiaohongshu.
Features
- Smart Login: Automates login session persistence. Just scan the QR code once.
- Auto-Upload: Supports uploading images with titles and descriptions via natural language commands.
- Title Validation: Automatically validates and trims titles to under 20 characters to ensure proper saving.
- Enhanced Save Functionality: Uses "暂存离开" (Save and Exit) button for more reliable draft saving.
- Browser Automation: Leveraging Playwright for robust interaction with the Creator Platform.
- Improved Error Handling: Better fallback mechanisms and error reporting.
Prerequisites
- Node.js installed.
- Playwright browsers installed (the setup script will handle this).
Setup
-
Navigate to the
serverdirectory:cd server npm install npm run build npx playwright install chromium -
Add to your Clawdbot/Claude Desktop configuration:
{ "mcpServers": { "xiaohongshu": { "command": "node", "args": [ "/ABSOLUTE/PATH/TO/xiaohongshu-upload-skill/server/build/index.js" ] } } }Note: Replace
/ABSOLUTE/PATH/TOwith the actual full path to this skill folder.
Usage
1. Login
First time use requires login.
- Command: "Login to Xiaohongshu"
- Action: Scan the QR code in the popped-up browser.
- Confirmation: Wait for the browser to close or the tool to report success.
2. Upload
- Command: "Upload [file] to Xiaohongshu with title [title] and description [content]"
- Action: The agent will automate the upload process.
- Automatic Title Validation: If your title exceeds 20 characters, it will be automatically truncated to ensure proper saving.
Troubleshooting
- Login Failed: Ensure you didn't close the window manually before the success message.
- Browser not opening: Check if
npx playwright installwas run. - Draft not saving: Titles must be under 20 characters. The system will automatically truncate longer titles.
- Save button not found: The system now tries multiple save button variations including "暂存离开", "保存草稿", and "存草稿".
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.