Skip to content
Smartplane

Admin RBAC vs Agent Permissions: What Your MCP Gateway Actually Controls

The difference between admin RBAC and agent action permissions: console roles configure the gateway, and action permissions decide which tools a person's agent may call.

By Smartplane team

Back to blog

The difference between admin RBAC and agent action permissions is which decision each one is allowed to make. Admin RBAC governs who can configure the gateway and its console: register servers, edit policies, and view audit. Agent action permissions govern which tools, and which actions on those tools, a given person's agent may call at runtime, and under which conditions.

After a Cursor or Claude Code rollout, the two get folded together. A team Admin can open the dashboard, an mcp.json on a laptop holds a token, and a permission prompt appears before a tool runs. Each of those is a real control. None of them, by itself, is the grant an organization MCP endpoint should enforce on the call. The pages cited here were read on 28 November 2026.

What does admin RBAC govern?

Role-based access control assigns privileges to roles, then assigns people to those roles. The NIST model for RBAC, adopted as ANSI/INCITS 359-2004 and revised as INCITS 359-2012, states the shape: each user is assigned one or more roles, and each role is assigned one or more privileges permitted to users in that role. Administration is deciding which operations a job must perform, and putting people in the role.

On a gateway, that job is the console. NIST SP 800-53 Rev. 5 AC-6(1) says to authorize named individuals or roles for security functions and for security-relevant information. The discussion of those functions includes configuring access authorizations, which it glosses as permissions and privileges, and configuring which events are audited. Access control lists are named as security-relevant information. Registering a server, editing a grant, and reading the audit log are those functions. Calling orders.read is a different one.

AC-5, Separation of Duties, belongs on the same console. The discussion says security personnel who administer access control functions should not also administer audit functions. Split the console:

  • Register and update a server, including the credentials the gateway will use upstream.
  • Edit grants and the rules that constrain a call.
  • View the audit log.

A shared "gateway admin" that can register, edit, and audit is one role doing three jobs. Mutually exclusive roles are part of the NIST RBAC model. The person who can rewrite a grant is a poor sole reader of the log that would show the rewrite.

AC-6(2) keeps this role off the agent. Users of accounts that can reach security functions use non-privileged accounts when they do other work. The operator who registered GitHub opens their editor as a member. The agent runs with the member's action permissions. The operator role adds nothing to that call.

Vendor consoles already separate a team role from a tool rule. Cursor's team roles give Admins team management and security settings, and an Unpaid Admin manages the team without a paid seat. The MCP docs add other switches: team admins distribute shared servers, and only those admins, or org admins on a linked team, can edit a Team MCP server or replace saved credentials. Enterprise admins set an allowlist of servers and tools. Allowlisting approves a configuration. It does not install the server, and it does not assign a tool to one person's agent. Claude Code enforces allow, ask, and deny rules in the client rather than in the model. Administrators can deploy managed settings that user and project settings cannot override, apart from a few security-sensitive keys, and a deny at any level stays a deny. Publishing that file is an admin act. The rule inside it is an action permission.

What do agent action permissions govern?

An action permission is the runtime decision. It names the member the agent acts for, the tools that member's agent may be offered, the actions on those tools that may run, and the conditions. The member might be in Support. The tool might be stripe.refund. The action might be a refund of one charge. The condition might be the amount, or an approval from Finance.

NIST SP 800-53 Rev. 5 AC-6 states least privilege for users or processes acting on behalf of users, limited to the accesses those tasks need. The agent is that process. AC-6(8) says to keep named software from executing at a higher privilege than the user running it. An agent launched by an operator runs with the operator's console power only when the gateway treats that role as a tool grant. A support session does not register servers.

The MCP tools specification in the 28 July 2026 revision is where this shows up on the wire. Servers answer tools/list with the tools available to the requesting client. That set may be empty, and it may vary with the authorization on the request. The spec's example is returning only the tools the caller's granted scopes permit. Servers must implement access controls, and clients should log tool use. A tool the model cannot see is a tool it cannot choose.

OWASP LLM06:2025, Excessive Agency, names three excesses: functionality, permissions, and autonomy. The catalog offers tools the job does not need, those tools can do more than the job needs, and the model may invoke them with no further check. Prompt injection and a confused model are triggers. The damage follows the agency you already granted. A console role copied onto the agent is the excessive-permissions case: the process holds an account that can update and delete when the task needed a read.

Conditions on a call are a second model. RBAC vs ABAC for AI agents is that split. NIST SP 800-162 treats attribute-based access control as a decision from attributes of the subject, the object, and the environment, checked against policy. "Support may call stripe.refund" is the role grant. "A refund over $500 needs Finance" is the attribute rule.

OAuth scopes are easy to mistake for either layer. The authorization specification covers HTTP transports: the MCP server is a resource server, the client acts for a resource owner, and authorization is optional. A stdio server should take credentials from the environment instead. Where the spec applies, servers should challenge the scopes an operation needs, and a token that lacks them should draw a 403 with insufficient_scope. The spec's examples separate files:read from files:write, and the required scopes may be computed from the arguments. The authorization tutorial uses one scope, mcp:tools, on a server whose only tool is add. That scope means the token may use the server. It names no repository, no refund, and no one who may edit policy. A scope is an action permission when it names the action and the server checks it on the call.

A console token is a third object. How to stop MCP token passthrough and confused deputy attacks is the rule for the credential: accept a token issued for this server, and call upstream with a different credential. An operator token in an editor config fails that rule. The agent is configuring the gateway.

How do the two compare?

Admin RBACAgent action permissions
QuestionWho may change the gateway?What may this person's agent call?
ObjectsServers, grants, rules, audit, membershipTools, and actions on those tools
A typical grantRegister a server, or read the audit logorders.read for one order; stripe.refund at or under $500
What you changeMembership in a console roleThe grant, or the condition on a call
What a review asksWho can rewrite the rules, and who can see that they didWhich agents can reach production data, on which arguments
Where it failsThe console role is reused as the agent's credentialA tool with no grant is treated as allowed
What the log should showWho changed the catalog, the grant, or the ruleThe member, the tool, the arguments that mattered, and the decision

Keep the two lists on one page, even if one policy engine stores the console role as another attribute. "Who can edit a grant?" and "which agents can refund?" are separate questions.

What do you set up first?

Write both lists before a client connects. One shared role will grow to fit every request, and a later review cannot pull the lists apart.

Name the console verbs. Register, update, edit, and view are the verbs. get_file and refund are tools. Put each console verb on a role, and put people in the fewest roles that match the job. The operator who onboards a server does not hold the audit role. The auditor does not edit grants.

Name the action permissions for the member the agent acts for. Tie them to the role, team, or project that already describes the job. On tools/list, return only the granted tools. On tools/call for anything else, deny. A grant of a server is a grant of the tools you listed. A tool that server adds next month stays off the list until you add it.

Put conditions on the calls the grant still allows. The amount, the repository, the path, and the branch are attributes of this call. How to require human approval for MCP tool calls is the hold for a call that is legitimate only sometimes: a second person, other than the requester, sees the arguments and releases that call. A force-push to main is a deny.

Issue a credential for that member's tool use. The audience is this gateway, and the scopes cover the operations that member's agent may attempt. Keep the upstream secret and any console token out of mcp.json and out of the model.

Choose the miss. The OWASP Authorization Cheat Sheet says to deny by default, to check permission on every request at the server or the gateway, and to handle a failed check so it cannot become a bypass. A missing grant, an unknown tool name, a timeout, and an unreadable decision are denials. Log the reason.

Review both lists, and remove both when the person leaves. AC-6(7) says to review whether a privilege is still required. A Friday deactivation ends the console role and the action grants, and the next call with the old token fails. A laptop allow rule is a third place to clean. It does not cover the gateway.

What does a roles-and-tools matrix look like?

A company that has rolled Cursor and Claude Code out to Support and Platform is putting orders, refunds, and GitHub behind one organization MCP endpoint. The matrix is the policy. A filled cell is a privilege you can point to in a review. A blank cell is a deny.

RoleRegister serversEdit grants and rulesView auditorders.readstripe.refundgithub.get_file, github.create_pull_request
OperatorYes
Policy adminYes
AuditorYes
SupportOne order that member may seeAt or under $500 runs; over $500 waits for Finance
PlatformRepositories named on that team's grant
FinanceApproves a request; cannot create one

github.delete_repository has no column. A policy admin who also sits on Platform holds two rows: the first grants no tools, and the second grants no console. Finance approves a refund and does not request one.

The same policy in a form you can diff:

console:
  operator: [servers.register, servers.update]
  policy_admin: [grants.edit, rules.edit]
  auditor: [audit.read]

agent:
  support:
    orders.read: allow when the order is one this member may see
    stripe.refund:
      allow: amount <= 500
      approve: amount > 500
      approver: finance
  platform:
    github.get_file: allow when the repo is on this team's grant
    github.create_pull_request: allow when the repo is on this team's grant
    github.push: deny when force is true and ref is refs/heads/main
  finance:
    stripe.refund: approve only, and the requester cannot be the approver

The operator's own agent follows the Platform row for ordinary work. Registering the GitHub server added no tool to that list.

Where does this fail closed?

The GitHub server is already registered. Platform may call github.get_file and github.create_pull_request on the team's repositories. Upstream publishes github.delete_repository. Three designs will call it.

The server grant is the tool grant. "Platform may use the GitHub server" is one row. The new tool arrives on the next tools/list and is offered, because the row names the server and the catalog is whatever the server says today. An operator's registration has become everyone's permission.

A missing row means allow. There is no grant for github.delete_repository, and absence counts as permission. Cursor documents a related default for automatic runs: a tool allowlist restricts which tools from an approved server can run automatically, and an empty tool allowlist allows all tools from that server. Cursor still asks before MCP tools by default, so that sentence is about automatic runs. On an organization gateway, use the opposite default. An empty grant allows nothing.

The check does not answer. The grant store times out, the process throws, or the decision comes back in a shape the gateway does not understand. The call is forwarded, or tools/list returns the full catalog, because the handler started from allow. The Authorization Cheat Sheet says a failed check must not become a bypass. Take the same path as a denial. Omit the tool from the list, deny the call, and log the reason, including "the check did not answer."

The same miss on the console column is an operator token in the editor. tools/list succeeds, and the agent can register a server, because that is what the token is for. Reject a console token at the MCP endpoint with 403. The authorization spec already separates a read scope from a write scope. A token that only proves "may speak MCP," or one that proves "may edit grants," is the wrong credential for the call.

Leave the new tool off tools/list wherever the row is blank, and deny it again at tools/call if a client cached an older list. A denial that still shows the tool lets the model choose it, and the error text comes back into the conversation.

Frequently asked questions

Does an admin role include every tool?

It includes the console verbs you assigned, and a tool only when a second grant says so. An operator whose tools/list returns every registered tool is holding the console role as a tool grant. AC-6(2) and AC-6(8) keep ordinary work on the member's privilege.

Is an OAuth scope the same as an action permission?

Only when the scope names that action and the server checks it on the call. files:read and files:write are that shape. mcp:tools, in the tutorial, means the token may use the server, which says nothing about deleting a repository or editing a grant.

Do client prompts replace the gateway?

A client prompt binds that client and that session. Cursor asks before an MCP tool by default, and Claude Code enforces allow, ask, and deny in the client, including denies in managed settings. One grant for every client, and a second person on the call, still belong on the gateway.

Can the person who edits grants approve their own refund?

The policy admin edits the rule. Finance releases the refund. The requester is not the second person on either decision. One person holding all three collapses the matrix. Keep the requester on the request, and refuse the approval when the two names match.

What does an auditor collect?

Two lists, and a record of each. One list is who can register a server, edit a grant or a rule, and view audit. The other is which member, role, team, or project can call which tool, under which conditions. The record shows the actor, the object, the decision, and the time, for the console change and for the call. A role named Admin, with no rows under it, answers neither list.

Where do you put the split?

Put the console roles where servers are registered and policies are edited. Put the action permissions where tools/list is built and where tools/call is about to be forwarded. Repeating that on every laptop, once per editor, is how a team Admin, a local allow rule, and a pasted token drift apart. One MCP endpoint can hold both lists, so the agent connects once and the grant is the same whichever client the member opened.

Smartplane is that endpoint. Admins register tools once and assign use permissions to roles, teams, and projects. Credentials are injected for the call, so secrets stay out of agent configs. Sign-in is SSO, with SCIM offboarding. Guard rules are written in plain English, start in monitor mode, and can be switched to enforce. An action that needs a second person waits for approval by someone other than the requester. Console changes and calls land on an append-only hash-chained audit log. The security page lists the controls, and the product is the one URL they sit behind.