mlsanityData to 14 Oct 2026

MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security

arXiv 2508.12538 ↗First posted 18 Aug 2025cs.CR cs.AI cs.SEcited by 21

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

The Model Context Protocol (MCP) has emerged as a universal standard that enables AI agents to seamlessly connect with external tools, significantly enhancing their functionality. However, while MCP brings notable benefits, it also introduces significant vulnerabilities, such as Tool Poisoning Attacks (TPA), where hidden malicious instructions exploit the sycophancy of large language models (LLMs) to manipulate agent behavior. Despite these risks, current academic research on MCP security remains limited, with most studies focusing on narrow or qualitative analyses that fail to capture the diversity of real-world threats. To address this gap, we present the MCP eXploit Toolkit (MCPXKIT), which categorizes and implements 31 distinct attack methods under four key classifications: direct tool injection, indirect tool injection, malicious user attacks, and LLM inherent attack. We further conduct a quantitative analysis of the efficacy of each attack. Our experiments reveal key insights into MCP vulnerabilities, including agents' blind reliance on tool descriptions, sensitivity to file-based attacks, chain attacks exploiting shared context, and difficulty distinguishing external data from executable commands. These insights, validated through attack experiments, underscore the urgency for robust defense strategies and informed MCP design. Our contributions include 1) constructing a comprehensive MCP attack taxonomy, 2) introducing a unified attack framework, MCPXKIT, and 3) conducting empirical vulnerability analysis to enhance MCP security mechanisms. This work provides a foundational framework, supporting the secure evolution of MCP ecosystems.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 20 of its 60 references that are in the map. First posted on arXiv 18 Aug 2025.

Builds on

20 of 60 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025MPMA: Preference Manipulation Attack Against Model Context Protocol16 May
  2. 2025MCP Guardian: A Security-First Layer for Safeguarding MCP-Based AI System17 Apr
  3. 2025MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits2 Apr
  4. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep

Other references · 16

  1. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  2. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  3. 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 836
  4. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
  5. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
  6. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
  7. 2023Poisoning Language Models During Instruction Tuningcited by 269
  8. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
  9. 2023Fundamental Limitations of Alignment in Large Language Modelscited by 155
  10. 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 127
  11. 2024AIOS: LLM Agent Operating Systemcited by 97
  12. 2024Coercing LLMs to do and reveal (almost) anythingcited by 89
4 more
  1. 2024Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Modelscited by 86
  2. 2023Effective Prompt Extraction from Language Modelscited by 85
  3. 2025Enterprise-Grade Security for the Model Context Protocol (MCP): Frameworks and Mitigation Strategiescited by 42
  4. 2024Bootstrapping LLM-based Task-Oriented Dialogue Agents via Self-Talkcited by 34

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 14.

21 papers.

Sort:

By area:

  1. 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agentscited by 42
  2. 2025Sycophancy Is Not One Thing: Causal Separation of Sycophantic Behaviors in LLMscited by 37
  3. 2025MCP-SafetyBench: A Benchmark for Safety Evaluation of Large Language Models with Real-World MCP Serverscited by 34
  4. 2026Formal Analysis and Supply Chain Security for Agentic AI Skillscited by 25
  5. 2025Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystemcited by 16
  6. 2026AdapTools: Adaptive Tool-based Indirect Prompt Injection Attacks on Agentic LLMscited by 13
  7. 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 8
  8. 2026MCP-38: A Comprehensive Threat Taxonomy for Model Context Protocol Systems (v1.0)cited by 6
  9. 2026Don't believe everything you read: Understanding and Measuring MCP Behavior under Misleading Tool Descriptionscited by 5
  10. 2025MCPZoo: A Large-Scale Dataset of Runnable Model Context Protocol Servers for AI Agentcited by 4
  11. 2025AgentFlux: Decoupled Fine-Tuning & Inference for On-Device Agentic Systemscited by 3
  12. 2026MCPShield: A Security Cognition Layer for Adaptive Trust Calibration in Model Context Protocol Agentscited by 3
9 more
  1. 2026From Tool Orchestration to Code Execution: A Study of MCP Design Choicescited by 3
  2. 2026What If Prompt Injection Never Left? Rethinking Agent Security through Cross-Session Stored Prompt Injectioncited by 3
  3. 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Searchcited by 2
  4. 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Securitycited by 2
  5. 2026MCP-in-SoS: Risk assessment framework for open-source MCP serverscited by 1
  6. 2026On-Policy Distillation for LLM Safety: A Routing Approach to Template-Robust Realignmentcited by 1
  7. 2026Misleading the Planner through Deceptive Resumes: Registration-Time Injection in Centralized Multi-Agent Systemscited by 1
  8. 2025Servant, Stalker, Predator: How An Honest, Helpful, And Harmless (3H) Agent Unlocks Adversarial Skillscited by 0
  9. 2026Machine Learning-Based Detection of MCP Attackscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning
  2. 2026A Formal Security Framework for MCP-Based AI Agents: Threat Taxonomy, Verification Models, and Defense Mechanisms
  3. 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols
  4. 2025Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol (MCP) Ecosystem
  5. 2026Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents
  6. 2026Compatibility at a Cost: Systematic Discovery and Exploitation of MCP Clause-Compliance Vulnerabilities
  7. 2025MCPTox: A Benchmark for Tool Poisoning Attack on Real-World MCP Servers
  8. 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Servers