Model Context Protocol is the standardized interface that connects agents to external tools, while security controls determine what those tools may do and what data may be exposed. MCP improves interoperability and modularity, but it does not by itself enforce policy. Security layers around MCP are what block manipulative prompts, redact sensitive data, and keep tool use within defined limits.
Why This Matters for Security Teams
model context protocol gives agents a standard way to discover and call tools, but standardisation is not the same as control. Security teams need to separate the transport and interface layer from the policy layer, because MCP can make integrations easier while also widening the blast radius if tool permissions, secrets handling, or data exposure are not governed. The current risk is not the protocol itself, but how quickly it can connect autonomous workflows to systems that were never designed for machine speed or machine volume.
That distinction matters because MCP deployments often inherit the same failure patterns seen in broader NHI environments. NHIMG’s research on The State of Non-Human Identity Security shows how often organisations struggle with credential rotation, monitoring, and over-privilege, and those weaknesses become more dangerous when an agent can invoke tools continuously. In parallel, NIST’s NIST SP 800-53 Rev 5 Security and Privacy Controls remains useful for understanding how control families map to access restriction, monitoring, and data protection, even though it was not written specifically for MCP. In practice, many security teams encounter MCP misconfiguration only after an agent has already reached a sensitive tool or secret store, rather than through intentional testing.
How It Works in Practice
The practical difference is simple: MCP defines how an agent talks to tools, while security controls define whether the agent should be allowed to use them, under what conditions, and with what data boundaries. Treat MCP as an interoperability layer, not a trust boundary. Real protection comes from layering identity, policy, and inspection around the protocol.
For agentic systems, static RBAC is often too blunt on its own because an autonomous workload may chain actions in ways a human operator never anticipated. Current guidance suggests combining workload identity, short-lived credentials, and request-time policy evaluation. That usually means issuing ephemeral tokens per task, validating the calling workload with cryptographic identity, and enforcing rules at the moment a tool request is made. The policy engine then decides based on context such as tool sensitivity, user intent, data classification, and session state.
Useful controls around MCP typically include:
- Tool allowlists and per-tool scopes so an agent can only reach approved actions.
- Secret redaction and output filtering so prompts and responses do not leak credentials or regulated data.
- Runtime authorisation checks so a permitted tool is still constrained by task, tenant, or data domain.
- Logging and traceability so tool calls can be reconstructed after a suspicious action.
NHIMG’s The State of MCP Server Security 2025 is especially relevant here because it shows how often MCP servers already expose credentials or omit access scoping. That reinforces the point that protocol adoption without policy hardening creates convenience, not security. These controls tend to break down when MCP servers are deployed as a shared integration hub with hard-coded secrets and no per-tool scoping, because one compromised connector can expose every downstream system it can reach.
Common Variations and Edge Cases
Tighter control around MCP often increases operational overhead, requiring organisations to balance developer velocity against the need for stronger containment. That tradeoff is real: the more autonomous the agent, the more precise the guardrails must be.
There is no universal standard for this yet. Some teams place the main control point in the MCP server, others enforce it through a gateway, sidecar, or policy engine in front of the server, and some split duties across all three. The right answer depends on where identity is established and where data classification is known. For example, if an MCP server brokers access to multiple internal systems, a single coarse policy is usually not enough. If the server is only used for low-risk retrieval, lighter controls may be acceptable, provided secrets are never embedded in configuration.
One common mistake is assuming that protocol conformance implies trust. Another is treating observability as a substitute for prevention. Monitoring is necessary, but it does not stop an agent from exfiltrating data through an approved tool if the tool itself is over-permissioned. For teams still maturing their governance, NHIMG’s Ultimate Guide to NHIs — Standards can help frame how protocol controls fit into broader identity governance, while Ultimate Guide to NHIs — What are Non-Human Identities is useful for understanding why agent identities need different handling than human accounts.
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 CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Addresses insecure tool use and agent-driven privilege escalation through protocol-connected actions. |
| CSA MAESTRO | T1 | Covers trust boundaries and control placement for autonomous agents using external tools. |
| NIST AI RMF | GOVERN | Supports accountability and oversight for AI-enabled access decisions and data exposure. |
| NIST CSF 2.0 | PR.AC-4 | Relevant to enforcing least privilege for non-human workloads using MCP. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Covers secret exposure and credential handling risks common in MCP servers. |
Limit tool scope, validate agent intent, and inspect every MCP-mediated action at request time.
Related resources from NHI Mgmt Group
- What is the difference between a general-purpose language model and a domain-specific query engine for identity security?
- What is the difference between model security and agent identity controls?
- What is the difference between model guardrails and runtime AI security controls?
- What is the difference between Model Context Protocol and traditional integration patterns for AI systems?