Est.
MCP GatewayLong read

Enterprise MCP Infrastructure Vendors Evaluated on Identity Federation Depth and Compliance Logging Fidelity

Two tests decide whether an MCP gateway is enterprise-ready.

· 9 min read
Cover illustration for “Enterprise MCP Infrastructure Vendors Evaluated on Identity Federation Depth and Compliance Logging Fidelity”
MCP Gateway · November 26, 2026 · 9 min read · 2,019 words

Enterprise MCP infrastructure should be evaluated on identity federation depth and compliance logging fidelity. Microsoft Entra Agent ID, Auth0 MCP server support, and Cloudflare’s enterprise MCP architecture address different parts of that requirement. For an MCP gateway with enterprise role-based access controls and audit logging, the key test is whether user permissions control each tool call and the evidence from it reaches customer-controlled infrastructure.

Why MCP infrastructure governance has become a procurement decision, not a configuration choice

Kumar et al. report that teams set up authentication on their own, using everything from no authentication to static API keys and OAuth, which made access hard to govern in production. The resulting fragmentation left no consistent way to authorize callers, attribute actions, or offboard employees across the MCP fleet. Local choices became an enterprise-wide obligation. Buying a gateway decides whether security teams can govern this access channel as well as clean up its configuration.

The control unit also changes. Snowflake’s enterprise MCP gateway guide distinguishes endpoint access from permission for a specific agent to execute a specific tool, with specific parameters, for a specific user. The Enterprise-Managed Authorization extension, which reached stable status on June 18, 2026, makes IdP-controlled authorization part of how the system must be built. Procurement must consequently evaluate two dimensions, namely identity federation depth and compliance logging fidelity.

What an MCP gateway actually controls, and why that changes what governance means

An MCP gateway is a session-aware control plane. It must distinguish tools within a server and propagate both the agent’s identity and the human user’s identity. Endpoint permission is not enough. Authentication, per-tool authorization, rate limits, and invocation auditing meet at this boundary, while transport translation connects clients and servers. A complete implementation also keeps raw backend credentials away from agents.

Kumar et al. cross persona, meaning interactive user or automated non-user, with credential type, including API keys, PKCE, client credentials, and platform app-context. An automated pipeline and a human-delegated session require different gateway behavior even when they call the same tool.

The evidence must reflect those distinctions too. An HTTP request log alone cannot show what the agent intended, which tools it chose along the way, or which attempts were blocked. Snowflake’s guide defines the fuller record as an agent trajectory. Identity establishes whose authority was used, while logging records how that authority translated into action.

Identity federation depth and what shallow implementations miss

Diagram: Identity Federation Depth: Five Levels from Login to Fleet Revocation. Visualizes: Show a progression of five identity federation depth levels that an MCP gateway can achieve, ordered from shallowest to deepest: (1) Authentication through…

The “confused deputy” failure explains why federation must extend beyond login. When an agent uses a shared service account rather than the initiating user’s permissions, it can act with authority that does not belong to that user. SSO alone does not resolve this mismatch. Federation depth measures how much access decisions still rely on the enterprise identity provider.

The progression starts with authentication through the existing IdP, such as Okta or Entra. User-delegated OAuth then preserves the human user’s permissions downstream. Short-lived, task-scoped tokens reduce dependence on persistent secrets. Deeper implementations let IdP administrators determine which tools each role may invoke and revoke a departing user’s access across the fleet.

The July 28, 2026 MCP specification update incorporated EMA into the extensions framework. It places granting, scoping, and revoking approved access in the IdP admin console and removes per-server consent screens for approved connections. Service boundaries still apply. The MCP authorization specification requires tokens intended for each service and prohibits passing the client’s token through to another API.

Production coverage also requires User-to-OAuth2 flows, service-account flows without a user, and User-to-Service-Account flows, which Kumar et al. document separately. A managed service credential can be appropriate, but its use must not erase the initiating identity. Unmanaged connectors and shadow agents remain outside this protection unless discovery and revocation reach them.

How do you evaluate an MCP gateway’s enterprise RBAC and IdP integration?

In a proof of concept, first ask whose identity reaches the tool. Execute a human-initiated call and request its audit event, then inspect the downstream record for the named user. Follow the identity through the whole path. For a service-account substitution flow, test whether the gateway preserves attribution while scoping the downstream credential.

Next, check how discovery filtering differs from execution-time authorization. Hide a tool through tools/list, then attempt to invoke it through tools/call. The gateway must recheck permission at execution. For destructive operations, including database deletions and outbound data transfers, ask the vendor to demonstrate argument validation or human approval at that point.

Credential handling needs its own test sequence. Inspect storage policy, refresh behavior, workload identity support, and secret redaction in logs. Check whether incoming headers are forwarded by default or through an explicit allowlist. Then offboard a test user mid-session and measure revocation across connected servers, treating anything beyond one token lifetime as a gap.

Finally, request demonstrations of EMA/ID-JAG and automated-agent access. In the ID-JAG flow, the gateway validates the IdP’s signed JWT without an IdP network round-trip on every call, while the backend worker does not negotiate its own OAuth. Run a scheduled agent with no human session. Its managed identity path should not quietly end at a static key in a configuration file.

Compliance logging fidelity and what the audit trail must contain

An incomplete audit trail can be worse than none when it creates false assurance. A checkbox may pass while an incident remains impossible to reconstruct. Operational traces show latency, errors, and how many tokens were used, while request logs help debug parameters and responses. Neither substitutes for immutable audit events recording who authorized an action under which policy, including denied attempts.

A high-fidelity event connects the named user, agent identity, and session to the tool and its parameters. It records the allowing or blocking policy and links the action to the task, intermediate choices, and final execution. Denials must be part of that same chain of evidence. Without them, investigators lose the signs of probing or attempted policy evasion.

The GitHub MCP incident makes this distinction concrete. An attacker placed hidden prompt-injection instructions in a public repository issue, redirecting a Claude agent using the GitHub MCP server to access tokens in a separate private repository and exfiltrate them through another tool call. A connected trajectory would expose that cross-repository sequence. Scattered application logs would not provide the same reconstruction.

EU AI Act Article 26 requires competent human oversight and that automatically generated logs be kept. Missing tool actions cannot be recovered retroactively from events never recorded. Cost attribution strengthens the evidence as well. Token and compute costs linked to a named user and task provide both financial control and a forensic signal when sessions become anomalous.

How to evaluate a vendor’s compliance logging fidelity in practice

Start with an incident reconstruction drill across two or more MCP servers. Execute a multi-step task, then ask for the user, agent, tools, parameters, authorizing policies, and order of execution. One query should return the complete trajectory. If the demonstration requires manual correlation across separate systems, it has shown application logging.

Then deliberately call a tool the test agent cannot use. Inspect the denied event for the user and agent identities, attempted tool, blocking policy, and timestamp. “Access denied” is not an audit narrative. Compare the denied record with an allowed call to check whether failed attempts get the same detail.

Next, inspect the destination and integrity of those records. Ask whether events reach the customer’s SIEM, OpenTelemetry collector, or S3-compatible object store. Customer control must be demonstrable. Request evidence that audit records are append-only and tamper-evident, through hash chaining or an equivalent mechanism.

Close by exporting a sample OpenTelemetry trace. OpenTelemetry’s GenAI semantic conventions define agent spans, events, and MCP context propagation guidance in the dedicated open-telemetry/semantic-conventions-genai repository. Inspect those fields and check for token count and compute time on the user-and-task span. This tests whether the evidence fits the existing observability stack.

Shadow MCP as the stress test for both dimensions simultaneously

Shadow MCP tests whether the first two evaluation dimensions survive outside the approved path. A server deployed without IT oversight may hold credentials that the IdP never provisioned and employee offboarding cannot revoke. Its tool calls also skip the gateway’s audit trail, so production actions are missing from the record meant to show who did what.

Cloudflare’s Shadow MCP detection identifies connections to servers outside approved MCP Server Portals on the enterprise network. Evaluators should ask other vendors to demonstrate comparable coverage or explain its limits. Discovery claims need a defined perimeter, because network visibility and agent discovery are not interchangeable.

Supply chain exposure adds urgency to inventory control. CVE-2025-6514 describes remote code execution in mcp-remote, while CVE-2025-49596 describes remote code execution in MCP Inspector. An approved authentication path does not remove vulnerable software. The practical response is federated governance with a centrally maintained allowlist, credential oversight, and a self-service addition process. Lightweight security review should finish in days rather than weeks, so the approved route does not become the incentive for a workaround.

How the vendor landscape maps onto the two dimensions

Microsoft Entra Agent ID combines local agent discovery with existing identity controls. Discovery covers Claude Code, OpenAI Codex CLI, and GitHub Copilot CLI, while third-party agents on AWS and Google Cloud require separate workload identity federation or Auth SDK sidecar integration. They are not automatically discovered through those integrations. Agents that are found get an Agent ID and can be governed through Conditional Access, whose events go into the existing Entra audit log. This suits Microsoft-heavy environments, although MCP Firewall governance through Entra Global Secure Access remains in preview.

Auth0 MCP server support reached general availability on May 6, 2026. It treats MCP servers as OAuth 2.0 Resource Servers and Auth0 as the authorization server, which can federate authentication to an enterprise IdP. Its emphasis is the authentication layer. Organizations that build on an existing Auth0 deployment get that foundation, but need separate instrumentation for tool-level logging. The proof of concept should check which events are audit events for individual tool calls and which belong to the broader OAuth event stream.

Cloudflare verifies identity through Cloudflare Access and issues short-lived tokens at the network edge. Access MCP Server Portals capture logs and metrics for each tool call, while Shadow MCP detection flags connections outside approved portals. Organizations already routing traffic through Cloudflare have a clear deployment fit, but should still test user attribution, policy detail, and connected trajectories.

Kumar et al. offer a production benchmark that covers dozens of servers, several client types, three enterprise SSO grants, and three token-provisioning models. Their deployment uses Bring-Your-Own-Token, Generate-Your-Own-Token, and delegated OAuth through RFC 8693 token exchange. Evaluators can use that breadth to question coverage gaps without treating every deployment as identical.

Running a structured proof of concept against both dimensions before committing

Set the rules for passing before the vendor starts the demonstration. Revocation must finish within one token lifetime, reconstruction must take one query, and denied calls must get the same audit detail as allowed calls. Logs must reach customer-controlled infrastructure. Cross-server token reuse must be blocked and logged. The team should agree on an acceptable detection window for shadow MCP.

In week 1, provision a test agent through the IdP, confirm a short-lived scoped token, and inspect named-user attribution at the downstream server. Offboard that user mid-session and measure revocation across the connected fleet. Run the logging tests in parallel. A task that spans multiple servers should leave a complete trajectory in the customer’s observability stack, while a deliberate policy violation should leave a denial with full attribution.

In week 2, run a scheduled non-user agent and inspect its managed service credential. Attempt to use a token issued for Server A against Server B, then examine both the rejection and its audit event. Set up a local test shadow server outside the gateway registry to test discovery. Finally, export a trace and check which GenAI conventions it covers and whether it has per-user-and-task cost attributes.

The purchase decision follows from those results. Every agent action should be attributable to a named person, authorized by a readable policy, and logged to infrastructure the enterprise controls. If the proof of concept cannot demonstrate those properties, the unresolved gap is architectural.

Sources

  1. [2608.10760] A Gateway Architecture for Enterprise MCP Authentication: Unifying Heterogeneous Auth, Identity Delegation, and the User / Non-User Persona Problem
Filed underMCP Gateway

More in MCP Gateway