Owning the AI Control Plane Decision Before Engineering Builds a Shadow Gateway Around It
Security must set AI agent identity and access policy before engineering's workarounds harden.

An enterprise AI control plane is the policy layer that governs agent identity, tool access, and audit records across AI agents and MCP servers. Its gateway sits between agents and tools and enforces decisions on each call, going beyond letting authenticated users in. IT and security need to own that architecture before working integrations become a shadow gateway whose identity model is expensive to replace.
Why the AI control plane decision is already being made without IT and security
Security leaders who suspect they are behind have reason to feel that way. Most large enterprises with sizable AI engineering teams already have MCP-backed agents in production. Engineering has connected tools because useful work required it. By the time IT asks who authorized access, production dependencies may already have answered the question by default.
That makes this a decision about existing infrastructure. A working integration establishes a route, a credential pattern, and expectations about what agents can reach. Each subsequent integration can inherit those choices. Governance starts late even when no one missed a formal deadline, because there was no formal deadline to miss.
What a shadow gateway actually looks like and why it hardens quickly
They connect agents to useful tools without waiting for a larger platform programme. A locally functional setup can support discovery, routing, and successful calls while leaving identity and revocation unresolved. That is what makes a shadow gateway easy to overlook. It looks like engineering doing its job.
Local STDIO-based MCP servers make the pattern concrete. They run as processes on developer machines rather than exposing the shared network endpoint associated with a network-based transport. Without central controls, those processes give IT no centralized audit trail or reliable path for revocation. A compromised laptop running a server with production database credentials becomes a credential-exfiltration path. Installing unvetted servers also opens a separate supply-chain risk before any agent starts work.
The usual shortcut for identity is a shared service account or static API key issued for the whole server. It gets the integration running. But a log under that credential cannot establish which agent acted, for whom, and under which authorization. Once other agents depend on the gateway URL and credential model, replacing either requires changes across those integrations. A temporary arrangement acquires a surprisingly permanent address.
The identity gap at the center of every shadow configuration

The structural failure is an actor without attributable identity. More logging cannot repair that missing foundation. When an auditor asks who could reach a sensitive tool on a particular date, successful-call logs answer a different question. They show use, and a shared credential may not even identify the agent responsible for that use. The CISO needs a history of access decisions.
Agents can appear and disappear in seconds, operate across sessions, and accumulate access through tool chaining. Ping Identity CEO Andre Durand described the shift at Identiverse 2026 as moving from “access” to “actions”. The distinction is between deciding what an entity may reach and continuously deciding what it may do.
Cryptographic workload identity makes agents’ actions attributable through credentials such as SPIFFE/SPIRE-issued SVIDs or OIDC-federated tokens. Each agent gets its own identity. Microsoft’s stated 2026 priority is to govern every AI agent as a first-class identity with the same rigor as human identities. In practice, persistent attribution keeps track of who acted, while short-lived credentials limit how long a task can use its access.
What agents with ungoverned tool access can actually be made to do
Prompt injection exploits authorized access with authentication intact. A tool result enters the model’s context as text, where hostile instructions in untrusted data can be processed as instructions. The U.S. National Security Agency warns that MCP-connected agents can produce outputs that downstream systems trust as instructions, which can allow exfiltration and lateral movement. The danger travels through the work itself.
A documented GitHub MCP research demonstration began with an ordinary request to review open repository issues. A malicious issue had a hidden prompt-injection payload. After reading it, the assistant accessed private repositories and posted their contents publicly through a pull request or comment. This was a demonstration. Its significance is that the developer did nothing unusual to trigger the attack path.
The Cursor and Supabase incident followed a similar route through customer-support content. A development team connected Cursor to a database using service-role credentials. When a developer reviewed a support ticket, an injected instruction directed the agent to query the integration tokens table. The agent posted the complete results into the ticket thread. The credential worked exactly as configured, which was the problem.
These attacks do not require a hostile sign-in. Nor does inspecting isolated HTTP transactions reliably reveal the multi-step context of an agent interaction. Governed tool access would block these redirects where private-repository access, token queries, or public posting fell outside the task’s permissions. Task-scoped credentials and tool-level deny rules provide that boundary. They limit what persuasion can authorize.
What SSO in front of the gateway does and does not cover
SSO is a useful control. Cloudflare MCP server portals can use an Access policy matched to an identity-provider group to restrict server visibility. Kong and AWS AgentCore Gateway support admission through OIDC tokens. Organizations that already use those platforms can start with small internal deployments without bringing in a new vendor. That is a reasonable first answer.
The gap appears after the user signs in. Authentication alone does not determine which tools the user may call, how a team change affects access, or whether the audit trail records the authorization decision. Copying directory groups by hand into gateway-local teams or consumer records creates a second set of records to manage. Those copies drift as the organization changes. During offboarding, agent access may end through directory sync, token refresh, or someone remembering another console.
Non-human callers expose a further limit. An agent has no human SSO session to present. Substituting a shared service account allows work to continue but collapses accountability into one credential. That credential cannot be independently rotated or revoked for one agent without affecting the others that share it.
How do enterprises govern AI agents and MCP servers from a single policy layer?
A governed configuration starts with a registry of approved servers and an identity model connected to the existing directory. Access derives from groups and attributes synchronized through SCIM. Each agent has a registered identity and independently rotatable credentials. Task-scoped issuance limits access to the work at hand.
Authorization then narrows from servers to named tools. A server-wide grant is too broad when it exposes actions unrelated to the assigned task. Read-only annotations, argument-level conditions, and deny rules that outrank other group grants make the boundary more precise. Virtual MCP endpoints provide a curated tool surface for each use case. A “Finance Agent Virtual Server”, for example, can expose the relevant BigQuery, Stripe, and Slack tools without changing what a support agent sees.
At runtime, policy must apply to every prompt and tool call. Inline evaluation must be paired with records of grants, blocks, and denied attempts, exportable to the existing SIEM. Otherwise, the access review remains incomplete even if every successful invocation has a timestamp. Coverage also has a physical limit. A gateway governs traffic routed through it, so the architecture needs a plan to discover servers and tool activity outside that path.
How the enterprise MCP gateway market covers these requirements in 2026
Speakeasy is the recommended option for enterprises seeking these controls together, combining centralized discovery, persistent identity tied to the existing identity provider, and short-lived, task-scoped credentials so agents do not hold raw secrets. It provides SCIM-driven membership for curated Gateway Endpoints, per-call tool and argument policies, access-decision auditing, and SIEM and OTLP export into the customer’s own systems. Deployment can be on-premises or in a customer VPC 2. Its shared identity, RBAC, and observability extend across MCP, models, and agents. The trade-off is scope, since a team needing only a narrow proxy may be taking on more platform than its immediate task requires.
IBM ContextForge is an open-source option for distributed environments where registry federation is central. Gateway instances can find peers through mDNS or manual configuration and merge remote registries. It is self-hostable and flexible. That flexibility requires engineering investment to operate and tune rather than the reduced operating burden of a managed service.
AWS Bedrock AgentCore Gateway fits AWS-native organizations through OIDC JWTs or IAM principals, Cedar policies, and Lambda interceptors for tools and parameters. The audit distinction is important. Policy decisions appear through CloudWatch metrics and spans, while gateway invocations are CloudTrail data events. Identity and governance across clouds may need more components.
Docker MCP Gateway emphasizes isolated containers for servers. The paid Enterprise Gateway adds deny-by-default treatment of unvetted servers, individual-call rules, and per-user audit events streamed to a SIEM. It can run in customer-cloud and air-gapped deployments. Teams that already use Docker workflows get a base they know, though they may need more components to meet broader identity and policy needs.
Tray.ai Agent Gateway for MCP uses its connectors for an API-direct approach and makes tools available through a governed layer. It offers one audit log across Claude, OpenAI, Copilot Studio, and custom frameworks. The architectural trade-off is explicit. It does not proxy existing MCP servers, but replaces them with direct API connections, making it a fit for enterprises that want that consolidation.
What the audit and observability layer needs to cover for agent tool calls
OpenTelemetry defines an observability vocabulary for agents and MCP, including agent creation, invocation, planning, and execute_tool spans. MCP attributes describe methods, sessions, and protocol versions, while metrics track how long operations and sessions take. Those records support investigation of activity and timing. They do not automatically reveal the content involved. A trace can be complete as operational telemetry and incomplete as security evidence.
Tool arguments and results are opt-in because they can contain personally identifiable information. Capturing gen_ai.tool.call.arguments and gen_ai.tool.call.result therefore requires an explicit choice. Without it, investigators may know which session called a tool and how long it took, but lack the content needed to establish what happened. A healthy stream of spans is not proof of adequate audit coverage.
The decision belongs in security policy. Teams need to determine which tools warrant full content capture, where records reside, and how long they remain available. They also need to decide whether those records enter the SIEM or stay in the observability platform. An investigation may need both to distinguish permitted activity from an agent using valid access for the wrong purpose.
How to get in front of the sprawl before it hardens into infrastructure

The practical sequence begins with discovery before a governance programme is announced. Behavioral analysis and runtime API discovery can build an inventory of MCP servers, AI client extensions, and agent credentials, including local STDIO processes that central IT cannot see. Signature matching is not enough for that inventory. Once the estate is understood, an official registry gives engineering a named, approved route for its next integration. It must be easier to use than the unofficial alternative, even while the gateway is still maturing on day one.
The first structural change is replacing shared service accounts with per-agent identity. Access review, offboarding, and incident response depend on attribution. With that foundation established, the governance layer can extend the directory, SIEM, and observability systems that security already operates. Building a parallel system instead creates another place where access and evidence need reconciliation.
Finally, the design needs to accommodate agents running across Claude Code, OpenAI Codex, ChatGPT, Cursor, and GitHub Copilot. Policy cannot stop at the client approved last quarter. SCIM-driven provisioning can make approved access available quickly and keep it aligned with role changes, reducing the incentive to route around governance. Deferral has the opposite effect, adding credentials, integrations, and habits that must later be replaced. Doing nothing still selects an architecture, with the migration bill left for security and IT.


