Skip to main content
Glama
chenningling

Xiaohongshu (RedBook) MCP Server

by chenningling
test_mcp.py607 B
import asyncio from xiaohongshu_mcp import login, get_note_content async def main(): # 登录小红书 print("正在登录小红书...") login_result = await login() print(f"登录结果: {login_result}") # 获取笔记内容 url = "https://www.xiaohongshu.com/explore/685101f30000000012007399?xsec_token=ABHycGGcQ15MmF8-zYrhTrN0idr7hv2qrwrSRCXhIQeJk=&xsec_source=pc_feed" print(f"正在获取笔记内容,URL: {url}") content_result = await get_note_content(url) print(f"获取内容结果: {content_result}") if __name__ == "__main__": asyncio.run(main())

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/chenningling/Redbook-Search-Comment-MCP2.0'

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