📦
Xiaohongshu Fastmcp
No description available
0 installs
Trust: 30 — Low
Devtools
Ask AI about Xiaohongshu Fastmcp
Powered by Claude · Grounded in docs
I know everything about Xiaohongshu Fastmcp. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
xiaohongshu-fastmcp
Python + FastMCP implementation of xiaohongshu-mcp with the same MCP tool surface.
Goals
- Keep MCP tool names and arguments aligned with the Go server
- Keep transport compatible at
http://localhost:18060/mcp - Migrate in small batches while preserving behavior contracts
Prerequisites
- Python 3.11+
- Chrome/Chromium installed
- Playwright browser runtime:
pip install -e .
playwright install chromium
Run
xiaohongshu-fastmcp --port 18060 --headless
or:
python -m xiaohongshu_fastmcp.server --port 18060 --headless
Endpoints
- MCP:
http://localhost:18060/mcp - Health:
http://localhost:18060/health - REST:
http://localhost:18060/api/v1/*
Environment Variables
XHS_PROXY: optional proxy URLCOOKIES_PATH: optional cookies file pathROD_BROWSER_BIN: browser binary path compatibility aliasXHS_BROWSER_BIN: browser binary path
Notes
- This project now exposes both MCP (
/mcp) and REST compatibility routes (/api/v1/*,/health) in one process. - FastMCP runtime is pinned to
fastmcp==3.1.1. - Publish flow prefers Go-parity selectors and keeps fallback selectors for DOM drift.
