MCP-Persona
收藏资源简介:
MCP-Persona是由上海交通大学等机构联合创建的首个专注于评估大型语言模型代理在真实世界个性化应用中的性能基准数据集。该数据集涵盖173项经过人工验证的高质量任务,覆盖社交媒体、协作平台及内容管理等多个领域,数据来源于对12个真实MCP服务器的工具遍历与上下文模拟,包含丰富的工具链与个性化上下文分布。数据集通过创新的工具遍历、上下文树及人物生成方法构建,模拟了用户账户与本地数据库的交互,旨在解决个性化工具使用中因隐私和操作限制导致的评估难题,推动智能代理在沟通与协作场景中的实用化发展。
MCP-Persona is the first benchmark dataset jointly created by institutions including Shanghai Jiao Tong University for evaluating the performance of large language model agents in real-world personalized applications. This dataset covers 173 high-quality tasks that have been manually verified, spanning multiple domains such as social media, collaboration platforms and content management. The data is derived from tool traversal and context simulation across 12 real MCP servers, and contains rich toolchains and personalized context distributions. The dataset is constructed through innovative methods of tool traversal, context tree and persona generation, simulating the interaction between user accounts and local databases. It aims to address the evaluation challenges caused by privacy and operational constraints in personalized tool usage, and promote the practical development of intelligent agents in communication and collaboration scenarios.
MCP-Persona 数据集概述
基本信息
MCP-Persona 是用于评估大语言模型(LLM)智能体在真实世界个性化MCP工具和任务上表现的基准数据集,已被 ICML 2026 接收。相关论文可在 arXiv 获取。
核心特点
1. 模拟工具与状态化个性化上下文
构建了沙盒化模拟环境,所有工具操作稳定、可复现且安全,无需使用真实凭据或用户数据。
2. 上下文填充策略
通过四种互补方法生成真实多样的用户状态:
- Enumerate(枚举)
- Free-Form(自由格式)
- Random(随机)
- Authentic(真实)
3. 覆盖范围
作为唯一同时提供真实世界工具、个性化上下文,并覆盖以下领域的MCP基准:
- 社交媒体
- 协作平台
- 电子邮件
- 内容管理
数据集统计
- 任务数量:173个工具链任务
- 工具数量:139个独特工具
- MCP服务器数量:18个
- 包含多种链长度和必要的上下文计数
流水线三阶段
- Tool-Traverse:爬取真实MCP服务器,为每个工具合成稳定、可验证的模拟代码。
- Context-Tree:从工具文档构建结构化实体层次结构,并用现实个性化上下文数据填充。
- Persona-Gen:生成模糊的、基于人物角色的任务指令,需要多步工具链解决。
数据与代码结构
| 类别 | 路径 | 描述 |
|---|---|---|
| 任务 | ./data/tasks |
用于评估智能体的基准任务 |
| 模拟工具 | ./data/simulated_tools |
模拟MCP服务器行为的Python工具(含状态化上下文) |
| 上下文架构 | ./data/context_schema/ |
填充用户/上下文状态的架构定义(如Lark、小红书) |
| 源代码 | ./src/ |
构建和部署模拟MCP服务器的核心脚本 |
| 评估代码 | ./eval/ |
运行基准评估的脚本(检查点和执行) |
安装方式
bash git clone https://github.com/wh0411/MCP-Persona.git cd MCP-Persona pip install -r requirements.txt
引用
bibtex @misc{wang2026mcppersonabenchmarkingllmagents, title={MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment Simulation}, author={Wenhao Wang and Peizhi Niu and Gongyi Zou and Xiyuan Yang and Jingxing Wang and Haoting Shi and Yaxin Du and Jingyi Chai and Xianghe Pang and Shuo Tang and Yanfeng Wang and Siheng Chen}, year={2026}, eprint={2606.02470}, archivePrefix={arXiv}, primaryClass={cs.AI}, url={https://arxiv.org/abs/2606.02470}, }

- 1MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment Simulation上海交通大学·多智能体治理与智能团队; 浙江大学·计算机科学与技术系; 伊利诺伊大学厄巴纳-香槟分校; 牛津大学; 上海人工智能实验室 · 2026年




