Adds a proper way for AI agents to import XiaoHongShu cookies into the xiaohongshu-mcp Docker container. Previously agents had no clear command to use, leading to confusion loops (issue #108). Supports two input formats: - Cookie-Editor JSON export (array of cookie objects) - Header String format (key1=val1; key2=val2; ...) The command: 1. Parses and validates the cookie input 2. Finds the running xiaohongshu-mcp container 3. Reads COOKIES_PATH from container env 4. Writes cookies via docker cp 5. Verifies login status via mcporter Also updates install.md with the new command. Closes #108 Co-authored-by: Panniantong <panniantong@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| channels | ||
| guides | ||
| integrations | ||
| skill | ||
| __init__.py | ||
| cli.py | ||
| config.py | ||
| cookie_extract.py | ||
| core.py | ||
| doctor.py | ||