Because they sit inside an active decision layer. The server is not just code on disk, it is a tool path that an agent can invoke with real permissions and live data. That makes install-time trust, runtime intent, and revocation all part of the same governance decision.
Why This Matters for Security Teams
MCP servers are more dangerous than ordinary third-party packages because they are not passive dependencies. They become live tool endpoints that an agent can call with context, credentials, and access to real systems. That shifts the problem from software trust at install time to continuous governance at runtime, where intent, scope, and revocation all matter at once.
Security teams often underestimate this distinction and apply package review habits to a runtime control plane. But an MCP server can expose files, APIs, tickets, databases, or internal workflows through a path an agent may traverse autonomously. The result is closer to privileged automation than to conventional library risk. NHIMG has documented the concentration of secrets and weak scoping in MCP deployments in its State of MCP Server Security 2025, while the broader agentic threat surface is outlined in AI Agents: The New Attack Surface report.
Practical governance also needs to account for agent behaviour that can chain tools, escalate privilege, and act outside the original human request. Static approval of a package does not answer whether the agent should use that server right now, for this task, with these inputs. In practice, many security teams encounter MCP misuse only after an agent has already traversed an over-permissive tool path, rather than through intentional access design.
How It Works in Practice
The right mental model is not “installed package equals trusted code,” but “active capability equals governed access.” MCP servers sit inside an execution loop where an AI agent can discover tools, request them, and pass data that may be sensitive or operationally consequential. That means governance has to cover workload identity, authorization, and secrets handling together. This is where current guidance is converging on intent-based controls rather than static RBAC alone.
In practice, teams should treat the MCP server as part of the agent’s decision surface and apply runtime policy evaluation. A useful pattern is to bind the agent to a workload identity, then issue just-in-time credentials per task, with short TTLs and automatic revocation when the task ends. For identity proof, implementations often rely on cryptographic workload identities such as SPIFFE or OIDC-backed tokens, because the control must verify what the agent is, not merely what it was allowed to install. For policy logic, current best practice is evolving toward policy-as-code engines such as OPA or Cedar so decisions can consider the request, context, data sensitivity, and tool risk at the moment of use.
- Scope each MCP server to the smallest tool set required for one workflow.
- Prefer ephemeral secrets over long-lived static tokens in configs.
- Log tool invocations, prompts, and downstream actions for auditability.
- Revoke access when the workflow, project, or approval window ends.
A useful benchmark is the secret-exposure reality reported in The State of MCP Server Security 2025, which found 24,008 unique secrets exposed in MCP configuration files in 2025 alone. That aligns with broader supply-chain patterns seen in the LiteLLM PyPI package breach, where hard-coded or embedded credentials became part of the compromise path. These controls tend to break down when MCP servers are shared across teams with broad default permissions because the runtime context becomes too diffuse to evaluate safely.
Common Variations and Edge Cases
Tighter control often increases operational overhead, requiring organisations to balance agent velocity against approval friction. That tradeoff is real, especially when multiple agents, shared servers, and fast-changing data sources are involved. Current guidance suggests the safest model is not blanket prohibition, but explicit scoping, because there is no universal standard yet for how much autonomy an MCP server should receive by default.
One edge case is read-only access that still becomes risky through data leakage. An MCP server that cannot write may still expose sensitive records, secrets, or internal context to an agent that can then forward them elsewhere. Another is delegated administration, where a human approves the server once but the agent keeps using it across sessions. In that scenario, install-time trust is insufficient because the effective risk is governed by when and why the tool is invoked, not whether it was reviewed. NHIMG’s Top 10 NHI Issues and Analysis of Claude Code Security both reinforce that runtime authority is the real control point.
For governance teams, the key question is whether the MCP server can be tied to a specific workload identity, a specific purpose, and a specific expiry window. If not, the server behaves less like a package and more like an always-on privilege bridge, which is why ordinary dependency management is not enough.
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 | A1 | Covers autonomous tool use and agent-driven misuse of MCP servers. |
| CSA MAESTRO | TRA | Addresses trust boundaries and runtime authorization for agentic workflows. |
| NIST AI RMF | GOVERN | Supports accountability and oversight for autonomous AI-enabled decisions. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Relevant to secret exposure, rotation, and lifecycle control of MCP credentials. |
| NIST Zero Trust (SP 800-207) | PL-2 | Zero trust is relevant because MCP access must be verified at runtime, not assumed. |
Model MCP servers as runtime agent tools and enforce least-privilege, bounded execution, and tool approval.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 1, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org