MCPDisCo: Seesaw-Mitigated Tuning for MCP-Native Agents
Kounianhua Du, Jianxing Liu, Shuai Shao, Ke Li, Xing Sun, Weinan Zhang
Abstract
The Model Context Protocol provides a shared interaction substrate for the agentic web, allowing heterogeneous services to expose capabilities through a standardized interface. Learning to use this ecosystem entails a hierarchy of capabilities: tool-format skills, server-level transfer, and cross-server composition. We present MCPDisCo, an ecosystem-scale reinforcement learning framework for MCP-native agents. Using a Thought-Markov Decision Process (Thought-MDP), the framework explicitly represents internal reasoning alongside routing, execution, and termination and trains on real-server, long-horizon interactions spanning 70 MCP servers and 527 tools across six domains. We study the reasoning--tool seesaw, a joint-learning failure mode in which improvement in one objective can accompany deterioration in the other. To mitigate potential interference, MCPDisCo combines token-masked reward attribution with bidirectional gradient surgery: the former separates direct supervision for reasoning and action spans, while the latter removes conflicting components from both objective gradients in shared parameters. MCPDisCo achieves higher success with fewer chain-of-thought tokens. On the out-of-distribution MCP-Atlas and the GAIA benchmark, MCPDisCo maintains monotone gains, confirming that the learned behavior generalizes beyond the training server distribution and broader agentic tasks. Model weight and implementation are available.
Create a lesson
Related papers
Engram: Multi-Stage Memory for Agentic Tuning of Heterogeneous Models
Shared title terminologycs.AIHuanran Li, Nhat X. T. Le, Kevin De Angeli et al.
MARL-BattleGrounds: A Novel JAX-native Benchmark for Heterogeneous and Competitive Multi-agent RL
Shared title terminologycs.AIUlixes Tariq Hawili, Subramanian Ramamoorthy, Yoann Altmann et al.
ClawLoop: Self-Improving Agents via Harness-Native Training Loop
Shared title terminologycs.AIHansi Yang, Linji Hao, Hongyan Hao et al.
A Multi-Agent LLM System for Automated Tuning of Specialized Neural Network Models
Shared title terminologycs.AIIvan Moloshnikov, Dmitry Kunitsyn, Alexander Sboev et al.
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminologycs.AIWanghao Ye, Shwai He, Sihan Chen et al.
Wactorz: Self-Writing LLM Agents That Discover, Repair, and Migrate at the Edge
Shared title terminologycs.AIPanagiotis Kasnesis, Lazaros Toumanidis, Amalia Contiero Syropoulou et al.