EvoMCP: Co-evolving MCP agents and training data

Xuanang Gao, Kepeng Lin, Xinyan Shi, Yong Deng, Shuheng Shen +4 more
10/30/2026
cs.AI

Official code: xagao/EvoMCP (0 stars, last commit 2026-10-30).

Abstract

Supervised fine-tuning of Model Context Protocol (MCP) agents is typically conducted on a static data distribution, which fails to adapt to the student's evolving capabilities and leaves newly exposed weaknesses insufficiently addressed. To address these challenges, we propose \method, an agent--data mutual evolution framework that enables MCP agents to improve through a closed loop of task evolution, trajectory evolution, and supervised fine-tuning.

Show full abstract

Specifically, \method\ assesses the student's established capabilities and capability gaps from rollout feedback to identify learning targets. Task evolution then translates these targets into executable tasks by adapting the instructions and observable environment states of compatible verified seed tasks while keeping their verifiers aligned. To provide reliable and efficient demonstrations for these tasks, trajectory evolution uses reusable skills to recover failed teacher rollouts and refine successful ones. The resulting task--trajectory pairs are used to fine-tune the student, while accepted tasks seed subsequent evolution. To close the loop, we re-evaluate the updated student and use its feedback to guide the next round of data evolution. Experiments on Toolathlon, MCPMark, and MCP-Atlas demonstrate consistent improvements over the initial student, yielding absolute gains of 16.5\%, 10.2\%, and 12.6\%, respectively. Project page: https://github.com/xagao/EvoMCP.

View on arXivView PDF

Code Implementations(1)

xagao/EvoMCPOfficial100%

EvoMCP: Co-Evolving MCP Agents and Training Data. A closed loop of task evolution, trajectory evolution, and supervised fine-tuning for MCP agents.

00Oct 30, 20261 months ago

Similar Papers

Cite this paper

@article{gao2026evomcp,
  title  = {EvoMCP: Co-evolving MCP agents and training data},
  author = {Xuanang Gao and Kepeng Lin and Xinyan Shi and Yong Deng and Shuheng Shen and Changhua Meng and Xiaofeng Wu and Jie Yang and Wei Liu},
  year   = {2026},
  eprint = {2610.41479},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.41479v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.41479.svg)](https://codeofpaper.com/paper/2610.41479)

Discussion