MCP-connected agents can operate locally on the same device as the user or developer, so their activity may never cross the perimeter traditional tools watch. That means network-based discovery can miss both the server itself and the actions it performs. The core risk is not just data leaving the environment, but unsanctioned tool use inside trusted workflows.
Why This Matters for Security Teams
MCP-connected agents change the governance problem because the risk is not limited to inbound or outbound traffic. An agent can execute tool calls locally, inherit a user’s trust context, and operate inside workflows that never trip perimeter tooling. That means network controls may remain clean while the agent still reads data, writes files, or invokes actions that should have required explicit approval. The issue is operational authority, not just network visibility.
This is why current guidance increasingly treats agentic systems as a workload identity and runtime authorization problem, not a firewall problem. The OWASP Agentic AI Top 10 and NIST AI Risk Management Framework both point toward context-aware controls because agents can chain tools, shift intent mid-task, and bypass assumptions that were built for human sessions. NHIMG research on AI Agents: The New Attack Surface report found that 80% of organisations report agents performing actions beyond intended scope, including unauthorised system access and credential exposure.
In practice, many security teams discover governance failures only after an agent has already used a trusted tool path to do something the network never saw coming.
How It Works in Practice
For MCP-connected agents, governance has to start with what the agent is allowed to do at the moment of action. Static RBAC alone is a poor fit because the agent’s behaviour is goal-driven and variable: the same prompt may lead to different tool chains, different data retrieval, and different side effects. Instead, many practitioners are moving toward intent-based authorization, where policy is evaluated at request time using task context, data sensitivity, environment, and the specific tool being invoked.
That model works best when paired with workload identity and short-lived credentials. Rather than giving an agent long-lived secrets, teams should issue ephemeral tokens per task or per session, then revoke them automatically when the task completes. This reduces the blast radius if a tool is abused or a prompt is manipulated. The NIST SP 800-207 Zero Trust Architecture model is useful here because it assumes trust must be continuously re-established, not inherited from the network perimeter.
- Use workload identity to prove what the agent is, not just where it connected from.
- Evaluate policy at runtime using the requested tool, target resource, and current task context.
- Issue short-lived credentials and rotate or revoke them after each task.
- Log tool calls and data access separately from network sessions so local activity is visible.
NHIMG’s OWASP NHI Top 10 highlights how agents and their surrounding secrets often become the real attack surface, not the transport path. This aligns with the CSA MAESTRO agentic AI threat modeling framework, which emphasizes chained actions, indirect tool abuse, and runtime control points. These controls tend to break down when agents are granted broad local filesystem access on developer laptops because the dangerous action occurs entirely within trusted endpoints.
Common Variations and Edge Cases
Tighter control often increases integration overhead, requiring organisations to balance agent productivity against operational friction. That tradeoff is real, especially when MCP servers are used for developer automation, local coding assistants, or internal copilots that need broad tool access to remain useful. Best practice is evolving, but there is no universal standard for exactly how granular agent authorization should be.
One common edge case is local-first deployment. If an agent runs on the same device as the user, network segmentation may add little value because the agent can access local files, browser sessions, or cached secrets without crossing a monitored boundary. Another is delegated access through shared tooling, where the agent inherits permissions from the operator and quietly expands the blast radius of a human’s session. This is where guidance from Top 10 NHI Issues and the AI Agents: The New Attack Surface report becomes especially relevant: the hard part is not only proving the identity, but constraining what that identity can do in real time.
Current guidance suggests treating MCP as a control plane for privileged actions, not a neutral messaging layer. In environments with high developer autonomy, rapid prompt changes, or loosely governed plugin ecosystems, even well-designed network controls can fail to detect unauthorized side effects because the agent’s risky behaviour is already inside the trust zone.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Covers excessive agency and unsafe tool use by autonomous agents. |
| CSA MAESTRO | TM-2 | Addresses chained tool actions and runtime control for agentic systems. |
| NIST AI RMF | GOVERN | Focuses on accountability and oversight for AI-enabled decision systems. |
| NIST Zero Trust (SP 800-207) | SC-3 | Zero trust is relevant because network location cannot be the trust basis. |
| OWASP Non-Human Identity Top 10 | NHI-01 | Agent tool access depends on identity and credential handling for non-human workloads. |
Threat model each agent workflow and gate tool chains with policy enforcement.