By NHI Mgmt Group Editorial TeamDomain: Agentic AI & NHIsSource: StacklokPublished May 4, 2026

TL;DR: Shadow MCP is already outpacing enterprise visibility, with Stacklok describing cases where teams thought they ran 4 or 5 MCP servers but discovered about 30. The governance gap is that AI agent tool access is expanding faster than catalogs, approval paths, and auditability can keep up, so the safe path must become the easiest path.


At a glance

What this is: This is an analysis of shadow MCP and its role in expanding AI agent governance debt, with the central finding that undiscovered MCP servers are multiplying faster than enterprise controls.

Why it matters: It matters because MCP is becoming the connective tissue between AI agents, tools, and data, which means IAM, IGA, and security teams need a reliable system of record before sprawl becomes operational and compliance debt.

👉 Read Stacklok's analysis of shadow MCP and AI agent governance debt


Context

Model Context Protocol, or MCP, is the layer that lets AI agents connect to tools, data sources, and services. The security problem is not the protocol itself, but the speed at which enterprise deployments are outrunning catalog, approval, and audit controls, creating shadow MCP in the same way shadow IT emerged in cloud.

The article argues that many organisations badly underestimate how many MCP servers are actually active, which means their assumed control boundary is already false. For IAM and NHI programmes, that matters because every uncatalogued server introduces a new identity, authorisation path, and governance obligation that no one can reliably recertify.

This is not a niche engineering hygiene issue. In regulated environments, if security and compliance teams cannot answer what data AI agents can access, the organisation has already lost the governance argument before any incident occurs.


Key questions

Q: What breaks when MCP servers are not registered centrally?

A: Unregistered servers create shadow deployment. That means the organisation cannot tell which tools are connected, which identities can invoke them, or whether a connection is governed at all. The result is hidden access paths that weaken both policy enforcement and assurance reporting.

Q: Why do MCP environments create new identity governance risk?

A: MCP environments create risk because they connect agents to tools, registries, and data sources through dynamic trust relationships. The governance challenge is that access can expand through tool availability and connection logic, even when the original permission looked narrow. Teams need approval, logging, and review at the tool boundary, not only at authentication.

Q: How do security teams know whether MCP server governance is working?

A: They should be able to answer four questions at any time: what servers exist, which are official, what credentials they can use, and what systems they contact. If those answers are unclear, governance is not working. The signal is not just fewer alerts, but clear attribution and scoped access across the fleet.

Q: Who should own MCP registry decisions across engineering and security?

A: Ownership should sit with the platform or identity governance function, with security setting policy and engineering supplying operational metadata. If ownership stays informal, no one can manage registration, retirement, or approval drift consistently. The important test is whether the registry has named accountability and an enforceable lifecycle, not just a list of tools.


Technical breakdown

Why shadow MCP appears faster than enterprise catalogues

MCP standardises how agents connect to resources, but standardisation also lowers the friction for teams to create new servers independently. When developers can stand up connectors without a central registry, discovery becomes fragmented and each team effectively creates its own local truth. That produces duplicated integrations, inconsistent trust decisions, and approval drift between environments. The technical issue is not just visibility. It is that every unregistered server creates an unmanaged access path with its own tool set, permissions, and lifecycle state.

Practical implication: centralise discovery before agent tool sprawl becomes irreversible.

What an MCP registry actually governs

An MCP registry is more than a list. It is a system of record for approved servers, their provenance, versions, connection details, and authorisation state. In practice, that lets platform and security teams separate published tools from sanctioned tools, and connect identity controls to the approval state of the server itself. Without that structure, governance falls back to tickets, spreadsheets, and informal Slack knowledge, which are not auditable and do not scale across multiple engineering teams.

Practical implication: treat the registry as a governance control, not a convenience feature.

How identity controls intersect with MCP access

MCP servers sit in the path between AI agents and enterprise data, so identity decisions must apply to both the caller and the tool endpoint. Authentication proves who is asking, but authorisation must also constrain which servers may be used, under what conditions, and with what metadata. When the registry integrates with identity providers, teams can assign role-based views and approval states without duplicating policy across systems. That is how governance and velocity can coexist without turning every agent connection into a special case.

Practical implication: bind MCP approval state to identity policy and lifecycle review.


NHI Mgmt Group analysis

Shadow MCP is a governance debt problem, not a tooling anomaly. The article’s core finding is that enterprises are already undercounting active MCP servers by large margins, which means the control plane is being built after deployment, not before it. That pattern is familiar in cloud sprawl, but MCP compresses the timeline because AI agent tooling can spread across teams in days. The practitioner conclusion is that untracked MCP estates should be treated as a first-order identity governance issue, not a peripheral engineering issue.

The real failure mode is an unowned identity boundary around AI tool access. Each MCP server effectively introduces a new access surface for agents, but the article shows those servers are often connected to production systems without catalog, policy, or organisational visibility. That is a broken governance assumption: if a tool exists, someone owns it, approves it, and can recertify it. The implication is that AI agent programmes need a governed system of record before access reviews or audit trails can mean anything.

Shadow MCP registry gap: the absence of a single approved source of truth is what turns MCP growth into security debt. The article makes clear that teams are already using multiple upstream sources, ad hoc internal lists, and cluster-discovered endpoints. That creates parallel truths about which tools are approved and which are merely reachable. The practitioner conclusion is to collapse those parallel states into one authoritative registry before access drift becomes normalised.

Lifecycle governance matters as much for MCP servers as it does for service accounts. The article’s point about patched or retired servers continuing to run maps directly to identity lifecycle failure. If approval state, versioning, and retirement are not tied together, then deprecated servers remain usable long after the organisation thinks they are gone. The practitioner conclusion is that MCP governance must include registration, change control, and retirement as one lifecycle, not three disconnected tasks.

MCP governance will increasingly separate mature AI programmes from experimental ones. The article signals that the safe-path problem is architectural: if approved tools are slower to find than unapproved ones, users will route around governance. That is why identity teams should expect MCP registry adoption to become a marker of AI operating maturity. The practitioner conclusion is that speed and control are now coupled, and the registry is the mechanism that makes them compatible.

From our research:

  • 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.
  • Another finding shows 80% of organisations report their AI agents have already performed actions beyond their intended scope, including unauthorised system access, sensitive data sharing, and credential exposure.
  • That is why OWASP Agentic Applications Top 10 is a useful next reference for teams deciding how to govern autonomous tool use.

What this signals

Shadow MCP should be read as an early warning that AI tool governance is moving from architecture choice to programme maturity. Teams that still rely on informal discovery will keep discovering access after deployment, which means their recertification and audit processes will always trail reality.

Registry-first governance: the control point is shifting from the agent to the directory of allowed tools. Once that happens, security teams need to think in terms of approved endpoints, lifecycle state, and owner accountability rather than just agent permissions.

With 1 in 4 organisations already investing in dedicated NHI security capabilities, the market is signalling that identity governance for machines and agents is becoming a formal programme, not an edge case.


For practitioners

  • Inventory every MCP server and connector Run discovery across developer environments, clusters, and shared repositories to identify undocumented MCP servers, then reconcile them against approved records and application owners. Start with the production databases, customer data systems, and SaaS integrations most likely to carry real business risk.
  • Establish a single approved registry Make the registry the system of record for published, approved, and retired MCP servers. Require each entry to carry owner, version, approval state, and connection metadata so security, platform, and audit teams can use the same source of truth.
  • Bind MCP approvals to identity controls Integrate registry access with your identity provider so only authorised teams can publish, modify, or consume servers. Use role-based views and approval states to ensure governed access is enforced at the point of discovery, not after deployment.
  • Tie lifecycle events to retirement and patching Treat server updates, deprecations, and removals as lifecycle events that trigger notification, reapproval, and verification. If a server is retired or patched, the registry should reflect that change immediately so stale endpoints do not remain usable.

Key takeaways

  • Shadow MCP turns AI tool sprawl into identity governance debt because enterprises cannot govern what they cannot reliably enumerate.
  • The practical control is a single approved registry that ties discovery, authorisation, provenance, and lifecycle state to one system of record.
  • If approved MCP access is slower than unsanctioned alternatives, governance will be bypassed, so the governed path has to be the easiest path.

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 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10A1Shadow MCP expands agent tool access and governance risk.
OWASP Non-Human Identity Top 10NHI-03Undocumented servers create unmanaged non-human identity risk.
NIST CSF 2.0PR.AC-4MCP access should be governed through least privilege and authorisation.
NIST Zero Trust (SP 800-207)MCP registries support explicit trust decisions for tool access.
NIST SP 800-53 Rev 5AC-6Least privilege is central to limiting MCP server exposure.

Map MCP discovery and approval to agent tool governance and restrict access to approved servers only.


Key terms

  • Shadow MCP: Shadow MCP is the set of MCP servers and tool endpoints that exist outside organisational visibility, approval, or lifecycle control. In practice, it creates an identity governance gap because AI agents can reach resources the security team cannot reliably enumerate, recertify, or retire.
  • Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.
  • Governance Debt: The accumulation of unresolved identity control weaknesses created when teams prioritise speed over lifecycle design. In NHI environments, it shows up as accounts with unclear ownership, undocumented purpose, stale credentials, and no reliable retirement path, all of which make later security work harder.
  • Lifecycle State Management: Lifecycle state management is the process of moving an identity through defined statuses such as approved, active, suspended, and retired. For AI agents, the state determines whether the agent can act, and every transition should be tracked so access and accountability stay aligned over time.

What's in the full article

Stacklok's full blog post covers the operational detail this post intentionally leaves for the source:

  • How the MCP Registry Server aggregates public registries, internal Git-based lists, and Kubernetes-discovered servers into one catalog.
  • How identity provider integration and virtual registries support role-based access and workflow-specific views.
  • How automatic discovery surfaces connection URLs, available tools, and approval status for servers running in Kubernetes.
  • How the registry supports patching, updates, and retirement so deprecated servers do not remain invisible.

👉 Stacklok's full blog post covers the registry model, discovery workflow, and governance mechanics in more detail.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org