How governance rules work
A governance rule is an explicit allow or block decision keyed on two target types: connectors and agents.- Connectors: Tool calls to a specific upstream MCP connector. Add an optional tool filter to scope the decision to specific tools instead of every tool on that connector.
- Agents: Tool calls originating from a named MCP agent (for example,
claude-desktop,cursor,claude-code). You can also target an agent type (a whole category of agents) when you want the decision to apply to every instance of that agent.
Connector identity
Where Ultra can determine one, a connector’s rule target is its durable identity. What serves as that identity depends on the connector:- A remote connector’s identity is the canonical form of the URL Ultra dials.
- A stdio connector’s identity is the
sourcecoordinate declared in its config, so a rule follows the connector even when devices label it differently. - A stdio connector with no
sourcehas no identity a rule can match on, and is targeted by its local name.
Governance Posture
Posture is the baseline admission decision for tool calls that no rule matches. It is set per scope and answers a single question: “If governance has no opinion, what should happen?”
Posture is set at the organization level as a baseline, and a workspace can tighten it. A narrower scope can add restrictions but never remove them: the effective posture is the stricter of the organization and workspace settings, so a workspace can move from
default_allow to default_deny, but it cannot sit at default_allow beneath an organization on default_deny. Workspaces with no setting of their own inherit the org posture, and devices inherit from their workspace.
A workspace value that is not currently the effective one is still stored. If the organization later relaxes its posture, that workspace value takes over.
If a workspace genuinely needs an exception to an organization-wide
default_deny, grant it as an allow rule created at that workspace’s scope by an organization owner or admin, rather than by loosening the workspace’s posture. Loosening the posture has no effect.Drift enforcement
Governance is also where you set drift enforcement for your organization: whether Ultra keeps itself installed in the MCP agents it finds on your members’ devices, and how far it goes when it finds one it does not manage. A Policy configuration panel at the top of the Governance page shows the current posture and the current drift-enforcement mode. Everyone can see it; owners and admins get a Manage button.Setting it
Manage opens the drift-enforcement dialog. Choose the scope first (Organization or Workspace), then the mode. The dialog offers the same five modes the CLI does (Off, Detect only, Default, Auto install, and Enforce all), each described under drift enforcement in the CLI reference. The dialog shows a one-line explainer as you select one. Two further options are not modes but ways of not setting one:- Device setting (organization scope) leaves drift enforcement to each device’s own local configuration.
- Use organization setting (workspace scope) clears a workspace’s value so it follows the organization again.
How it reaches devices
A mode you set here overrides whatever a device has configured locally withultra config set drift-enforcement, including when the mode you set is Default.
Devices pick it up on their next contact with Hub, but apply it when Ultra next starts. A device that is running keeps the mode it started with, so expect a lag between saving here and seeing the behavior change on a fleet.
A device that is not linked to Hub follows its own local setting. Linking a device to a workspace clears any mode stored from a previous one.
Changes are recorded in the Admin Log.
Scoping
Governance rules can be configured at three levels, exactly like guardrails:
Workspace and device rules add to the rules inherited from higher scopes, they do not replace them. Use the workspace and device filters at the top of the page to view rules in effect for a specific scope. Inherited rules appear faded in the table, with an indicator showing where they came from.
Who can manage governance
Only users with the owner or admin role can create, edit, move, or delete governance rules. Members and viewers can see the Governance page and the list of active rules, but the Create rule, Edit, and Delete controls are hidden. See RBAC for the full permission matrix.Creating a rule
There are two ways to create a governance rule.Quick block from the connector controls
The fastest way to block an entire MCP connector organization-wide.1
Open the connector on the Governance page
Navigate to Governance in the Ultra Hub sidebar and find the connector in the Browse list. From a connector’s detail page under Connectors, the Governance button opens the same list focused on that connector.
2
Block the connector
Use the connector’s block control. The Connectors page itself is read-only in Hub and carries no block action.
3
Confirm the block
The dialog creates an organization-wide governance rule that denies every tool call to that connector, for every user in your organization.
Full rule editor from the Governance page
Use the full editor when you need to target agents, filter to specific tools, or scope the rule to a workspace or device instead of the whole organization.1
Open the Governance page
Navigate to Governance in the Ultra Hub sidebar and click + Create rule.
2
Pick a scope
Choose Organization, Workspace, or Device. The form previews exactly which agents the rule will apply to once active.
3
Name the rule
Use a short, descriptive name (for example,
Block github-mcp or Sandbox new finance-mcp). The name appears on the Governance page and in audit log events.4
Add target connectors
In the Connectors section, pick one or more connectors from the dropdown. The list is populated from upstream connectors Ultra has seen across your organization.Click the tool summary on a connector row to optionally restrict the block to specific tools. Leave it as all tools to block the entire connector.
5
Add target agents
In the Agents section, pick one or more agents to limit the rule to specific MCP agents. Leave both lists populated to require a match on both connector and agent. Leave the Connectors section empty to block every call from a listed agent regardless of which connector it targets.
6
Save the rule
Click Create rule. The rule appears in the Governance table and syncs to every device in scope.
Editing or moving a rule
Click Edit on any rule you own at the current scope to change its name or its targets. Inherited rules are read-only at lower scopes; navigate to the scope they came from to edit them. To move a rule to a different scope, open it and click Change scope…. Picking a new scope creates the rule at the new scope and deletes the original. Both events are recorded in the audit log.Removing a rule
Click Delete on the rule’s row, then proceed through the confirmation dialog. Tool calls that the rule was blocking are allowed again after the change syncs to your devices, falling back to the active posture and any other explicit rules. Existing audit log entries for past denials are preserved.Transitioning to default_deny
Switching a scope fromdefault_allow to default_deny is a meaningful change: every connector, tool, and agent without an explicit allow rule will immediately stop working in that scope. Ultra Hub helps you make the transition without breaking live traffic.
1
Open Posture on the scope you are changing
Navigate to Governance in the Hub sidebar and select the scope (organization or workspace) you want to lock down.
2
Pick default_deny
Click the posture control and choose default_deny. A confirmation dialog opens listing every connector currently in use within the scope that does not yet have an allow rule.
3
Confirm to auto-create allow rules
Confirm the dialog to auto-generate one allow rule per listed connector, scoped to the same place as the posture change. These rules are tagged as posture-generated so Ultra can clean them up later. The posture flips to
default_deny once the rules are saved.4
Tighten over time
Use the Access view to see what is being allowed by the auto-generated rules versus by explicit policy. Replace the auto-generated rules with narrower allow rules (specific tools, specific agents) as you build out your allowlist, and delete the ones you no longer need.
default_allow cleans up after itself: the dashboard removes the posture-generated allow rules it created at that exact scope, restoring the previous “rules as a blocklist” model. Rules you created by hand are left in place, and so is an inherited organization-scope posture-generated allow, which a workspace flip does not touch. If any of the cleanup does not go through, Hub tells you.
A workspace cannot flip back to default_allow while its organization is on default_deny. The control is unavailable in that case, because the flip would delete the workspace’s generated allow rules without changing what actually enforces.
Audit log behavior
Every governance decision generates agovernance event in the audit log, shown under the Governance Rule filter in the dashboard. Each event records:
- The decision (
outcome: denyfor blocks,outcome: allowfor allow rules) - The reason (
explicit rule,default deny posture, or the rule’s name) - The MCP connector that was targeted
- The tool the agent tried to call
- The user and agent identity behind the call
guardrail events and stay under the Guardrail filter; new decisions use governance.
Use these events to confirm a decision is taking effect and to track who or what attempted to use a connector, tool, or agent after it was disabled. Posture changes themselves also emit a governance event so the audit trail captures every flip between default_allow and default_deny.
Access view
The Access panel on the Governance page is a per-connector view of how governance is treating live traffic in the selected scope. Each row carries:
Click a row to open the Audit samples drawer, which shows the most recent denied and allowed calls against that connector, with timestamps, the agent that initiated each call, and the IdentityLink for the user behind it. This is the fastest way to confirm a posture or rule change is having the effect you expected before you tighten further.
Common scenarios
Governance vs. guardrails
Governance and guardrails answer different questions:
If you need finer control, for example matching on parameter values, redacting matched content instead of blocking, or raising an alert without disrupting traffic (a guardrail in Monitor mode, switched on under Alerts > Configuration), use custom guardrails instead.
Related
Guardrails
Enforce policies on tool names, parameters, and content
Connectors
Browse upstream connectors and quick-block from the table
Audit Log
Review every governance and guardrail enforcement event
RBAC
Control who can manage governance rules