
AI Summary
Model Context Protocol (MCP) enables AI agents to connect to enterprise systems at unprecedented scale, but that connectivity creates new attack surfaces. This article presents a complete threat model covering seven categories of MCP security risk and the governance controls required to mitigate them.
Key Takeaways:
- MCP’s standardized interface makes it both powerful and an attractive attack target
- The seven risk categories include malicious servers, indirect prompt injection, over-permissioned access, unvetted third-party servers, credential exposure, tool chain amplification, and denial of service
- Effective MCP security requires server vetting, access scoping, call monitoring, and a secured gateway
- Runtime enforcement must occur before tool calls execute, not after
Model Context Protocol (MCP) is rapidly becoming the standard interface for connecting AI agents to external tools and data sources. For enterprise teams deploying agentic AI, MCP solves a critical problem: it provides a consistent, structured way for agents to interact with databases, APIs, communication platforms, and internal systems without requiring custom integration code for each connection.
That standardization is also what makes MCP a security concern. The same interface that allows agents to connect to dozens of enterprise systems through a defined protocol creates a concentrated attack surface. For CISOs, security architects, and enterprise architecture leaders, understanding the MCP threat model is now a prerequisite for any AI agent deployment.
The Top MCP Security Risks at a Glance
- Malicious or compromised MCP servers that return hidden instructions to agents.
- Indirect prompt injection through tampered data in tool responses.
- Over-permissioned tool access that gives agents more capability than their tasks need.
- Unvetted third-party servers adopted without security review.
- Credential exposure through verbose responses, errors, and logs.
- Tool chain amplification, where one compromised server reaches every downstream system.
- Denial of service through token consumption from bloated responses.
For controls and best practices, see Airia’s MCP security guide. The rest of this article breaks down each risk and how to assess it in your environment.
Why MCP Changes the Security Equation
Traditional enterprise integrations are point-to-point. An application connects to a database through a specific connector with defined permissions. The attack surface is narrow and well-understood.
MCP inverts this model. A single AI agent can connect to multiple MCP servers, each of which exposes tools that interact with enterprise systems. The agent decides which tools to call based on its reasoning process, which means the attack surface is not just the protocol. It is the entire decision chain from prompt to tool execution.
This creates security challenges that existing application security frameworks were not designed to address. The threat model for MCP must account for risks that emerge from the interaction between AI reasoning, tool execution, and enterprise data access.
The Seven Categories of MCP Security Risk
A complete threat model for MCP in enterprise environments must address seven distinct risk categories. Each represents a different attack vector that security teams need to control.
1. Malicious or Compromised MCP Servers
The most direct threat comes from MCP servers that are designed or modified to manipulate agent behavior. A malicious server can return tool responses that contain hidden instructions the agent will interpret and follow. Because agents process tool responses as context for their next action, a compromised server can effectively inject commands into the agent’s reasoning process.
This risk is particularly acute when agents connect to servers outside the organization’s direct control. Even servers that appear legitimate can be compromised after initial vetting, making continuous monitoring essential.
2. Indirect Prompt Injection Through Tool Responses
Even legitimate MCP servers can become attack vectors when they return data from upstream sources that have been tampered with. An attacker who can modify data in a database, document repository, or external API can embed adversarial instructions that flow through the MCP server into the agent’s context.
The MCP server itself may be functioning correctly. The risk comes from the data it retrieves. This makes traditional server authentication insufficient. Security teams must also consider the integrity of every data source an MCP server accesses.
3. Over-Permissioned Tool Access
MCP tools often have broader access to enterprise systems than any single agent task requires. A server configured with database write access will expose that capability to every agent that connects, even if most agents only need read access.
The principle of least privilege is difficult to enforce when MCP servers are designed for flexibility. Without explicit access scoping at the tool level, agents inherit permissions they do not need, and attackers who compromise agent sessions gain access to capabilities they should not have.
4. Unvetted Third-Party Servers
The MCP ecosystem includes public and community-developed servers that organizations may be tempted to adopt without rigorous security review. Connecting to an unvetted server means trusting its code, its maintainers, and its data handling practices without verification.
Even well-intentioned third-party servers may have vulnerabilities, inadequate logging, or data retention practices that conflict with enterprise compliance requirements. Security teams need a vetting process that runs before any server connection is approved.
5. Credential Exposure Through MCP
MCP tool calls can inadvertently expose credentials or sensitive configuration data in their responses. A server that returns verbose error messages, includes connection strings in debugging output, or logs authentication tokens creates opportunities for credential leakage.
This risk compounds when agents process tool responses and include them in subsequent prompts or outputs. Credentials that appear in an MCP response can propagate through the agent’s context in ways that are difficult to track or contain.
6. Tool Chain Amplification
A single compromised or misconfigured MCP server can amplify the scope of an attack by providing access to connected downstream systems. If an MCP server has connections to multiple databases, APIs, or internal services, compromising that server gives an attacker a multiplied attack surface.
This amplification effect means that the risk of any single MCP server is not limited to its direct capabilities. It extends to everything that server can reach. Security assessments must map the full downstream exposure of each server in the environment.
7. Denial of Service Through Token Consumption
MCP servers that return unnecessarily large responses inflate the context windows of connected agents. This creates both a performance risk, as agents slow down or fail when context limits are reached, and a cost risk, as token consumption directly affects operational expenses.
A malicious server can exploit this by returning bloated responses designed to exhaust context capacity. Even non-malicious servers with poor response hygiene can create significant operational overhead.
Building Your MCP Threat Model
Security teams evaluating MCP deployments should start by mapping every MCP server in their environment, including servers that development teams may have connected without formal approval. For each server, document the tools it exposes, the systems those tools access, and the data that flows through its connections.
Use the seven risk categories as a framework for assessment. For each server and tool combination, ask: What happens if this server is compromised? What happens if the data it returns is manipulated? What credentials could be exposed? What downstream systems could be reached?
The answers will reveal where your MCP deployment is most vulnerable and where governance controls will have the greatest impact.
Controlling These Risks
Each of the seven risks calls for controls built specifically for MCP: server vetting before connection, access scoping at the tool level, runtime monitoring of tool calls, and a secured gateway that enforces policy before a tool call executes. Traditional API security and network controls are necessary but not sufficient.
Airia’s MCP security guide covers these controls and best practices in detail, including how Airia’s MCP gateway enforces them at enterprise scale.
Secure your AI agent integrations with centralized MCP governance. Connect with a member of our team to get started.
Put these ideas to work.
Schedule a 30-minute walkthrough with our team.