使用说明
MCP服务器
此存储库包含用于各种服务的MCP服务器。
安装
要安装所需的依赖项,请运行:
pip install -r requirements.txt
小红书mcp
fastmcp run server.py:mcp --transport sse --host 127.0.0.1 --port 9001
{
"mcpServers": {
"xiaohongshu": {
"disabled": false,
"timeout": 60,
"url": "http://127.0.0.1:9001/sse",
"transportType": "sse",
"autoApprove": [
"publish_xiaohongshu_note"
]
}
}
}
compyf
{
"mcpServers": {
"comfyui": {
"autoApprove": [
"generate_image_async",
"get_image_status",
"get_image_status_and_download_to_local"
],
"disabled": false,
"timeout": 60,
"url": "http://127.0.0.1:9000/sse",
"transportType": "sse"
}
}
}
测试
此存储库包括模块的单元测试。要运行测试,请执行以下操作:
python tests/run_tests.py
请参阅 测试/README.md 文件以获取有关测试的更多信息。
