TL;DR: MCP is emerging as a standard way for AI systems and agents to reach enterprise data, but static credentials, limited session controls, and weak auditability leave material governance gaps, according to Teleport’s analysis of AI infrastructure security. The central issue is that agentic access behaves more like identity delegation than application integration, so existing IAM assumptions break quickly.
At a glance
What this is: This is Teleport’s analysis of how MCP changes AI infrastructure security, with the key finding that static credentials and weak audit trails leave agentic access under-governed.
Why it matters: It matters because IAM, PAM, and NHI teams now have to govern AI systems as identities, not just as applications, or they will miss privilege, logging, and revocation gaps.
👉 Read Teleport's analysis of securing MCP and AI-driven database access
Context
Model Context Protocol, or MCP, is a standard connector that lets AI systems reach databases, APIs, file systems, and cloud services. In Teleport’s framing, the security problem is not connectivity itself but the identity model underneath it, because many deployments still rely on static credentials and broad permissions that were never designed for agentic access.
That creates a governance gap across NHI, agentic AI, and infrastructure access programmes. When an AI system can request data, maintain context, and act across sessions, the old split between application access and identity control starts to collapse, and teams need to treat the agent, the server, and the credential path as one policy surface.
Key questions
Q: How should security teams govern AI agents that access enterprise data through MCP?
A: Treat the agent, connector, and downstream credential path as one identity surface. Enforce least privilege at the connector level, require short-lived access where possible, and make every request attributable in logs. If the AI system can access sensitive data, it belongs in the same governance process as other privileged non-human identities.
Q: Why do static credentials create more risk in MCP deployments?
A: Static credentials create standing access that outlives the specific task the AI is performing. That makes revocation slower, scope harder to constrain, and compromise more damaging if the secret is exposed. In MCP environments, the risk is not only theft, but durable reuse across systems and sessions.
Q: What do teams get wrong about AI access logs?
A: They often log connectivity but not enough context to prove what the AI touched or why. Good AI governance needs identity, resource, action, and task context in the same trail. Without that linkage, compliance checks and incident response both lose evidentiary value.
Q: How do MCP-based AI systems change zero trust assumptions?
A: They shift the trust boundary from user login to machine-mediated delegation. Zero trust still applies, but the control point moves to authentication, authorization, and revocation around the connector and its credentials. Teams need to verify every request, not assume the workflow is safe because the model is inside the perimeter.
Technical breakdown
Why MCP creates a new identity perimeter
MCP standardises how AI systems connect to enterprise tools, but it does not itself solve authorisation, session control, or revocation. In practice, many MCP servers still authenticate with static API keys or service account secrets, which means the protocol becomes a persistent trust bridge rather than a controlled access layer. Once a connection exists, the security question shifts from transport to identity: which actor is calling, what it can reach, and how that access is bounded. That is why MCP deployments often expose the same failure modes seen in legacy NHI sprawl, only now the requester may be an AI agent acting on behalf of a user or workflow. Practical implication: treat MCP endpoints as identity-bearing infrastructure, not just integration middleware.
Practical implication: treat MCP endpoints as identity-bearing infrastructure, not just integration middleware.
Static secrets and over-privilege in AI workflows
The core technical weakness is not the AI model alone but the credential pattern behind it. If an MCP server, database connector, or cloud service is fronted by a long-lived secret, the AI workload inherits standing access that is difficult to scope tightly or revoke cleanly. Teleport’s analysis ties this to over-privileged access patterns and insecure plugin design, where the AI system gets more reach than the task requires. In security terms, the problem is that a dynamic workload is being governed with a static identity. That mismatch increases blast radius, complicates separation of duties, and creates a durable exfiltration path if the secret leaks. Practical implication: replace persistent secrets with short-lived, tightly scoped access paths where possible.
Practical implication: replace persistent secrets with short-lived, tightly scoped access paths where possible.
Auditability and attribution for agent actions
AI access control is incomplete if teams cannot attribute what the system touched, when it touched it, and under which task context. Teleport’s analysis highlights audit blindness as a material control gap, because compliance and incident response depend on reconstructing the exact resource path and action trail. For AI-driven workflows, this means logs must capture identity, resource, action, and context together. Without that linkage, a security team may know an AI system was active but still be unable to prove whether it accessed sensitive records, delegated a follow-on action, or crossed a policy boundary. Practical implication: require end-to-end audit trails that tie every AI request to an identity and a resource.
Practical implication: require end-to-end audit trails that tie every AI request to an identity and a resource.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- MongoBleed breach — MongoBleed exposed secrets across 87K MongoDB servers.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
MCP exposes an identity governance problem before it exposes an application problem. The protocol is often discussed as a connectivity layer, but the real security failure is that it creates new delegated access paths without a corresponding governance model. When AI systems can touch enterprise resources through reusable connectors, identity becomes the control plane, not the model layer. Practitioners should read MCP deployments as a test of whether their NHI programme can govern dynamic, machine-driven access with the same rigour applied to privileged human access.
Static secrets are the wrong trust anchor for AI-driven infrastructure. A long-lived API key or database password assumes a stable subject, a stable task, and a stable permission boundary. AI workflows break that assumption because access needs shift with the prompt, the tool path, and the downstream action chain. The implication is that identity design must move away from durable credentials as the default security primitive for AI systems.
Audit blindness is a governance failure, not a logging inconvenience. If security teams cannot tie AI activity to the identity, resource, and task context, they cannot satisfy compliance, investigate misuse, or distinguish legitimate automation from policy drift. That gap spans NHI governance, security operations, and compliance evidence. Practitioners should treat attribution as a mandatory control surface for AI infrastructure.
Identity-first AI security will increasingly converge with broader Zero Trust practice. The same controls that reduce human and workload exposure, including explicit authentication, least privilege, and revocation discipline, now need to be extended to AI infrastructure. What changes is the actor type: the access request may originate from an agent rather than a person, but the control objective remains bounded, attributable, and short-lived access. Teams that separate AI security from identity governance will build parallel risk models they cannot sustain.
Named concept: MCP identity perimeter. MCP creates a new perimeter where access is governed by the identity path between the AI system and enterprise data, not by the application boundary alone. That perimeter becomes the decisive control point for least privilege, revocation, and attribution. Practitioners should design policies around the connector, the credential, and the audit trail as one governed surface.
From our research:
- 98% of companies plan to deploy even more AI agents within the next 12 months, despite documented rogue behaviour in 80% of current deployments, according to AI Agents: The New Attack Surface report.
- Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation, according to AI Agents: The New Attack Surface report.
- That gap should be read alongside the OWASP Agentic Applications Top 10, which gives practitioners a control vocabulary for agentic access, delegation, and misuse.
What this signals
MCP identity perimeter: the connector layer is becoming the real control surface for AI access, which means IAM, PAM, and NHI teams need shared policy ownership rather than parallel tooling. If the access path is not identity-governed end to end, the model can be compliant while the connector remains a standing exposure.
The practical signal for programmes is a move from application onboarding to identity onboarding for AI systems. That shift is already visible in broader agent adoption, and the governance load will grow faster than most access review cadences can absorb unless teams prioritise attribution, revocation, and scoped delegation from the start.
For practitioners
- Inventory every MCP-connected AI access path Map each AI system, MCP server, database connector, and cloud service it can reach. Classify the credential type in use, the scope granted, and whether the access can be revoked without redeploying the workflow.
- Replace persistent secrets with short-lived identities Eliminate static API keys and long-lived passwords where the workflow allows it. Use ephemeral credentials, scoped roles, and task-bound authorization so an AI workload cannot carry standing access across unrelated sessions.
- Bind audit logs to identity and task context Require logging that captures which AI identity accessed which resource, under what policy, and for what business context. Forward those logs into SIEM and compliance workflows so investigations can reconstruct the full access chain.
- Review AI access as a privileged-access problem Bring PAM and IGA teams into AI rollout reviews instead of treating agents as a separate category. Any system that can reach sensitive data, execute actions, or chain tools should be reviewed like other high-risk non-human access.
Key takeaways
- MCP changes AI security by turning the connector into an identity control problem, not just an integration problem.
- Static secrets, broad permissions, and weak audit trails remain the main failure points in AI-driven infrastructure.
- Teams that govern AI access as privileged non-human access will be better positioned to control scope, revoke access, and prove accountability.
Key terms
- Model Context Protocol: A standard interface that lets AI systems connect to tools, databases, and services in a consistent way. In security terms, it turns integration into an identity and access problem because the connector can expose sensitive resources if authentication, authorization, and logging are not tightly governed.
- MCP identity perimeter: The governed boundary created by the AI connector, its credentials, and the downstream resources it can reach. It matters because the security decision is no longer only about the model or application, but about how identity is asserted, scoped, and revoked across the access path.
- Standing access: Persistent permission that remains available beyond the immediate task or session. For AI workloads, standing access is especially risky because the actor may change context rapidly, yet the credential still authorises the same broad set of actions until it is rotated or revoked.
- Audit attribution: The ability to tie an action to a specific identity, resource, and business context in a way that supports investigation and compliance. For AI systems, attribution must capture both what was accessed and why the system was allowed to access it, or the log trail has limited value.
What's in the full article
Teleport's full blog covers the operational detail this post intentionally leaves for the source:
- How its infrastructure identity model maps humans, workloads, and AI systems into one policy layer
- Implementation guidance for replacing static MCP secrets with ephemeral credentials and mutual TLS
- Audit design details for capturing AI identity, accessed resources, and business context in one trail
- A step-by-step roadmap for securing AI-driven database access across enterprise environments
Deepen your knowledge
MCP security and identity governance are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building controls for AI systems that reach enterprise data, it is worth exploring.
Published by the NHIMG editorial team on 2025-07-11.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org