Skip to main content
Glama

Xiaohongshu Search & Comment MCP Server

by chenningling
test_mcp.py327 B
from fastmcp import FastMCP # 创建一个简单的MCP服务器 mcp = FastMCP("test_server") @mcp.tool() async def hello() -> str: """返回一个简单的问候""" return "你好,这是一个测试MCP服务器!" if __name__ == "__main__": print("启动测试MCP服务器...") mcp.run(transport='stdio')

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-MCP'

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