arXiv:2611.07689cs.AINov 2026

Manuscript Offprint

arXiv:2611.07689

MCPHallu: Benchmarking Reasoning, Execution, and Memory Hallucinations in MCP Agents

Yizhen Jiang, Haowei Guo, Tianyi Bai, Zengjie Hu, Lu Ma, Zhengyang Zhao, Haoze Sun, Peng Pei, Wentao Zhang

Abstract

Large language model agents are increasingly deployed through the Model Context Protocol (MCP), which allows them to discover and invoke tools across multiple servers at runtime. Existing MCP benchmarks primarily measure task completion; where they diagnose failures, they do so after execution rather than building specific reasoning, execution, and memory failure risks into task construction.

We introduce MCPHallu, a benchmark for diagnosing hallucination-prone agent failures in MCP environments along three axes: reasoning, execution, and memory. MCPHallu contains 358 tasks across five capability domains and runs on 36 production MCP servers in isolated containers. Each task is designed with a structural trigger that makes one of four subtypes the dominant failure risk: Branch Collapse, Unreachable Goal, Tool Misuse, or Context Forgetting. This design enables subtype-level analysis rather than aggregate task success alone.

We evaluate fourteen frontier LLM agents from eight vendors on 5,012 trajectories. Current MCP agents remain vulnerable to hallucination-inducing tool environments, achieving an average score of 0.642 on a [0, 1] scale (higher is better). Failures concentrate on Unreachable Goal tasks, where the average score drops to 0.458 and 23.2% of runs pass, indicating that agents often continue issuing tool calls or claim successful completion rather than recognizing infeasible goals. Subtype rankings diverge sharply: a model's rank shifts by 6.9 of 13 positions on average across subtypes, and Branch Collapse is uncorrelated with Unreachable Goal across models (r=−0.12r = -0.12). MCPHallu is released at https://github.com/J1zz/mcp_hallu.

1 Introduction

LLM agents have been widely applied to tool-augmented tasks [1, 2, 3, 4], and the Model Context Protocol⁴ (MCP) has become a common interface for connecting them to external tools, APIs, databases, and file systems. Unlike earlier tool-use settings, MCP agents discover tools across multiple servers at runtime, accumulate state as each call mutates the environment, and often run for many sequential steps. This raises a question existing benchmarks do not separate cleanly: do MCP agents fail for the same reasons, at the same rates, across the distinct stages of the agent pipeline?

*Equal contribution. †Corresponding authors. ‡Part of this work was done during Yizhen Jiang and Haowei Guo's internships at Meituan. ⁴https://www.anthropic.com/news/model-context-protocol

Preprint.

(a)

Figure

(b)

(c)

Mean over 14 frontier LLMs | error bars: ±1 std across models

Figure 1: Overview of MCPHallu. (a) shows a benchmark case of branch collapse, where the model follows largely correct intermediate tool-use steps but fails at final aggregation, yielding an incorrect ranking. (b) reports average performance across four hallucination subtypes. (c) summarizes the benchmark statistics.

To answer this, we present MCPHallu, a benchmark that diagnoses hallucination-prone failures in MCP agents at the level of subtypes and trajectory steps. Prior tool-use hallucination benchmarks [5, 6] diagnose hallucinations only at the tool-call level, without considering the reasoning and memory failures that arise once tool calls are chained into long, stateful trajectories. Recent MCP benchmarks [7, 8, 9, 10] emphasize task completion in this setting; MCP-Atlas additionally provides an 11-category post-hoc failure taxonomy [11]. MCPHallu fills this gap: each task is built around a structural trigger that promotes one of four hallucination subtypes as the dominant failure risk, while its correct behavior (completion, or recognizing infeasibility for Unreachable Goal) stays verifiable. Because the trigger shifts a task's failure distribution toward its target subtype, MCPHallu supports subtype-targeted analysis at the population level, even when individual long-horizon trajectories exhibit interacting errors.

MCPHallu covers five capability domains (general search, analytics, productivity, finance, and coding) and is built on 36 production MCP servers running in isolated Docker containers rather than synthetic mocks. It contains 358 tasks approximately balanced across 4 hallucination subtypes (Branch Collapse, Unreachable Goal, Tool Misuse, Context Forgetting) and 3 difficulty levels. Ground truth is verified through dynamic scripts executed against live servers for stateless tasks, and through state assertions queried after execution for stateful tasks. A per-task claim graph annotates the dependency structure of the correct trajectory, which the evaluation protocol uses to score whether the agent's tool sequence honored the task's logical structure, independent of final-answer correctness.

We evaluate 14 frontier LLM agents from eight vendors on 5,012 trajectories. MCPHallu is challenging for all current systems: the best model achieves an overall score of 0.728, and average performance across models is 0.642. Unreachable Goal is the hardest subtype, indicating that agents often continue acting or overstate completion instead of recognizing infeasible goals. Subtype rankings also diverge across scripts, suggesting that reasoning, execution, and memory hallucinations reflect partially distinct capabilities rather than a single notion of agent quality.

Our contributions are as follows:

  • We release MCPHallu, a benchmark of 358 tasks across 5 capability domains and 36 production MCP servers, in which each task is built around a structural trigger that promotes one of four hallucination subtypes, enabling subtype-targeted evaluation.

  • Every MCPHallu task is scored primarily by deterministic evidence: live-server reference scripts or post-execution state assertions for Branch Collapse and Context Forgetting, and

trajectory-structure checks for Unreachable Goal and Tool Misuse, so that the LLM judge contributes only 20–30% of each subtype score.

  • We evaluate 14 frontier LLMs and show that current MCP agents remain vulnerable to hallucination-inducing tool environments, with no model scoring above 0.728 on average.

  • We characterize three trajectory-level failure modes (false completion, tool indiscipline, and state non-commitment) and show that subtype rankings diverge across models (r=−0.12r = -0.12 between Branch Collapse and Unreachable Goal), arguing against ranking MCP agents by a single aggregate score.

References (43)