MCP Expands the Enterprise Attack Surface for AI Agents

Model Context Protocol defines a client-server architecture that lets AI agents connect to external tools, data sources, and services through a common set of primitives: tools, resources, and prompts. This standardization is useful for integration, but it also means an agent can be granted access to a growing number of MCP servers, each exposing capabilities the agent may invoke autonomously.

As adoption accelerates, security teams are being asked to govern systems where a single agent session can trigger many distinct tool invocations, often without a human reviewing each action before it executes. That combination, broad tool access plus autonomous invocation, is the source of the runtime risk this guide addresses:

  • Unauthorized actions initiated by agents operating outside intended scope
  • Data exfiltration through connected resources
  • Tool invocations that are never reviewed until after the fact

Public security research on LLM and agentic applications has already identified categories such as excessive agency, insecure plugin or tool design, and inadequate access control as recurring risk patterns in tool-integrated AI systems. MCP does not eliminate these risks by design; it standardizes the interface through which they can be introduced at scale.


What MCP Does and Does Not Secure

It is worth being precise about protocol scope before selecting controls. The MCP specification defines how a client and server exchange requests for tools, resources, and prompts. It does not prescribe a mandatory enterprise authorization model, identity scheme, or policy enforcement mechanism for tool invocation. Responsibility for authentication, authorization, and input or output validation sits with the implementing organization, not the protocol.

This matters operationally. Teams that treat MCP adoption as a plug-and-play integration, without adding their own control layer, are implicitly trusting that every connected server and every tool call is safe by default. General AI governance frameworks, including the NIST AI Risk Management Framework, provide relevant categories for access control, monitoring, and accountability, but they do not address MCP or agent tool-calling protocols specifically. Enterprises need to translate that general guidance into concrete, protocol-aware enforcement.


Where to Place the Policy Enforcement Point

The most important architectural decision is where policy enforcement actually intercepts agent behavior. There are two broad options, and they are not equivalent in the protection they provide.

The first option is to rely on model-level instructions, system prompts, or behavioral guidelines, to constrain what the agent will request. This approach is insufficient for enterprise environments because it depends on the model reliably refusing out-of-scope tool calls, which cannot be guaranteed, especially under prompt injection or adversarial inputs.

The second option is to place a control point between the agent and the MCP server that evaluates and mediates every tool call request before execution. This is the only approach that provides enforceable, auditable access control independent of model behavior. The enforcement point should be positioned so that no tool call can reach a connected MCP server without passing through it.


Core Runtime Controls for MCP Deployments

Four controls form the foundation of a defensible MCP security posture. Each addresses a distinct failure mode.

Agent Identity

Assign distinct, scoped credentials to each agent session, separate from end-user identity. Without this, all agent activity is attributed to a shared or human identity, making it impossible to apply per-agent access rules or trace actions back to the originating session.

Policy Enforcement

A control point that evaluates every tool call against least-privilege rules before it executes. Policy should define which tools an agent is permitted to call, under what conditions, and with what parameters, and should deny by default anything outside that scope.

Tool-Call Mediation

Interception and inspection of tool call requests before they reach the target MCP server. Mediation allows the enforcement point to validate inputs, apply rate limits, require human approval for high-risk actions, and block requests that match anomaly or threat patterns.

Audit Logging

Structured records capturing the agent identity, the tool called, the parameters passed, the authorization decision, and the execution outcome. Logs must be sufficient to reconstruct any agent action after the fact and should be exportable to existing SIEM or monitoring infrastructure.


Governance and Operational Ownership

Technical controls only function if an organization assigns ownership for them. The following governance requirements should be addressed alongside the technical implementation.

  • New MCP server connections should go through a review and approval process before production use, comparable to existing third-party integration review.
  • Access reviews for agent identities and their associated tool permissions should run on a defined cadence, consistent with least-privilege practices already applied to human identities.
  • Incident response procedures need to explicitly account for agent-initiated actions, including how to trace a harmful action back to the originating agent session and the specific tool call that produced it.
  • Do not assume that MCP tool-call logging automatically satisfies existing regulatory or audit logging obligations. That mapping should be assessed deliberately rather than taken for granted.
  • Assign a named owner for the agent access inventory. Without ownership, permissions accumulate and access reviews are deferred indefinitely.
Operational note

Runtime governance platforms can operationalize these controls, agent identity, permissioning, policy enforcement, and audit logging, as ongoing infrastructure rather than one-time configuration. Evaluate solutions against the criteria in the next section.


Evaluation Criteria for MCP Security Solutions

When assessing platforms or tooling to support MCP runtime security, use the following questions to distinguish enforcement-capable solutions from those that rely on advisory or behavioral controls alone.

Evaluation Area Key Question
Enforcement position Does the solution enforce policy at a point that mediates every tool call, or does it rely on model-level instructions alone?
Agent identity How are distinct identities and credentials assigned and managed for individual AI agents or agent sessions?
Audit fidelity What level of detail is captured in audit logs for each tool call, and can logs be exported to existing SIEM or monitoring systems?
Server vetting How are new or third-party MCP servers reviewed and approved before connection to production agents?
Real-time revocation What mechanisms exist to revoke or restrict an agent's tool access in real time if anomalous behavior is detected?

Frequently Asked Questions

Does MCP include any built-in access control for tool invocation?

No. The MCP specification defines the exchange protocol between a client and server but does not mandate an authorization model, identity scheme, or policy enforcement mechanism. Access control is the responsibility of the implementing organization.

Can system prompts or model instructions substitute for a policy enforcement point?

Not in enterprise environments. Behavioral guidelines depend on the model reliably refusing out-of-scope requests, which cannot be guaranteed under all conditions, particularly against prompt injection. Enforceable access control requires a mediation layer independent of model behavior.

How should agent identities differ from end-user identities?

Each agent or agent session should carry its own scoped credential with permissions limited to the tools it requires for its specific task. Sharing credentials with human users or across agent sessions prevents per-agent access control and makes audit attribution unreliable.

Does MCP tool-call logging automatically satisfy audit or compliance requirements?

Not necessarily. Whether tool-call logs satisfy a specific regulatory or audit requirement depends on the detail captured, the retention policy, and how the logs map to the control framework in question. That mapping should be assessed explicitly rather than assumed.

What is the highest-priority first step for an organization new to MCP security?

Inventory every MCP server connection that exists or is planned, and for each one, document which agents have access and which tools are exposed. You cannot enforce least-privilege or conduct meaningful access reviews without that inventory as a baseline.