Inside an Enterprise AI Governance Layer for Agentic Skills and MCP Servers
A governance layer enforces policy before agents access enterprise systems.

An enterprise AI control plane governs AI agents and MCP servers through a single policy layer that enforces identity, scoped access, threat detection, and observability where agents touch enterprise systems. It is an execution architecture. Safe deployment depends on controlling what agents can do before a tool call becomes an enterprise action.
Why MCP creates a governance gap that existing enterprise security tools cannot close
The Model Context Protocol makes it easier for agents to connect to enterprise tools, but compatibility says nothing about authority. MCP is a vendor-neutral open standard stewarded by the Linux Foundation, with support from OpenAI, Google DeepMind, Microsoft Copilot Studio, and AWS. Its appeal is straightforward. The “USB-C port for AI” analogy describes both the convenience and the exposure, because any compatible agent can connect to any compatible server. A standard plug is not a security clearance.
MCP servers routinely aggregate credentials for multiple enterprise systems, so a compromised server can expose more than its own functions. A developer connecting a coding assistant to a staging database gets an immediate productivity gain. Without governance, that connection may have no credential inventory, least-privilege scoping, or audit trail. This is like shadow IT, but the software that goes untracked can act.
An API gateway typically authorizes a client to reach an endpoint, while agentic access depends on the particular agent, tool, parameters, delegated user, and current context. Static keys and fixed IP ranges do not express those relationships. WAFs do not understand agent reasoning chains, DLP does not inspect LLM context windows, and CASB cannot attribute an agent-originated tool call to its human user. Tool poisoning through forged descriptions, context leakage across sessions, and tool shadowing that overrides trusted tools exploit this gap.
What a purpose-built MCP governance layer is actually doing — and what it is not
A purpose-built governance layer sits between AI clients and enterprise systems, where it can enforce a decision before an action proceeds. Its control plane defines policy, while in-path checks apply that policy to agent traffic. The placement is essential to its function. A dashboard can reveal that credentials escaped, but it cannot prevent an exfiltration that has already happened.
A complete implementation intercepts four distinct moments. Authentication establishes who is calling, and authorization determines what that caller may do. Execution checks look at the parameters being passed, while return-path checks look at the data leaving the system. These are separate decisions, even within one interaction. A caller with authorization can pass unsafe parameters, and a tool the caller is allowed to use can return data the agent should not receive.
Centralization therefore means more than collecting alerts in one interface. It means that agents and workflows use enterprise tools under the same policy authority, with no need to rely on each developer’s local configuration. That authority must still work as the protocol changes. The architecture rests on five connected components, namely credential isolation, tool-level access control, runtime threat detection, full trajectory observability, and gateway behavior that stays current with the MCP specification. Each addresses a different way that an apparently valid connection can become an unsafe action.
Zero-secret credential handling and dynamic agent identity at the gateway
Credential isolation separates an agent’s authority from possession of the secret that enables it. Hardcoded service tokens in local agent configurations break that separation because the process using them can reach the production credentials. A governed gateway instead intercepts tool execution and injects authorized credentials at runtime. The agent does not need the raw production secret. Neither does the LLM context window, removing that route for credential leakage without preventing authorized work.
This model depends on an identity attributable to the agent itself, distinct from the human it represents and from a shared service account. That identity needs its own lifecycle. The June 2026 Enterprise-Managed Authorization extension formalizes enterprise identity providers as the authority for MCP connection access, determining which clients may reach which servers. It does not cover runtime per-action authorization.
Microsoft Entra Agent ID reached general availability in April 2026. Its agent identity is a specialized service principal with no credentials of its own, acquiring tokens through its blueprint and integrating with Conditional Access, Identity Protection, and Privileged Identity Management. Okta for AI Agents reached general availability on April 30, 2026, with Agent SSO reaching general availability on August 24, 2026. Okta works with non-Okta identity providers, so the existing human identity system can stay the system of record while Okta adds agent lifecycle security. Both let enterprises use their identity infrastructure for non-human actors without a separate human directory.
Fine-grained, tool-level RBAC tied to enterprise identity providers
Permission to reach an MCP server does not establish permission to invoke every tool that server exposes. Role-based access control must therefore operate at tool-call granularity, scoped to the user session on whose behalf the agent acts. Read-only access for auditors illustrates the distinction. A server may be approved for their use without its write operations being approved.
Tool visibility is also part of authorization. A gateway can determine which tools a caller is allowed to discover, reducing the opportunity for an agent to be steered toward an unauthorized tool. Discovery and invocation are separate control points. Server allowlists restrict the available infrastructure, while per-tool RBAC restricts the actions available within it. Version pinning and supply chain auditing address the adjacent risk that an approved tool arrives through a compromised plugin.
Microsoft’s June 30, 2026 MCP governance guidance calls for non-human agent identities with conditional access policies and tenant-level allowlists for approved MCP servers. These controls connect agent permissions to enterprise identity decisions rather than treating a local configuration file as the authority. Adoption remains uneven. Okta’s AI Agents at Work 2026 report found that only a minority of organizations apply the same security controls to AI agents as they do to people.
Real-time threat detection built into the execution path, not bolted on afterward
Access control answers whether a caller may use a tool, leaving the safety of the requested action a separate question. An agent with valid credentials can still follow malicious instructions embedded in untrusted content. Identity does not make instructions trustworthy. Prompt injection exploits this distinction by redirecting an agent during execution, potentially turning an allowed tool into a path for prohibited actions. In July 2025, a coding platform’s agent wiped a production database, showing how an agent’s mistakes can damage the systems it works on.
The OWASP Agentic AI Top 10 identifies input sanitization, guardrails, deny rules for credential paths, and MCP pre-execution checks as primary controls. Inspection must also cover what leaves the system. Data can escape through tool calls, API writes, or browser sessions, making egress-tool deny rules and write-disable defaults on connectors relevant safeguards. Resource exhaustion needs a different set of controls. Rate limits, token budget caps, session timeouts, and loop detection constrain unbounded calls and excessive compute.
Product architecture determines where those checks occur. NeuralTrust TrustGate uses a Security Engine to check tool-call content inline and reason across a session as well as check authorization. Lunar MCPX has an open-source core, and its DLP capability comes through integration with the separate Lunar AI Gateway. That distinction affects the scope of a deployment. The EU AI Act’s transparency and logging obligations, enforceable from August 2, 2026, also make runtime controls relevant where MCP-mediated actions fall within high-risk uses.
Full observability across agent trajectories, tool calls, and cost — as a prerequisite, not a reporting layer
HTTP metadata can show that a request succeeded without explaining why an agent made it. Agentic observability needs the full trajectory, including intent, tool choices, blocked attempts, data usage, and outcomes. Attribution is the link that makes these records useful. An audit must connect an action to the agent, the user it represented, the data involved, and the time it occurred. Otherwise, a successful request can remain an unexplained enterprise action.
Dynamic end-to-end traces supply the sequence, while latency, cost, success rates, and token usage describe its operational behavior. Logs enriched with lineage, quality signals, and policy verdicts connect that behavior to governance decisions. Cost belongs in this picture. Unbounded token usage can be a sign of resource exhaustion or behavior outside expected parameters, so enforcing budgets and detecting anomalies reliably requires spending to be traced to agents, users, and workflows.
The 2026 MCP roadmap identifies audit trails as an enterprise-readiness priority, acknowledging a gap the governance layer must fill. The EU AI Act requires high-risk AI systems to generate operation logs automatically, making usable, immutable audit records more than an instrumentation preference. Evidence needs protection of its own. The arXiv Governance-as-Code preprint raises the tension that a log proving compliance can itself contain the data being protected, creating a privacy concern under the Act’s data protection requirements. Log design must account for that exposure without abandoning the record.
How the MCP specification’s pace of change strains in-house governance at enterprise scale
An internal gateway is not a finished asset once it authenticates its first agent. Keeping it running means tracking changes to authorization, how transport works, what audits require, and new attack patterns. The target keeps moving. The June 2026 authorization extension and the roadmap’s enterprise-readiness priorities show why work on compatibility must go hand in hand with work on governance.
This creates an ownership problem as well as an engineering problem. Separate tools for deployment, authentication, and monitoring need code to join them together and a team to maintain that code so the controls keep working together. Security research adds another maintenance stream. Tool poisoning, context leakage, and tool shadowing require more than protocol conformance, because supporting a valid exchange is not the same as recognizing an unsafe one.
Open-source options make an internal approach possible. Microsoft MCP Gateway is native to a container orchestration platform and supports Entra ID bearer-token authentication with application roles for servers and tools, while MCPX also offers an open-source core. Availability is not the limiting factor. Enterprises with strong platform engineering teams may be able to sustain the work, but most must weigh it against their primary product responsibilities. The case for a dedicated platform is an opportunity-cost argument.
How do enterprises choose a single policy layer for AI agents and MCP servers
A complete platform must combine credential isolation, tool-level RBAC, runtime inspection, trajectory observability, and current MCP behavior in the execution path. The lesson for buyers is to test the isolation model first. A platform that prevents an agent from reaching systems outside its allowed surface provides a different guarantee from one that detects a crossed boundary afterward. Identity depth then distinguishes lifecycle-managed agents with conditional access from shared service accounts with rotated keys.
Runtime inspection deserves its own test, separate from authentication. The test must show whether the platform checks tool-call content and session context or checks permission only at the start. Deployment sovereignty is another dividing line. Regulated organizations may need to keep audit data within their own infrastructure, while MCP client compatibility affects whether the gateway accepts any compatible client or needs configurations that limit which agents can use it. These properties are more useful than a universal vendor ranking.
ServiceNow AI Control Tower offers agent deviation detection with automatic action blocking, per-agent kill switches, and an AI Gateway that proxies MCP connections with OAuth 2.1 validation. Its tracing includes traces of LLM calls generated by an observability tool. Microsoft’s gateway is an open-source option native to a container orchestration platform with Entra authentication and server- and tool-level roles, so it is a natural choice for Microsoft-native estates that can take on the maintenance. Kong AI Gateway supports MCP through its AI MCP Proxy plugin, with rate limiting, semantic caching, OpenTelemetry tracing, and per-tool ACLs. It does not provide managed MCP server hosting or a server registry.
The minimum baseline is less negotiable than the vendor choice. Microsoft’s guidance requires approved-server allowlists, non-human identities with conditional access, runtime output inspection, and mandatory human approval before high-impact or irreversible actions. Any chosen platform must clear that baseline within the organization’s threat model.


