arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.01780cs.AIcs.CL
收藏

LiveMCPBench: 代理能否在MCP工具的海洋中导航?

LiveMCPBench: Can Agents Navigate an Ocean of MCP Tools?

University of Chinese Academy of Sciences(中国科学院大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所)

Guozhao Mo, Wenliang Zhong, Jiawei Chen, Qianhao Yuan, Xuanang Chen, Yaojie Lu, Hongyu Lin, Ben He, Xianpei Han, Le Sun

AI总结:

LiveMCPBench通过大规模基准测试揭示MCP代理在检索和工具组合上的性能差距,强调检索错误是主要瓶颈,并提供可重复的评估框架和工具套件。

摘要:

模型上下文协议(MCP)已成为连接大语言模型(LLM)与外部工具的关键基础设施,可扩展至10000多个MCP服务器,配备多样化的工具。不幸的是,现实中的MCP使用与当前评估之间仍存在较大差距:它们通常假设单服务器设置,并直接将工具注入模型的上下文中,绕过了大规模检索和多工具组合的挑战。为弥合这一差距,我们提出了LiveMCPBench,该基准测试了95个现实世界的日常任务,明确构建以压力测试多样化的工具和多服务器路由。该基准测试包含一个可部署的工具套件,包含70个服务器和527个工具,确保可重复性,而无需分散的API配置。我们进一步引入了一个LLM-as-a-Judge评估框架,直接验证任务结果,处理动态数据源和多个有效解决方案路径。我们对12种最先进的LLM进行了基准测试,并观察到显著的性能差距:虽然Claude-Sonnet-4达到78.95%的任务成功率,但大多数模型仅达到30-50%。我们的分析表明,活跃的工具组合与任务成功率密切相关,而检索错误占所有失败的近一半,突显检索是主要瓶颈。共同,这些结果提供了首次大规模、可重复的MCP代理能力诊断,并指出了未来改进检索鲁棒性和鼓励有效工具组合的研究方向。我们的代码和数据可在https://icip-cas.github.io/LiveMCPBench公开获取。

英文摘要:

Model Context Protocol (MCP) has become a key infrastructure for connecting LLMs with external tools, scaling to 10,000+ MCP servers with diverse tools. Unfortunately, there is still a large gap between real-world MCP usage and current evaluation: they typically assume single-server settings and directly inject tools into the model's context, bypassing the challenges of large-scale retrieval and multi-tool composition. To bridge this gap, we propose LiveMCPBench, which evaluates 95 real-world daily tasks explicitly constructed to stress diverse tools and scaled multi-server routing. The benchmark includes a ready-to-deploy tool suite of 70 servers with 527 tools, ensuring reproducibility without scattered API configuration. We further introduce an LLM-as-a-Judge evaluation framework that directly verifies task outcomes, handling dynamic data sources and multiple valid solution paths. We benchmark 12 state-of-the-art LLMs and observe a substantial performance gap: while Claude-Sonnet-4 reaches 78.95% task success, most models achieve only 30-50%. Our analysis reveals that the active tool composition strongly correlates with task success, whereas retrieval errors account for nearly half of all failures, highlighting retrieval as the dominant bottleneck. Together, these results provide the first large-scale, reproducible diagnosis of MCP agent capabilities and point towards future research on improving retrieval robustness and encouraging effective tool composition. Our code and data are publicly available at https://icip-cas.github.io/LiveMCPBench.

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

↑