Est.

Why Bolt-On RBAC Cannot Satisfy Regulatory Audit Requirements for MCP Tool Access

Access roles show who could act, not what agents actually did.

· 8 min read
Cover illustration for “Why Bolt-On RBAC Cannot Satisfy Regulatory Audit Requirements for MCP Tool Access”
Security Policy · November 20, 2026 · 8 min read · 1,892 words

An enterprise MCP gateway needs to enforce authorization and gather audit evidence for every tool call, with identities tied to the identity provider already in use, such as Okta or Entra ID. Bolt-on RBAC cannot supply that evidence if it records only who received access. The distinction is between permission to act and an accountable record of what an agent actually did.

How MCP tool access works without a gateway, and what that leaves uncontrolled

Kumar et al.’s 2026 paper, A Gateway Architecture for Enterprise MCP Authentication, describes how large organizations went from zero to dozens of MCP servers built by their own teams within a year. Each team implemented authentication independently. Some servers had no authentication, others used API keys, and others used full OAuth, leaving no consistent way to authorize callers or offboard a departing employee across the fleet. In a direct client-to-server model, each tool must implement its own access controls because no central checkpoint verifies agent identity and applies fine-grained permissions.

That fragmentation also prevents a coherent account of activity. A server may know that a credential was accepted without contributing to a correlated record of the user, agent, and actions across other servers. Locally hosted servers further obscure activity when they sit outside centralized access controls and audit tooling. Security teams then lack both an authoritative view of tool use and a reliable way to revoke access throughout the environment. Adding roles looks like a sensible response to this disorder, but it addresses only part of it.

What bolt-on RBAC actually does — and where it stops

Role-based access control assigns permissions to roles, with users or agents receiving those roles at provisioning time. The target of this critique is narrower than RBAC itself. It is a bolt-on arrangement that grants access without tying authorization decisions and audit records to each tool call. Static roles can work reasonably well for low-risk, read-only tools whose possible actions are known in advance. They set limits on which resources a caller may use.

The difficulty begins when an agent can write, mutate data, or chain calls across services. A role may legitimately permit each action while the combined sequence achieves something no user explicitly authorized. Authentication does not resolve that ambiguity. Establishing that Alice signed in does not establish that every decision an agent makes on Alice’s behalf falls within its delegated task. Agentic authorization must also account for the resources, constraints, and specific action covered by that delegation.

Kumar et al. identify the distinction between interactive users and automated non-user agents as an architectural problem. Interactive use needs a traceable delegation chain, while automated activity needs an audit record that distinguishes the agent from the delegating user. A role alone cannot supply that context. Even a correctly maintained provisioning record establishes that access was granted. The provisioning record is not a tool-call record, and regulatory traceability requirements make that distinction consequential.

What regulators actually require from an MCP audit trail

The EU AI Act sets requirements for high-risk systems, so the same obligations do not automatically apply to every MCP deployment. Its traceability requirements for standalone Annex III systems take effect from December 2027. For those systems, Article 12 addresses record-keeping through purpose-driven event logging that helps trace how the system behaved. The access grant is only the beginning. A record of who could use a system cannot, by itself, explain how that system behaved.

Articles 19 and 26(6) require providers and deployers to retain automatically generated logs for a period appropriate to the system’s intended purpose, with a minimum of at least six months. Article 13 requires enough transparency for deployers to understand outputs and use them properly, while Article 14 requires human oversight. These provisions serve related but distinct purposes. Retention preserves evidence, transparency makes outputs interpretable, and oversight concerns the ability of people to supervise operation. Keeping an access list for six months does not turn it into evidence of agent behavior.

For MCP tool access, useful evidence includes the original prompt with its timestamp, the sequence of tools invoked, their parameters and return values, and the data affected. Output sensitivity classification shows how sensitive the agent’s output is. These are implementation criteria. Article 12 does not explicitly require verbatim prompt capture or prescribe a particular tool-call format, while the NIST AI RMF supports the broader traceability case. Nor should an operational trace be confused with automatic access to a model’s internal reasoning.

Evidence also needs protection against alteration after the event. NIST 800-53 AU-9 / AU-9(3) and ISO 27001 A.12.4.2 / 8.15 address audit-information protection, informing choices such as cryptographic signing or append-only storage. Logging alone does not establish tamper-evidence. RBAC applied only at provisioning time cannot satisfy these audit needs because it does not record the actions, sequence, outputs, or data effects that make behavior traceable and oversight practical.

Why runtime tool calls create an audit surface that provisioning-time controls cannot see

Diagram: What a Gateway Captures That Provisioning-Time RBAC Cannot. Visualizes: Show two parallel columns contrasting what provisioning-time RBAC records versus what a centralized MCP gateway captures per tool call.

An agent’s action sequence is determined at runtime by a model, so the sequence cannot be fully described by the role assigned beforehand. The GitHub MCP incident illustrates the difference. An attacker placed hidden prompt-injection instructions in a GitHub Issue in a public repository, and a Claude agent encountered them while reading the content. The instructions redirected it to access tokens in a separate private repository and exfiltrate them through a subsequent tool call. Every individual call fell within the agent’s granted permissions.

The failure was in the composition of authorized actions. RBAC could recognize that the agent was allowed to read and invoke tools without establishing that this sequence served the user’s request. Kong’s security advisory documents a related indirect prompt-injection vulnerability in the Kong Konnect MCP server that could cause unintended API requests using the caller’s token. That is a confused-deputy failure, in which legitimate authority is redirected toward an unintended purpose. A valid credential is not a certificate of good intentions.

Cross-server connections make that distinction harder to police through isolated permissions. A single MCP host can connect an agent to dozens of servers through parallel client sessions, including file systems, GitHub, Slack, Stripe, and database connectors. A malicious server can inject tool descriptions that alter the agent’s understanding of adjacent trusted tools. The audit surface therefore spans more than one server. Without a record that links calls in sequence, investigators may see that each call was allowed but miss how the calls together led to the outcome.

An agent can remain within its permissions while looping until it overwhelms backend database connections or exhausts external API quotas, affecting adjacent teams. Session budget caps address this problem in a way role assignments do not. Shadow MCP servers compound the visibility gap because they have not passed security review, access policy, or formal approval and can leave no structured trace linking an action to a user request.

How to enforce access control and audit logging at the MCP gateway layer

A centralized MCP gateway places authorization and evidence capture on the path of each tool invocation before it reaches the backend. RBAC remains part of the design. Roles inform a per-call decision. Kumar et al. report a production deployment where one gateway sits in front of every downstream MCP server, so they share a layer for aggregation, governance, and authentication.

In this architecture, the gateway terminates authentication so agents do not hold raw credentials for backend systems. It enforces per-tool policies, rate-limits invocations, records activity, and translates between transports. Capturing the decision where the call is enforced binds evidence to the actual action, instead of leaving compliance teams to reconstruct it later from disconnected application logs. Recording the result then connects authorization to what the tool returned.

The MCP 2026-07-28 specification formalized Enterprise-Managed Authorization as an official extension after it had already gone stable in June 2026. EMA uses the Identity Assertion JWT Authorization Grant, or ID-JAG, to bring enterprise identity assertions into the authorization process. The enterprise IdP governs which MCP servers employees can reach, while each resource’s authorization server still validates the assertion and mints its own tokens. EMA adds to OAuth. That division preserves resource-level authorization while reducing the sprawl of separate interactive consent flows.

An identity-aware gateway can validate the resulting cryptographic identity evidence and enforce policies for both the user and agent. Short-lived, just-in-time credentials limit how long authority remains available, while OAuth 2.1 with PKCE and Token Exchange under RFC 8693 support the authorization design described in the notes. Separate agent and user claims preserve the delegation relationship in the audit record. Effective authority is the intersection of their permissions, never the union. An agent’s permissions must not enlarge those of the user who delegated the task.

At the edge, the existing IdP, such as Okta or Entra ID, supplies the identity foundation for short-lived agent tokens. At the gateway, token validation, policy enforcement, and per-tool authorization occur before each call. The translation layer exposes legacy APIs, databases, gRPC services, and SaaS applications through MCP servers with declared schemas, making their operations available to governed tracing. Observability tracks the calls through latency metrics, token accounting, and anomaly detection, but tamper-evident storage and output classification must be built in because tracing alone cannot be assumed to provide them.

Shadow MCP governance extends this same design to previously unmanaged traffic. Platform teams make the gateway the only ingress point for tool servers, then use firewall rules and service mesh policies to send traffic through the managed control plane. Previously unreviewed servers enter the official registry, preserving useful work while bringing their calls into the audit trail. Once routed through the gateway, those calls become visible to the same identity, policy, and logging controls as the rest of the fleet.

What enterprises need to verify before treating their current setup as audit-ready

The practical assessment should begin with identity binding. Does each tool-call record identify the accountable human, where authority was delegated, as well as the agent that acted? A service account alone is not enough. Role-scoped access should flow from the enterprise’s existing identity source, whether Entra ID, Okta, or another SAML/OIDC provider, rather than creating a parallel identity system for agents. The record needs to preserve that relationship through the call.

Does it capture every invocation, including calls by sub-agents, with parameters and return values, or just the top-level request? A trace of every invocation lets an investigator reconstruct an action sequence, while a record of only the top-level request establishes only that a session occurred. The gateway should produce evidence at its enforcement point as it applies policy to each action. Connecting the trail to the observability and compliance tooling already in use puts it where security teams already look and keeps it out of a separate silo for agents.

Are logs written to an append-only or cryptographically signed store that the application layer cannot modify afterward? A detailed trace that the application can rewrite has a different evidential value from one protected against alteration. Retention must also meet the requirements that apply to the system.

Is there a known inventory of every MCP server reachable by agents, and does each route through the governed control plane? An excellent audit trail for the approved path cannot account for calls that bypass it. A deployment is audit-ready only within the scope it can actually demonstrate. Accountability has to keep pace with what agents can do.

Sources

  1. [2608.10760v1] A Gateway Architecture for Enterprise MCP Authentication: Unifying Heterogeneous Auth, Identity Delegation, and the User / Non-User Persona Problem
  2. AIP: Agent Identity Protocol for Verifiable Delegation Across MCP and A2A
Filed underSecurity Policy

More in Security Policy