arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24284cs.AI
收藏

MCP-Flow:帮助LLM代理掌握现实世界、多样且可扩展的MCP工具

MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Tools

TikTok;Shanghai Jiao Tong University(上海交通大学);Zhejiang University(浙江大学);University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校)

Wenhao Wang, Peizhi Niu, Zhao Xu, Zhaoyu Chen, Jian Du, Yaxin Du, Xianghe Pang, Keduan Huang, Yanfeng Wang, Qiang Yan, Siheng Chen

AI总结:

MCP-Flow通过自动化流程提升LLM在现实世界MCP环境中的能力,通过大规模服务器发现、数据合成和模型训练,生成高质量指令-功能调用对和轨迹,推动代理任务性能提升。

摘要:

大型语言模型(LLM)越来越多地依赖外部工具执行复杂现实任务,但其利用快速增长的模型上下文协议(MCP)生态系统的能力仍然有限。现有MCP研究涵盖的服务器较少,依赖昂贵的手动整理,且缺乏训练支持,阻碍了现实部署的进展。为克服这些限制,我们引入MCP-Flow,一个自动化网页代理驱动的流程,用于大规模服务器发现、数据合成和模型训练。MCP-Flow收集并过滤来自1166个服务器和11536个工具的数据,生成68733个高质量的指令-功能调用对和6439条轨迹,远超先前工作的规模和多样性。广泛实验表明,MCP-Flow在驱动更优的MCP工具选择、功能调用生成和增强代理任务性能方面效果显著。MCP-Flow因此为提升LLM代理在现实世界MCP环境中的能力提供了可扩展的基础。MCP-Flow可在https://github.com/wwh0411/MCP-Flow上公开获取。

英文摘要:

Large Language Models (LLMs) increasingly rely on external tools to perform complex, realistic tasks, yet their ability to utilize the rapidly expanding Model Contextual Protocol (MCP) ecosystem remains limited. Existing MCP research covers few servers, depends on costly manual curation, and lacks training support, hindering progress toward real-world deployment. To overcome these limitations, we introduce MCP-Flow, an automated web-agent-driven pipeline for large-scale server discovery, data synthesis, and model training. MCP-Flow collects and filters data from 1166 servers and 11536 tools, producing 68733 high-quality instruction-function call pairs and 6439 trajectories, far exceeding prior work in scale and diversity. Extensive experiments demonstrate MCP-Flow's effectiveness in driving superior MCP tool selection, function-call generation, and enhanced agentic task performance. MCP-Flow thus provides a scalable foundation for advancing LLM agents' proficiency in real-world MCP environments. MCP-Flow is publicly available at https://github.com/wwh0411/MCP-Flow.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑