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>
18 lines
444 B
Markdown
18 lines
444 B
Markdown
# 小红书 MCP 服务使用说明
|
|
|
|
本服务已集成 Model Context Protocol (MCP) 支持,通过 HTTP JSON-RPC 协议提供服务。
|
|
|
|
## 服务端点
|
|
|
|
- **HTTP API**: `http://localhost:18060/api/v1/*`
|
|
- **MCP 协议**: `http://localhost:18060/mcp`
|
|
|
|
## 可用的 MCP 工具
|
|
|
|
使用 Claude Code CLI 添加 HTTP 端点:
|
|
|
|
```bash
|
|
# 添加HTTP类型的MCP服务器
|
|
claude mcp add --transport http xiaohongshu-mcp http://localhost:18060/mcp
|
|
```
|