Why did a new rule look broken?
An admin restricts a Jira tool for the Support role at 9:00 am. At 9:01 am a support agent's Claude still runs it. The admin re-reads the rule, finds nothing wrong, and starts to doubt that restrictions work.
Usually the rule is fine. The misreading is about where and when it is checked, which is what mcp restriction resolver precedence settles. Elaichi checks restrictions at more places than most people expect, in a set order, against two layers of rules. Trace one call through the tree and the odd results explain themselves.
A restriction is a rule that says which apps and tools a role or person may use. Writing restrictions needs Gold or Black. A connector is an app Elaichi can run tools in. A tool is one action inside that app. The resolver is the code that decides allow or deny.
What does mcp restriction resolver precedence mean?
It means two layers are checked on every call, and both must say yes. One layer holds the rules on the person's role. The other holds the rules aimed at that person. A rule aimed at a member can only narrow what their role allows, and never replaces or loosens a role rule.
If the Support role cannot use Jira, a personal allow rule naming Jira does not open it. To lift a role rule for one person, an admin approves an access request. That makes a grant for that requester alone.
One exception exists. A person whose personal rules came before layering, and could not be converted with the same effect, is flagged as a legacy override. For them the role's rules do not apply while the flag stands, and access grants do not either. An admin can clear the flag, which can only narrow the person.
So the tree starts with one question. Is this person a legacy override? If yes, read their personal rules alone. If no, read both layers and intersect them.
How do allow and block rules combine in one layer?
Inside a layer, all allow rules combine into one allowlist and all block rules into one blocklist. A block always beats an allow.
The trap is the allowlist. In Elaichi, once a role carries any allow rule, every connector and tool none of its allow rules names is blocked for that role. The effect covers the whole catalog, not only the apps a rule names. An allow rule that names nothing restricts everything for its target. Its summary reads "Allows nothing. Every connector and tool is blocked."
So holding a role to a few Jira read tools takes more than one rule. The role also needs a whole-app allow rule for every other app it uses. They can be separate rules, because allow rules in a layer combine.
Block rules alone work the other way. In Elaichi, a layer with only block rules has no allowlist, so everything it does not block passes it. Blocking some write tools in an app leaves every write tool you did not name open. In Microsoft Intune, the tool that runs an action on a device stays open until a rule names it.
A block on an app also blocks every copy of it that declares descent from it, up to eight steps up the chain. An allow does not carry down the same way. Each copy needs its own allow rule.
One more detail. When you save a rule, Elaichi looks up each named app and tool and stores the tool's real action beside its name. An allow matches only that stored action. A block matches the name or the action. Why blocks match tool names but allows don't explains why.
Where does the resolver run?
Elaichi checks restrictions at every place a member can reach a connector or tool, including listing, connecting, advertising, executing, the final outbound-request check and opening a stored tool file. In plain terms:
- Listing apps and tools, in the console, the API and the AI catalog.
- Connecting or reconnecting an account.
- Copying a connector.
- Saving a toolbox entry or a step in a custom multi-step tool.
- Showing tools to an AI app.
- Running any tool call.
- The final outbound request.
- Opening a stored tool file that came from a tool that is now restricted.
The resolver's enforcement points walks through each.
The last check needs its own sentence. Before a call leaves, Elaichi compares the full outbound address, and every redirect, with the actions that tool-level block rules name on that app and its ancestors. It refuses a match. It never refuses a request only for reaching a host. A block on a whole app is enforced earlier, before the request is built.
Every connected-tool call passes the same check for the person it acts as. That includes calls from an AI app, from a toolbox, from the in-app assistant and from each step of a multi-step tool. Restrictions bind whatever sends the call.
The AI apps have their own controls, built for a different job. Claude sets Always allow, Needs approval or Blocked on a whole connector, a group of tools or one tool (Anthropic's connectors article, checked October 2026). Cursor asks before using MCP tools by default (Cursor's MCP documentation, checked October 2026). ChatGPT may ask before a write, depending on app permissions and the action (OpenAI's app permissions article, checked October 2026). Those settings act on the tool names Elaichi shows. Elaichi shows connected tools through a search tool and a run tool, so a per-tool setting in an AI app cannot single out one connected app. Per-app and per-tool control belongs in Elaichi.
How does one call move through the tree?
Take a support agent on the Support role. The role has one block rule naming two Jira tools: the one that deletes an issue and the one that moves an issue to Closed. The agent has no personal rules. Their Claude sign-in covers connected tools, and their role may run tools.
The agent asks Claude to close a ticket.
Discovery. Claude searches for tools with the words the model picked. Elaichi searches the tools the agent may run, then ranks the restricted ones against the same words. A restricted tool is left out of the tools Elaichi offers a client and cannot be called. Search still names it, flagged restricted, with no schema. The close tool shows up, named and marked, with no description. The agent can see what to ask an admin for.
The call. The model asks to run the close tool by its exact name. The run tool is only a way to name the target. The call goes through the same checks as a direct one, with no extra privilege.
The checks, in order. First, the role may run tools. It may. Next, the name must resolve. It does. Then the restriction check fires, because the role's block rule names this tool. Elaichi refuses the call and tells the caller that an organization rule restricts the tool for their role, and that an admin can lift it through an access request. The message does not name the rule or its author.
What is not logged. A call refused at this check writes no log entry, because nothing ran. Elaichi writes one entry for each connected-tool call that reaches execution (a call refused earlier writes none).
Now change one thing. The agent asks for a Jira comment tool that no rule names. The role has only block rules, so it has no allowlist, and the comment tool passes. The personal layer is empty, so it passes too. The call reaches the executor, which checks the toolbox, applies the restrictions again, finds the connection and writes a log entry. The outbound check finds no match, and the request leaves.
Why did the rule still work for a minute or two?
A restriction change is not effective the moment you save it. Elaichi keeps a person's roles, teams and resolved rules for 60 seconds. Every change to a role, membership, team, restriction or grant starts a new version. A change reaches every surface once that surface sees the new version. Elaichi's design note puts the worst case at about two minutes.
So write "about two minutes" in the change runbook, not "immediately".
Two nearby timings differ. In Elaichi, revoking a share or disconnecting an account takes effect on the caller's next call. Cutting off a grant, removing a person or suspending one also stops the AI app on its next call.
One more cache matters. The list of tools shown to an AI app is held for up to 60 seconds. A stale list can only mis-advertise. Every call is authorized again when it runs, so a tool that should not run does not run, however it was listed.
When is the resolver not your problem?
If nobody has written a restriction, nothing is restricted. A team of eight with one role and no rules does not need this tree. Start with designing roles for AI agents, because each person holds one role and the role is where most shaping belongs.
The resolver also does not fix an identity problem. If the question is which account a call uses, look at connections and sharing. A shared connection runs every caller's call on its owner's sign-in. If the question is whether to restrict one tool or a whole app, restrict one AI tool or the whole app walks through six cases.
For the wider picture, see MCP governance. The connector catalog lists the apps you can govern.
What do admins misread most?
The access grant step is the one admins misread most. Approving an access request makes a grant for that one requester. It is not an exception rule, and the role's rules are not edited. Every other role rule keeps applying, including ones added later, and nobody else's access changes.