Server access
Choose which AI agents, smart groups and people can use one MCP server. Everyone else is denied access before any tool is listed or called.
Configure it on the server
Scroll to the Access control card.
Adding a group or person to one side removes it from the opposite list. Click Save settings in the footer to apply your changes.
To manage agents across every server at once, use the Allowed Agents button in the MCP Gateway header. It edits the same agent list. See Allowed Agents.
Precedence
The card reads: "Denied users take precedence. An explicitly allowed user can override a denied smart group; user rules are matched case-insensitively."
The gateway checks each person in this order and stops at the first match:
Emails match regardless of case, so Jane@Example.com and jane@example.com match the same email address.
Allowed agents is checked separately. A request from a client whose User-Agent matches no allowed agent is denied regardless of the user.
The User-Agent identifies a client but does not authenticate it, so treat Allowed agents as steering, and rely on the user and group lists for access decisions. See Allowed Agents.
These rules apply to calls that go through the MCP Gateway. They do not stop someone from connecting to an MCP server directly from their own client. To find and close those paths, see An MCP server outside the gateway.
Example
- A contractor is denied access.
lead@example.comis allowed even though they are inContractors.former.admin@example.comis denied access even if they are in an allowed group.
How it relates to other settings
Going further with the Policy Engine
The same decision lives on the MCP Server Access card (stage 1, Session) in Govern > Policy Engine > MCP Gateway. Its effect is MCP access: allow or deny. Because it runs at session, a denied caller never sees the server's tools. Deny wins over allow, and a server that is not registered is denied by default. Edits join a shared draft and apply once you publish a revision.
A rule can match on far more than the Access control card offers:
- Block servers by name for everyone. Match MCP name against a list, for example unapproved or legacy servers, and deny access across the tenant in one rule.
- Gate by identity source or network. Match the caller's identity provider or client IP, so a server is only reachable from accounts signed in through your corporate IdP or from known networks.
- Gate by agent or route. Match agent name, agent classification or route kind (
direct,onemcp,workflow), for example allow a server through OneMCP but not as a direct connection. - Gate by server attributes. Match MCP tags, transport or auth type instead of naming each server.
runs on sessionpriority 900
The OneMCP Features card sits in the same Session stage. It turns OneMCP dynamic tools and memory on or off per caller. See OneMCP.
Related
- Allowed Agents - register custom agents and set servers per agent.
- Group and user rules - override settings for a smart group or a single user.
- Claims forwarding - pass the signed-in user's identity to the server.
- Policy Engine overview - how cards, stages and priorities work.