Complete implementation of xiaohongshu (Little Red Book) automation system: ### Core Features: - **QR Code Login**: Automated login with cookie persistence - **Content Publishing**: Post text, images with AI-powered descriptions - **Browser Management**: Headless Chrome automation via go-rod - **Cookie Persistence**: Session management for login state - **MCP Server**: Model Context Protocol integration for Claude ### Technical Components: - go-rod browser automation with stealth mode - MCP server for Claude Code integration - Cookie-based session management - Robust error handling and logging - Cross-platform compatibility ### API Endpoints: - Login status checking and QR code authentication - Content publishing with image upload support - Navigation and page interaction utilities This provides a complete foundation for xiaohongshu automation with proper session management and MCP integration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
235 B
Markdown
20 lines
235 B
Markdown
# xiaohongshu-mcp
|
|
|
|
MCP for xiaohongshu.com
|
|
|
|
## 使用教程
|
|
|
|
### 登录
|
|
|
|
第一次需要手动登录,需要保存小红书的登录状态。
|
|
|
|
运行
|
|
|
|
```bash
|
|
go run cmd/login/main.go
|
|
```
|
|
|
|
### 发布
|
|
|
|
启动 xiaohongshu-mcp 服务。
|