计算机科学 > 软件工程
[提交于 2026年11月28日]
标题:Repairing Model Context Protocol Software: Fix Patterns, Benchmark, and Agent Evaluation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Model Context Protocol (MCP) servers connect language models to external tools and services. Prior work has characterized where MCP servers fail, but less is known about how developers repair them or how well automated systems can perform these repairs. We analyze 221 issues with verified fixes and classify 197 of those repairs into 10 repair groups and 60 action patterns using independent open coding and affinity diagramming. Fixes change a median of two files and 59 lines. Patch structure differs across repair groups, but we find no significant differences in repair timing. From a separate corpus of bug reports, we construct MCP-RepairBench, a benchmark of 60 real repair tasks from 25 repositories with pinned buggy and fixed revisions, behavioral evaluators, and reproducible offline environments. An MCP-aware repair agent with evaluator feedback resolves 34 tasks on the first attempt and 41 within three attempts, compared with 18 and 26 for a baseline using the same model and per-attempt limits. Remaining failures often involve configuration, packaging, exact response requirements, or changes that must be coordinated across files.
提交历史
来自:Mina Taraghi[v1] 2026年11月28日 星期六 21:33:28 UTC (2,280 KB)