Est.
MCP GatewayLong read

Which MCP Servers Enforce Tool-Level RBAC Natively Versus Delegating It to a Gateway

Native scope checks stop at the server, so enterprises need gateways.

· 9 min read
Cover illustration for “Which MCP Servers Enforce Tool-Level RBAC Natively Versus Delegating It to a Gateway”
MCP Gateway · November 17, 2026 · 9 min read · 2,052 words

The MCP specification defines no RBAC model, so a server’s support for authentication does not establish control over individual tools. Native scope checks can restrict calls within a server, but enterprise deployments need gateway-layer enforcement for consistent policy, cross-server audit records, and inspection in flight. Choosing an MCP gateway with OAuth authentication and tool-level RBAC therefore requires separate evidence of authentication support and authorization behavior.

Why the MCP spec leaves tool-level access control unresolved

The MCP specification builds on authentication infrastructure but leaves open which identities may run which tools. That distinction is the starting point for assessing any implementation. Authentication establishes who is connecting, while tool authorization decides what that identity may do after connecting. A deployment can have a sound authentication boundary and still give every authenticated agent access to every exposed action. A valid token is not a job description.

The specification leaves several controls to implementers, including tool-level RBAC, approval queues for mutating calls, structured audit-record schemas, credential isolation, and multi-tenant isolation. These responsibilities require implementation separately from authentication. The specification also uses “SHOULD” rather than “MUST” for human oversight, leaving room for deployments to treat review as optional. Someone must supply the missing controls. The native-versus-gateway question is therefore about where those responsibilities live and whether that placement can support the whole deployment.

The difference between server-level access and tool-level RBAC, and why it matters

Server-level access control answers whether an identity can reach an MCP server. Tool-level RBAC decides which actions that identity may run, which scopes it needs, and which resources it may act on. The boundary is easy to miss. A platform with only server-level gating offers coarse, all-or-nothing authorization, so a role that needs read access may also receive write, export, and delete access. Permission to enter the building becomes permission to operate everything inside it.

That difference becomes concrete when a workflow needs to read a record but has no reason to delete it. Authentication alone cannot express that separation, and a server allowlist does not establish it. Shared service accounts make the problem worse. When several people or workloads use one credential, an action may be attributable to the account without revealing which human authorized it. Revoking that credential then disrupts unrelated workflows, turning a security response into a coordination exercise.

How to tell whether a given MCP server enforces tool-level RBAC natively

Native tool authorization runs inside the server before a tool executes. A tool declares its required scopes, such as file:read for read_file or repo:admin for delete_repository, and the server checks the caller’s scopes against that requirement. The check belongs on every call. Authorization performed only when a connection opens does not establish that each subsequent action was evaluated against the policy applicable to it.

Does the server declare per-tool scope requirements in its manifest, and does it re-check authorization on every invocation? Does it publish structured logs containing the policy decision with the tool call? Those are distinct tests. A missing policy-decision record does not prove that a check was skipped, but without it, the server cannot show an auditor that it enforces native tool-level RBAC.

By itself, it supplies neither role mapping to identity-provider groups nor per-request attribution to a named person, and it does not produce structured audit records. Additional implementation can provide those controls, but they cannot be inferred from a scope declaration. Protocol changes add another assessment burden. Servers built against earlier revisions may have authorization logic misaligned with current token and scope semantics.

Tool definitions create a further limit. The specification’s notifications/tools/list_changed mechanism lets a server update definitions after a client connects, without a base-protocol requirement for re-approval, version pinning, or a content hash. A server can therefore present a clean description at approval and substitute a malicious one later. Scope validation does not detect that substitution. The caller may still have exactly the permissions the server requires.

The enforcement gap that native servers cannot close on their own

Each server may correctly enforce its own rules while interpreting the same organizational role differently from its neighbors. Local correctness is not global consistency. Without a shared enforcement mechanism, a role defined in the identity provider can acquire different practical permissions as it moves between servers, and those differences can drift over time.

Audit completeness has the same structural problem. Governance evidence needs to connect request intent, the policy decision, and the exact context or action returned. Separate server logs may show what happened on each server without showing how those events connect. Investigators must then supply the missing links. That weakens the evidence available for recertification, incident review, and misuse detection, even when every server produces a substantial log stream.

A toxic flow chains individually authorized tool calls into an outcome that no user explicitly authorized, such as reading private data and then posting it to a public channel. Each permission check can pass. Prompt injection supplies the redirection, while legitimate permissions supply the means, so the failure lies in the composition of actions rather than necessarily in any single authorization decision.

The GitHub MCP incident illustrates that pattern. An attacker put an issue with hidden prompt-injection instructions in a public repository. When a Claude agent using the GitHub MCP server encountered the content, those instructions redirected it to access tokens in a separate private repository and exfiltrate them through a subsequent tool call. Both calls were individually authorized. Checking their scopes again would not have explained why their combination was unacceptable.

Security therefore depends on how much damage a compromised agent can do even when it can authenticate. Content inspection must work even within an otherwise legitimate session that has a valid token. Scope validation cannot judge the payload by itself. Individual servers cannot inspect inputs in the same way across the whole chain, so blast-radius control depends on how the system is built and requires more than better server code.

What a gateway-layer enforcement model actually does differently

A gateway between agents and MCP servers enforces policy at a boundary they share. It terminates client connections, applies centralized authentication and RBAC, and routes requests to the appropriate server. The placement does the important work. Instead of requiring each downstream server to implement a full security stack independently, the architecture provides a common ingress where policy can be applied across them.

At that boundary, identity-provider roles can map to per-tool, per-tenant allowlists so that each server does not have to know which groups an identity belongs to. The gateway can also filter tool schemas so a restricted agent sees only the definitions it is entitled to use. Visibility and execution remain separate controls. Hiding an unauthorized tool reduces what the agent can enumerate, while each invocation must pass a check before the requested action may proceed.

Credential isolation follows the same placement logic. The gateway can inject server-side secrets without exposing them to the agent or client context. It can also generate correlated records containing the user, agent, server, tool, policy decision, and outcome. That creates a common evidence trail. Rather than reconstructing a workflow from unrelated server streams, reviewers can examine decisions made at the boundary through which the calls passed.

The gateway is also positioned to inspect tool arguments and responses in flight for injected instructions or content that should not leave the process. That capability goes beyond deciding whether a token has the required scope. A gateway that only validates scopes does not gain content-aware protection merely by occupying the right network position, so its actual enforcement behavior remains a selection criterion.

How named gateway implementations handle tool-level RBAC in practice

agentgateway is a gateway contributed by Solo.io to the Linux Foundation. It supports MCP and A2A, JWT authentication, tool-level RBAC, and OpenTelemetry tracing. Its stated fit is vendor-neutral enforcement and observability. JWT support, however, should not be treated as sufficient evidence of an entire OAuth deployment, and tracing alone does not establish the contents of a policy-decision record.

Cloudflare MCP server portals place Cloudflare Access before a collection of MCP servers, with users authenticating through the organization’s identity provider. Access policies determine who can reach a portal and which servers appear there. Administrators choose which tools and prompts to expose through an allowlist mode that hides anything they have not explicitly enabled. The policy boundary is the portal. This differs from a per-role tool-policy engine, even though both can restrict the tools available to a user.

AWS AgentCore Gateway accepts JWTs from an OIDC provider or IAM principals and uses Cedar policies for authorization per tool and per parameter. Lambda interceptors operate at the gateway request and response level across tool calls, rather than being configured separately for each tool or parameter. Policy decisions go to CloudWatch. That way of enforcing policy and keeping evidence fits organizations that already use the AWS IAM and audit ecosystem.

Microsoft MCP Gateway is an open-source reverse proxy and management layer for MCP servers running in Kubernetes. Its control plane deploys, updates, and deletes servers, while its stateless data plane routes each request to a ready instance. Its emphasis is routing and deployment control. Those capabilities should not be confused with a dedicated tool-policy engine simply because the product is a gateway.

Traefik Hub MCP Gateway uses On-Behalf-Of authentication, with the gateway forwarding the client token and the downstream MCP server performing the OAuth 2.0 token exchange. The exchange remains the server’s responsibility. Traefik also has Task-Based Access Control for dynamic agent authorization and a defense-in-depth architecture with three security layers. Its stated OAuth 2.0 mechanism should not be relabeled as support for newer OAuth requirements without separate evidence.

Kiteworks Secure MCP Server demonstrates why native enforcement needs examination beyond scope declarations. It evaluates per-request attribute-based access control against every AI operation, applying the role-based and attribute-based rules that govern human users. Each action enters a tamper-evident audit trail feeding the organization’s SIEM. Humans and agents share a governance plane. The record shows that the human identity behind a call was evaluated against policy at the time of that call.

Willow assigns MCP servers, toolkits, and skills through SCIM groups, with tool access formed from the union of group assignments and no deny rule. Its tool-call logs include the user, agent, server, and guard actions, while SCIM deactivation handles revocation. Directory lifecycle is the organizing principle.

These implementations differ in where they place authorization and what evidence they expose. When choosing a gateway, enterprises therefore need to check whether it uses group mappings or static allowlists, records policy decisions or activity traces, offers content inspection or scope validation, and works with their existing observability systems. Authentication needs its own assessment. The product details given here do not show that every option supports the required OAuth capabilities or that all gateway products offer the same tool-level RBAC.

What a governed golden path to MCP servers requires in practice

For an enterprise rollout, the lesson is to make the governed route concrete rather than merely designate an approved server catalog. Each invocation needs a verified identity evaluated at request time, including when that identity was established at server startup. Agents should replace shared service accounts with persistent identities from the identity provider already in place, such as Okta or Entra. Attribution must survive the tool call. The record needs to connect the action to a named person and the role that applied.

That identity must then drive gateway policy on every request, with group mappings applied to per-tool allowlists. Credentials should be short-lived and task-scoped, and gateway-side injection should keep raw secrets out of agent context. Audit records must connect intent, decision, and outcome across servers. These requirements work together. Even with a named identity, reviewers still have to guess whether an action was allowed at the time if no authorization decision was recorded.

The Stacklok State of MCP in Software 2026 report found that roughly half of organizations are actively experimenting with MCP servers, while only a small fraction have reached production. The architecture needs governance as well as tools that are available to use. A governed golden path can bring unvetted servers under control while allowing experimentation. Its test is accountability at every invocation, across every server, for every agent, attributable to a named person. For deployments that require that evidence, the gateway is the load-bearing enforcement layer alongside native access checks.

Sources

  1. What are the best MCP gateways for enterprise access control in 2026?
Filed underMCP Gateway

More in MCP Gateway