TL;DR: MCP governance determines who can call which servers, with what permissions, and under what accountability, because unmanaged configurations can turn AI coding workflows into shadow automation and hidden production infrastructure, according to Knostic. The identity layer, not just the protocol, now defines whether MCP is governable or merely connected.
At a glance
What this is: This is an analysis of why Model Context Protocol governance now behaves like an identity problem for AI agents, with shadow automation emerging when permissions and oversight are left to local tool settings.
Why it matters: IAM, IGA, PAM, and NHI teams need to treat MCP as an enforceable access layer because unmanaged agent and IDE connections can bypass ownership, logging, and policy controls.
Context
Model Context Protocol standardises how AI agents, IDEs, and developer tools reach files, APIs, and services. That convenience becomes a governance problem when access decisions move from centrally managed identity controls into local configuration files, ad hoc approvals, or individual experimentation.
For NHI and AI agent programmes, MCP is not just an integration layer. It becomes an identity boundary that determines who or what may call a server, what action scope is allowed, and whether the resulting behaviour is attributable and auditable.
When those decisions are not tied back to policy, ownership, and review, organisations create shadow AI automation. The article’s central point is that MCP governance is really about converting hidden tool access into governed identity behaviour.
Key questions
Q: What breaks when MCP permissions are left to local IDE settings?
A: Local MCP permissions break governance because they fragment ownership, obscure which identities can reach which servers, and make it impossible to enforce one policy consistently. The result is hidden automation, uneven privilege scopes, and poor accountability when a workflow touches production systems.
Q: Why do MCP servers create new identity risk for AI-native development?
A: MCP servers create risk because they extend delegated access from the model into repositories, data, and workflow tools. If the trust path is too broad, the agent can act with capabilities that were never intended for that task. Teams should review those connections as access paths, not just as integration plumbing.
Q: What should organisations do about shadow AI in MCP environments?
A: Organisations should discover unmanaged agents before expanding gateway policy. If an agent is not registered, no amount of RBAC at the gateway will fully govern it. Discovery, registration, and enforcement need to be part of the same operating process so hidden access paths do not bypass the control plane.
Q: How do security teams prove accountability for agent actions through MCP?
A: They need structured audit records that tie each tool invocation back to the human who exercised the authority, along with the tool name, parameters, server, and policy decision. Without that chain, review teams cannot reconstruct what happened or who authorised it.
Technical breakdown
Why MCP becomes an identity control plane
MCP standardises how agents and developer tools request access to services, but standardisation alone does not define trust. The moment an IDE or agent can call internal servers, the protocol starts carrying identity decisions about authorisation, ownership, and accountability. That is why governance has to sit above the protocol, not inside it. Without an explicit model for server approval, scoped permissions, and logged actions, the same connection path that improves productivity can also become an unreviewed access channel into production systems.
Practical implication: Treat MCP servers like governed access points and require identity-backed approval before any tool connection is trusted.
How shadow AI automation forms through local MCP settings
Shadow AI automation emerges when MCP endpoints are added in local IDE settings, personal configuration files, or copied workspace templates without central registration. At that point, the enterprise loses visibility into which agents or plugins are reaching which systems, and policy enforcement fragments by developer, repo, and environment. The technical risk is not only unauthorised access but also drift between intended and actual behaviour. Once those local settings proliferate, they can quietly become part of critical delivery workflows and production infrastructure.
Practical implication: Inventory MCP configurations across IDEs and repos so unmanaged endpoints can be removed before they become embedded in workflows.
Why auditability matters for MCP-backed agent actions
MCP traffic is only governable when connection events, requested methods, resource scopes, and responses are captured centrally and tied to both human and agent identity. Without that trace, investigators cannot reconstruct who caused a command, through which server, and under what context. This is especially important when agents or plugins act across multiple tools in a single workflow, because the action chain otherwise disappears into ordinary developer noise. Governance therefore depends on end-to-end attribution, not just authentication at login.
Practical implication: Log MCP handshakes and high-impact commands centrally so every agent action can be attributed and reviewed.
NHI Mgmt Group analysis
MCP governance is now an identity governance problem, not a tooling preference. The article shows that the real control question is who may use which server, for what purpose, and under what accountability. That moves MCP out of the category of convenience plumbing and into the category of governed access fabric. Practitioners should read it as an identity architecture issue that spans NHI, AI agents, and developer workflows.
Shadow AI automation is the operational symptom of governance failure. When MCP endpoints live in local IDE settings or copied workspace files, the enterprise loses its authoritative view of which identities can reach which tools. That creates hidden automation with no clear ownership, no consistent review cycle, and no reliable offboarding path. The practical implication is that visibility and inventory are not supporting controls here, they are the control plane.
Agent and human identities must be separated inside MCP policy. The article correctly points out that agent tokens should not silently inherit human privileges. That is a classic NHI governance boundary, and it matters because agent behaviour often moves faster and touches more systems than the human user expects. Teams should treat this as a privilege-scope problem, not a generic access-management issue.
Policy drift is the durable risk because MCP configurations change faster than review cycles. A server list, action scope, or logging rule that was correct last month can become wrong after the next workspace change or AI feature rollout. This is where policy-as-code, central registries, and continuous monitoring become identity governance mechanisms rather than optional hardening. The practitioner takeaway is that MCP control has to be synchronised to change velocity, not audit cadence.
Named concept: shadow AI automation. This is the point at which unmanaged agents and IDE extensions become an unofficial control plane inside the enterprise. Once that happens, traditional AppSec and identity guardrails no longer describe the real path of execution, because action authority now lives in hidden tool connections. Practitioners should treat that condition as a governance gap that can spread from experimentation into production.
From our research library:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- 19% of organisations give AI systems dramatically more access than human employees, nearly one in five granting unrestricted privilege, according to the 2026 Infrastructure Identity Survey.
- Read next: MCP Security Guide
What this signals
Shadow AI automation is a governance condition, not just a discovery problem. When teams allow MCP endpoints to accumulate in local settings and copied workspace files, they create an unofficial control layer that identity programmes never see. That means inventory, approval, and offboarding must extend into the developer toolchain, not stop at the IAM boundary.
MCP should be governed like an identity-bearing production interface. The practical shift is to treat each server, tool scope, and action path as something that can be approved, attributed, and retired. For teams already managing workload identity and secrets, MCP extends that same discipline into the AI-assisted developer workflow.
For practitioners
- Establish a central MCP server registry Require every approved MCP endpoint to have an owner, purpose, data classification, and environment scope before it can be used in any IDE or agent workflow.
- Separate human and agent privileges Map agent identities to narrower scopes than the human user behind them, and prevent tokens from inheriting full human permissions by default.
- Scan IDEs and repos for unmanaged endpoints Discover MCP settings in local workspaces, dotfiles, and configuration repositories so hidden servers can be removed before they become embedded in delivery paths.
- Make MCP logs reconstruction-ready Capture handshakes, requested methods, resource scopes, and high-impact commands in a central log stream that can be tied to both user and agent identity.
- Version policy and review drift continuously Store MCP policy as code, validate changes before merge, and compare approved registries against observed usage so exceptions do not accumulate quietly.
Key takeaways
- MCP governance becomes an identity issue when agent and IDE access is allowed to sprawl outside central approval and audit. That turns convenient connectivity into hidden automation with unclear ownership.
- Local configuration drift is the main path to shadow AI automation because it moves access decisions away from governed policy and into individual workspaces. The control failure is visibility, not syntax.
- The strongest defence is to make every MCP server, permission scope, and action path reviewable, attributable, and continuously monitored. If it cannot be owned and logged, it is not governed.
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, OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article centres on agent access scopes and privilege inheritance inside MCP workflows. |
| Recommendation — Bound agent permissions so MCP actions cannot exceed the identity scope approved for each workflow. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | MCP servers and agent tokens need governed authentication rather than local, ad hoc trust. |
| NHI-05 — Overprivileged NHI | The article highlights excessive agent privileges and inherited access across IDE and server paths. | |
| NHI-10 — Human Use of NHI | The article warns that human-driven local setup can silently create unmanaged machine access. | |
| Recommendation — Verify every MCP endpoint and prevent unauthorised server trust from bypassing identity controls. Reduce agent and server scopes to the minimum needed for each MCP-connected task. Prevent developers from creating personal MCP trusts that bypass approved governance and review. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | MCP access depends on managing tokens and credentials used by agents and plugins. |
| Recommendation — Manage MCP credentials with lifecycle controls that support issuance, scope, rotation, and revocation. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The central problem is whether MCP connections are permissioned, scoped, and attributable. |
| Recommendation — Apply entitlement governance to MCP servers, tools, and agent actions as part of access control. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | Unmanaged MCP connections can expose credentials and enable movement across internal tools. |
| Recommendation — Map unmanaged MCP paths to credential access and lateral movement in threat detection and response. | ||
Key terms
- 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.
- Shadow AI: AI agents, copilots, or connected tools operating without full visibility or governance from security teams. Shadow AI becomes an identity problem when those systems authenticate with unmanaged tokens, service accounts, or OAuth apps that can reach production resources.
- MCP governance: MCP governance is the set of policies, controls, and oversight used to manage how AI agents use the Model Context Protocol to reach tools and data. It defines approved connections, authentication, authorization, logging, data handling, and change control so agent actions remain traceable, bounded, and aligned with security and compliance requirements.
- Agent Identity: An agent identity is the set of attributes, credentials and permissions assigned to an autonomous software entity. It is treated as a non-human identity because it can authenticate, act on systems and accumulate access over time, which creates governance, audit and lifecycle obligations similar to other production identities.
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 building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on July 9, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org