Wraps Xiaohongshu APIs so agents can fetch notes, search users and content, and read user profiles.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add xhs-agent -- python xhs_api.py~/.codex/config.toml
[mcp_servers.xhs-agent]
command = "python"
args = ["xhs_api.py"]
# codex mcp add xhs-agent -- python xhs_api.py~/.cursor/mcp.json
{
"mcpServers": {
"xhs-agent": {
"command": "python",
"args": [
"xhs_api.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"xhs-agent": {
"type": "stdio",
"command": "python",
"args": [
"xhs_api.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"xhs-agent": {
"command": "python",
"args": [
"xhs_api.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"xhs-agent": {
"command": "python",
"args": [
"xhs_api.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"xhs-agent": {
"command": "python",
"args": [
"xhs_api.py"
]
}
}
}