Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
xhs_login_qrcodeA

获取小红书登录二维码(扫码登录)

xhs_check_loginA

检查当前小红书登录状态

xhs_searchC

搜索小红书笔记

Args: keyword: 搜索关键词 limit: 返回结果数量(默认10,最大30)

xhs_get_noteB

获取小红书笔记详情及评论

Args: url: 笔记链接 (https://www.xiaohongshu.com/explore/{note_id})

xhs_publishA

发布小红书图文笔记(需登录创作者平台)

Args: title: 笔记标题(不超过20字) content: 笔记正文(不超过1000字) images: 图片本地路径列表

xhs_likeC

点赞/取消点赞小红书笔记

Args: url: 笔记链接

xhs_commentB

评论小红书笔记

Args: url: 笔记链接 text: 评论内容

xhs_user_profileC

获取小红书用户主页信息

Args: user_id: 用户ID

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lozzi1910/xiaohongshu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server