social-hub-mcp
�ۺ� MCP ������С�����йǼܣ���ͳһ��������С�������ݡ�
Ŀ¼�ṹ
mcp/weibo�� MCP�����ƣ�mcp/xiaohongshuС���� MCP�����ƣ�src/�ۺϷ���
һ������
Ĭ�ϻ��Զ�������ע��� MCP������С���飩��
npm install
npm run dev����ر��Զ�����
set AUTOSTART_ENABLED=false
npm run dev�������ij��ƽ̨�Զ������� config/default.json �� autostart.services �н��÷���� enabled ��Ϊ false��
���з�ʽ���ֶ���
- �ֱ���������ƽ̨ MCP ����
- �� MCP��Ĭ�� http://localhost:4200/mcp��
- С���� MCP��Ĭ�� http://localhost:18060/mcp��
- ��װ�����������ۺ� MCP��
npm install
npm run dev����������
npm run build
npm run start��������
WEIBO_MCP_URL������ MCP URLXHS_MCP_URL����С���� MCP URLLIMIT_PER_PLATFORM����Ĭ��ÿƽ̨��������AUTOSTART_ENABLED�����Ƿ��Զ������� MCP��true/false��
MCP ����
search_posts
������
keyword(string, required)platforms(array: ["weibo", "xiaohongshu"], optional)limit_per_platform(number, optional)since/until(string, optional����ǰδʹ��)
���أ�ͳһ�ṹ JSON���ı����ݣ������� results �� per_platform��
