AI AGENT SECURITY THREAT
What are the main MCP security risks?
MCP can connect AI agents to powerful tools, data, and enterprise systems. Those connections also create new trust relationships, credential paths, permission boundaries, and attack surfaces that security teams need to understand.
THE DEFINITION
MCP security risks are risks in the connection path.
MCP security risks are weaknesses or unsafe trust relationships introduced when AI agents connect to external tools, data, and services through Model Context Protocol. Risks can include malicious or compromised MCP servers, manipulated tool content, excessive permissions, credential misuse, unsafe tool actions, and sensitive data exposure.
- MCP can expand what an agent is able to do.
- Tools may operate with downstream credentials.
- Descriptions and output can influence agent behavior.
- Third-party servers introduce external trust.
- Overprivileged tools increase blast radius.
- Runtime policy can reduce unsafe-action impact.
THE TRUST CHAIN
Where does trust exist in an MCP connection?
MCP connects more than context. It can connect authority.
MAIN RISKS
What are the main MCP security risks?
SERVER COMPROMISE
What is a malicious or compromised MCP server?
A malicious or compromised MCP server may expose tools or content that behaves differently than the agent or user expects.
Potential risks include misleading capabilities, manipulated output, unexpected data access, external transfer, hidden side effects, and altered tool behavior.
Treat MCP servers as security-sensitive infrastructure, not passive connectors.
TOOL POISONING
What is MCP tool poisoning?
Tool poisoning occurs when information associated with a tool is manipulated in a way that changes how an AI agent understands or uses that tool.
Explore Tool MisuseINDIRECT PROMPT INJECTION
MCP output can become an indirect prompt injection path.
The connection may be trusted while the content returned through it is still untrusted.
A trusted MCP connection does not make every returned instruction trustworthy.
TOOL PERMISSIONS
An MCP server can expose more capability than the agent needs.
Tool availability itself is part of the permission boundary.
Explore Overprivileged Agents Explore Excessive AgencyDOWNSTREAM CREDENTIALS
The agent may exercise authority it does not directly hold.
The agent may never receive the credential directly. But if it can invoke the tool, it can effectively exercise that credential’s permissions.
Effective agent access includes permissions exercised indirectly through MCP tools.
Explore Agent Identity & PermissionsTOOL MISUSE
A trusted MCP tool can still be used unsafely.
The server is legitimate. The tool is legitimate. The action is inappropriate for the task.
The tool does not need to be malicious for the action to be unsafe.
Explore Tool MisuseTHIRD-PARTY TRUST
Third-party MCP servers create external trust dependencies.
Third-party does not automatically mean unsafe. It means the trust boundary should be explicit.
- Who operates the server?
- Where is it hosted?
- What data does it process?
- What tools does it expose?
- What credentials does it use?
- What systems can it reach?
- How is it updated?
- Who owns the relationship internally?
SHADOW MCP
What is shadow MCP?
Shadow MCP refers to MCP servers or connections used inside an organization without full security visibility, ownership, inventory, or review.
You cannot secure MCP infrastructure you do not know exists.
Explore Agent DiscoveryDATA EXPOSURE
MCP can create new paths to sensitive data.
Security teams should understand both inbound data access and outbound movement.
Explore Data ExfiltrationMULTI-TOOL CHAINS
Risk can emerge across several MCP tool calls.
Each call may look legitimate. Together they may create an unsafe outcome.
Agentic risk can exist in the sequence rather than in a single tool.
ALTERNATE PATHS
Blocking one tool may not block the outcome.
Controls should consider the outcome, sequence, destination, and context—not only an individual tool name.
AUTHORIZATION
Authentication does not mean every MCP action is allowed.
Authenticated does not mean automatically approved.
Explore Runtime SecurityRUNTIME MCP SECURITY
Evaluate sensitive MCP actions before they execute.
Runtime context can include the agent, identity, tool, parameters, resource, data sensitivity, destination, environment, task, and autonomy.
Explore Runtime SecurityHUMAN APPROVAL
Some MCP actions should require human review.
Not every action needs review. Higher-impact actions may need a person in the loop.
TRUST CLASSIFICATION
Not every MCP connection deserves the same trust.
This is a conceptual model, not an automated Eyrane trust score.
ATTACK PATH
Follow the path from untrusted output to sensitive action.
Security controls should reduce the impact even when content or behavior at an earlier layer is manipulated.
MITIGATION
How to reduce MCP security risk.
ADVERSARIAL TESTING
Test MCP trust before production.
Test manipulated descriptions and output, untrusted servers, excessive permissions, data movement, approval bypass, and multi-tool chains.
Explore AI Red TeamingAUDITABILITY
Trace actions across the full MCP path.
Security teams should be able to connect the initiating agent, server, tool, downstream identity, affected system, data movement, policy, approval, and outcome.
FROM MCP RISK TO CONTROL
Reduce MCP risk across the connection path.
AUTHORITATIVE GUIDANCE
Related MCP and AI security guidance.
These primary resources provide shared language for MCP security, agentic threats, AI risk, and adversarial techniques. They do not imply endorsement of Eyrane.
COMMON QUESTIONS
Questions about MCP attacks.
What are MCP security risks?
MCP security risks are weaknesses or unsafe trust relationships introduced when AI agents connect to tools, data, and services through Model Context Protocol.
Is MCP secure?
MCP is a connection protocol, not a complete security boundary. Security depends on the server, tool, credential, permissions, content, and actions connected through it.
What is an MCP server attack?
An MCP server attack involves malicious, compromised, or unexpectedly behaving server infrastructure that exposes an agent to unsafe tools, content, data access, or downstream actions.
What is MCP tool poisoning?
MCP tool poisoning is manipulation of tool descriptions, metadata, parameters, or output so an agent misunderstands or uses a capability unsafely.
Can MCP cause prompt injection?
Yes. Tool output or resources can contain untrusted instructions that influence an agent’s next decision, creating an indirect prompt injection path.
Can MCP tools expose sensitive data?
Yes. MCP tools may read, transform, export, or send data through the identities and systems behind them.
How do MCP tools use credentials?
An MCP tool may act through a service account, OAuth token, cloud role, or another downstream identity even when the agent does not directly hold that credential.
What is shadow MCP?
Shadow MCP refers to MCP servers or connections used without complete security visibility, ownership, inventory, or review.
Can an MCP server make an AI agent overprivileged?
Yes. A server can expose more tools or downstream authority than the agent’s task requires, increasing its effective permissions and blast radius.
How should companies secure third-party MCP servers?
Companies should identify the operator, hosting, tools, data flows, credentials, reachable systems, update process, and internal owner before granting trust.
Should MCP tool output be trusted?
No. A trusted connection does not make every returned instruction trustworthy. Tool output should be treated according to its source and context.
How can runtime security protect MCP actions?
Runtime security evaluates the agent, identity, tool, resource, data, destination, environment, and task before allowing, reviewing, or blocking a sensitive action.
How should organizations red team MCP?
Red teams should test manipulated tool descriptions and output, untrusted servers, excessive permissions, data movement, approval bypass, and multi-tool chains.
MCP SECURITY RISKS
Secure every path from MCP connection to enterprise action.
Understand the servers, tools, identities, permissions, and data behind agent actions — and control high-impact behavior before it reaches enterprise systems.