Model Context Protocol (MCP) at First Glance: Studying the Security and Maintainability of MCP Servers
Not on the map. Why?
Cited by 59 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Although Foundation Models (FMs), such as GPT-4, are increasingly used in domains like finance and software engineering, reliance on textual interfaces limits these models' real-world interaction. To address this, FM providers introduced a tool called -- triggering a proliferation of frameworks with distinct tool interfaces. In late 2024, Anthropic introduced the Model Context Protocol (MCP) to standardize this tool ecosystem. MCP is rapidly emerging as a de facto industry standard. Despite its adoption, MCP's AI-driven, non-deterministic control flow introduces new risks to sustainability, security, and maintainability, warranting closer examination. Towards this end, we present the first large-scale empirical study of MCP. Using state-of-the-art health metrics and a hybrid analysis pipeline that combines a general-purpose static analysis tool with an MCP-specific scanner, we evaluate 1,899 open-source MCP servers to assess their health, security, and maintainability. Despite MCP servers demonstrating strong health metrics, we identify eight distinct vulnerabilities -- only three of which overlap with traditional software vulnerabilities. Additionally, 7.2% of servers contain general vulnerabilities, and 5.5% exhibit MCP-specific tool poisoning. Regarding maintainability, while 66% exhibit code smells, 14.4% contain ten bug patterns overlapping prior research. These findings highlight the need for MCP-specific vulnerability detection techniques while reaffirming the value of traditional analysis and refactoring practices. Furthermore, we advocate for stronger governance across the MCP ecosystem by incorporating MCP-specific vulnerabilities into standardized vulnerability databases, enabling automated security scanning within MCP registries, and promoting responsible development practices to ensure the long-term safety and sustainability of the MCP ecosystem.
Key facts. Cited by 65 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Jun 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 19; 2026: 46.
65 papers.
Sort:
By area:
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflowscited by 58
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 55
- 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocolscited by 51
- 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agentscited by 42
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 41
- 2025AgentBound: Securing Execution Boundaries of AI Agentscited by 23
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Codingcited by 23
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
- 2025An Empirical Study of Testing Practices in Open Source AI Agent Frameworks and Agentic Applicationscited by 15
- 2025A Practical Guide for Designing, Developing, and Deploying Production-Grade Agentic AI Workflowscited by 15
- 2026Security Threat Modeling for Emerging AI-Agent Protocols: A Comparative Analysis of MCP, A2A, Agora, and ANPcited by 15
38 more
- 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agentscited by 14
- 2025MCPGuard : Automatically Detecting Vulnerabilities in MCP Serverscited by 14
- 2026Beyond Max Tokens: Stealthy Resource Amplification via Tool Calling Chains in LLM Agentscited by 14
- 2025Semantic Attacks on Tool-Augmented LLMs: Securing the Model Context Protocol Against Descriptor-Level Manipulationcited by 13
- 2025MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Toolscited by 11
- 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Frameworkcited by 11
- 2025Code2MCP: Transforming Code Repositories into MCP Servicescited by 10
- 2026Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoningcited by 10
- 2026Detecting Malicious Agent Skills in the Wild using Attentioncited by 8
- 2025Federation of Agents: A Semantics-Aware Communication Fabric for Large-Scale Agentic AIcited by 7
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomycited by 6
- 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessmentcited by 5
- 2026SMCP: Secure Model Context Protocolcited by 5
- 2026Don't believe everything you read: Understanding and Measuring MCP Behavior under Misleading Tool Descriptionscited by 5
- 2026A Practical Guide to Agentic AI Transition in Organizationscited by 5
- 2026Architectural Design Decisions in AI Agent Harnessescited by 4
- 2025AgentFlux: Decoupled Fine-Tuning & Inference for On-Device Agentic Systemscited by 3
- 2026MedMCP-Calc: Benchmarking LLMs for Realistic Medical Calculator Scenarios via MCP Integrationcited by 3
- 2026MCPShield: A Security Cognition Layer for Adaptive Trust Calibration in Model Context Protocol Agentscited by 3
- 2026From Tool Orchestration to Code Execution: A Study of MCP Design Choicescited by 3
- 2026Augmenting Interface Usability Heuristics for Reliable Computer-Use Agentscited by 3
- 2026When Agents Overtrust Environmental Evidence: An Extensible Agentic Framework for Benchmarking Evidence-Grounding Defects in LLM Agentscited by 3
- 2026MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment Simulationcited by 3
- 2026A Large-Scale Dataset of MCP Implementations on GitHubcited by 3
- 2025Throttling Web Agents Using Reasoning Gatescited by 2
- 2026Flowr -- Scaling Up Retail Supply Chain Operations Through Agentic AI in Large Scale Supermarket Chainscited by 2
- 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Securitycited by 2
- 2026From Registry to Repository: How AI Agent Skills Are Written, Adapted, and Maintainedcited by 2
- 2026The Path to Self-Evolving Clinical Systems: Scaling Medical Agents from Assistance to Autonomycited by 2
- 2026FluxEDA: A Unified Execution Infrastructure for Stateful Agentic EDAcited by 1
- 2026CASCADE: A Component Ablation and Corpus Audit of a Layered Local Defense for MCP-Based Systemscited by 1
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Serverscited by 1
- 2026Exposed by Design: A Dynamic Security Assessment of Internet-Facing MCP Servers at Scalecited by 1
- 2026CAITLYN: Can LLM Agents Autonomously Synthesize Defenses against Emerging Injection Attacks?cited by 1
- 2026MERMAID: Memory-Enhanced Retrieval and Reasoning with Multi-Agent Iterative Knowledge Grounding for Veracity Assessmentcited by 0
- 2026DADL: A Declarative Description Language for Enterprise Tool Libraries in LLM Agent Systemscited by 0
- 2026Train the Trainers -- An Agentic AI Framework for Peer-Based Mental Health Support in Battlefield Environmentscited by 0
- 2026VIPER-MCP: Detecting and Exploiting Taint-Style Vulnerabilities in Model Context Protocol Serverscited by 0
50 most cited of 65 All 65 (JSON)
- 2026COPEX: Benchmarking LLM Robustness to Adversarial Context Across Model Context Protocol Layers3 Oct 2026
- 2026Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents3 Oct 2026
- 2026BaseCamp --- An Agentic AI Framework for Automating DNA Sequencing Data Pipelines23 Sep 2026
- 2026Attack Success Rate Is Not a Number: On Measurement Validity in Agentic AI Security Evaluation21 Sep 2026
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents15 Sep 2026
- 2026A Two-Dimensional Study of the Model Context Protocol: Publication and Adoption13 Sep 2026
- 2026CAITLYN: Can LLM Agents Autonomously Synthesize Defenses against Emerging Injection Attacks?28 Aug 2026
- 2026AEGIS: Preventing Cross-Domain Resource Abuse in MCP20 Aug 2026
- 2026MobileWorldSafety: Benchmarking GUI Agent Safety Against Environmental Injection Attacks in Android Apps18 Aug 2026
- 2026@skills: Attention is all you have12 Aug 2026
- 2026Exposed by Design: A Dynamic Security Assessment of Internet-Facing MCP Servers at Scale31 Jul 2026
- 2026An Empirical Study of Model Context Protocol Applications28 Jul 2026
38 more
- 2026The Path to Self-Evolving Clinical Systems: Scaling Medical Agents from Assistance to Autonomy13 Jul 2026
- 2026A Large-Scale Dataset of MCP Implementations on GitHub11 Jul 2026
- 2026From Legacy Documentation to OSCAL: An MCP-Based Agent Pipeline for Threat-Informed Continuous Compliance in Critical Infrastructure9 Jul 2026
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities7 Jul 2026
- 2026From Registry to Repository: How AI Agent Skills Are Written, Adapted, and Maintained1 Jul 2026
- 2026MCP Server Architecture Patterns for LLM-Integrated Applications29 Jun 2026
- 2026Detecting Malicious Agent Skills in the Wild using Attention22 Jun 2026
- 2026Local LLM Agents as Vulnerable Runtimes:A Source-Code Audit of the Agent Runtime Layer19 Jun 2026
- 2026Understanding How Enterprises Adopt the Model Context Protocol for LLM-Driven Software Engineering8 Jun 2026
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Servers3 Jun 2026
- 2026MCP-Persona: Benchmarking LLM Agents on Real-World Personal Applications via Environment Simulation1 Jun 2026
- 2026VIPER-MCP: Detecting and Exploiting Taint-Style Vulnerabilities in Model Context Protocol Servers20 May 2026
- 2026When Agents Overtrust Environmental Evidence: An Extensible Agentic Framework for Benchmarking Evidence-Grounding Defects in LLM Agents9 May 2026
- 2026DADL: A Declarative Description Language for Enterprise Tool Libraries in LLM Agent Systems4 May 2026
- 2026Augmenting Interface Usability Heuristics for Reliable Computer-Use Agents4 May 2026
- 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Framework25 Apr 2026
- 2026Architectural Design Decisions in AI Agent Harnesses20 Apr 2026
- 2026CASCADE: A Component Ablation and Corpus Audit of a Layered Local Defense for MCP-Based Systems18 Apr 2026
- 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Security8 Apr 2026
- 2026Flowr -- Scaling Up Retail Supply Chain Operations Through Agentic AI in Large Scale Supermarket Chains7 Apr 2026
- 2026Train the Trainers -- An Agentic AI Framework for Peer-Based Mental Health Support in Battlefield Environments31 Mar 2026
- 2026FluxEDA: A Unified Execution Infrastructure for Stateful Agentic EDA26 Mar 2026
- 2026Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning23 Mar 2026
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomy5 Mar 2026
- 2026From Tool Orchestration to Code Execution: A Study of MCP Design Choices17 Feb 2026
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptions16 Feb 2026
- 2026MCPShield: A Security Cognition Layer for Adaptive Trust Calibration in Model Context Protocol Agents15 Feb 2026
- 2026Security Threat Modeling for Emerging AI-Agent Protocols: A Comparative Analysis of MCP, A2A, Agora, and ANP11 Feb 2026
- 2026Don't believe everything you read: Understanding and Measuring MCP Behavior under Misleading Tool Descriptions3 Feb 2026
- 2026SMCP: Secure Model Context Protocol1 Feb 2026
- 2026MedMCP-Calc: Benchmarking LLMs for Realistic Medical Calculator Scenarios via MCP Integration30 Jan 2026
- 2026MERMAID: Memory-Enhanced Retrieval and Reasoning with Multi-Agent Iterative Knowledge Grounding for Veracity Assessment29 Jan 2026
- 2026A Practical Guide to Agentic AI Transition in Organizations27 Jan 2026
- 2026Beyond Max Tokens: Stealthy Resource Amplification via Tool Calling Chains in LLM Agents16 Jan 2026
- 2025A Practical Guide for Designing, Developing, and Deploying Production-Grade Agentic AI Workflows9 Dec 2025
- 2025Semantic Attacks on Tool-Augmented LLMs: Securing the Model Context Protocol Against Descriptor-Level Manipulation6 Dec 2025
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov 2025
- 2025MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Tools28 Oct 2025
50 newest of 65 All 65 (JSON)
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflowscited by 58
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHubcited by 55
- 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocolscited by 51
- 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agentscited by 42
- 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmapcited by 41
- 2025AgentBound: Securing Execution Boundaries of AI Agentscited by 23
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Codingcited by 23
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
- 2025An Empirical Study of Testing Practices in Open Source AI Agent Frameworks and Agentic Applicationscited by 15
- 2025A Practical Guide for Designing, Developing, and Deploying Production-Grade Agentic AI Workflowscited by 15
- 2026Security Threat Modeling for Emerging AI-Agent Protocols: A Comparative Analysis of MCP, A2A, Agora, and ANPcited by 15
12 most cited of 56 All 56 (JSON)
- 2026COPEX: Benchmarking LLM Robustness to Adversarial Context Across Model Context Protocol Layers3 Oct 2026
- 2026Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents3 Oct 2026
- 2026BaseCamp --- An Agentic AI Framework for Automating DNA Sequencing Data Pipelines23 Sep 2026
- 2026Attack Success Rate Is Not a Number: On Measurement Validity in Agentic AI Security Evaluation21 Sep 2026
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents15 Sep 2026
- 2026A Two-Dimensional Study of the Model Context Protocol: Publication and Adoption13 Sep 2026
- 2026CAITLYN: Can LLM Agents Autonomously Synthesize Defenses against Emerging Injection Attacks?28 Aug 2026
- 2026AEGIS: Preventing Cross-Domain Resource Abuse in MCP20 Aug 2026
- 2026MobileWorldSafety: Benchmarking GUI Agent Safety Against Environmental Injection Attacks in Android Apps18 Aug 2026
- 2026An Empirical Study of Model Context Protocol Applications28 Jul 2026
- 2026From Legacy Documentation to OSCAL: An MCP-Based Agent Pipeline for Threat-Informed Continuous Compliance in Critical Infrastructure9 Jul 2026
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities7 Jul 2026
12 newest of 56 All 56 (JSON)
- 2026MedMCP-Calc: Benchmarking LLMs for Realistic Medical Calculator Scenarios via MCP Integrationcited by 3
- 2026A Large-Scale Dataset of MCP Implementations on GitHubcited by 3
- 2026Flowr -- Scaling Up Retail Supply Chain Operations Through Agentic AI in Large Scale Supermarket Chainscited by 2
- 2026Exposed by Design: A Dynamic Security Assessment of Internet-Facing MCP Servers at Scalecited by 1
- 2026@skills: Attention is all you havecited by 0
- 2026@skills: Attention is all you have12 Aug 2026
- 2026Exposed by Design: A Dynamic Security Assessment of Internet-Facing MCP Servers at Scale31 Jul 2026
- 2026A Large-Scale Dataset of MCP Implementations on GitHub11 Jul 2026
- 2026Flowr -- Scaling Up Retail Supply Chain Operations Through Agentic AI in Large Scale Supermarket Chains7 Apr 2026
- 2026MedMCP-Calc: Benchmarking LLMs for Realistic Medical Calculator Scenarios via MCP Integration30 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directions
- 2025Enterprise-Grade Security for the Model Context Protocol (MCP): Frameworks and Mitigation Strategies
- 2025A Measurement Study of Model Context Protocol Ecosystem
- 2025Securing the Model Context Protocol (MCP): Risks, Controls, and Governance
- 2025A Large-Scale Evolvable Dataset for Model Context Protocol Ecosystem and Security Analysis
- 2025MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits
- 2026MCP-in-SoS: Risk assessment framework for open-source MCP servers
- 2026Rethinking MCP Security: A Large-Scale Study of Runtime MCP Servers and Security Scanner Reliability