Linking a Gateway
After logging in, link your gateway to a workspace:- Fetches your available workspaces from Hub
- Lets you choose which workspace to link to
- Prompts for a gateway name (defaults to your hostname)
- Registers the gateway with Hub
Non-Interactive
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--workspace | -w | Workspace ID to link to | |
--name | -n | hostname | Name for this gateway |
Sync Lifecycle
Once linked, the gateway syncs with Hub duringultra start:
- Startup — Gateway connects to Hub and begins background sync
- Data sync — Traces and audit events are synced at the configured interval (default: 60s)
- Heartbeats — Sent at half the sync interval to report gateway health
- Token refresh — OAuth tokens are refreshed automatically when needed
Sync Configuration
Offline Mode
Whenoffline_mode: true, Ultra continues operating normally even if Hub is unreachable. Data is stored locally and can be synced later.
Unlinking a Gateway
Remove the gateway’s connection to Hub:- Notifies Hub that this gateway is disconnecting
- Clears the gateway ID and workspace ID from local config
- Preserves authentication tokens (for future re-linking)
- Keeps local data intact
Gateway Status
Hub tracks each gateway’s status:| Status | Description |
|---|---|
| Online | Gateway is syncing and sending heartbeats |
| Idle | No heartbeat received recently — the gateway is between sync cycles or temporarily unreachable |
| Pending | Gateway registered but hasn’t synced yet |
Auto-linking with deploy keys
When a deploy key is configured, the gateway links automatically without any manualultra link step. This happens at one of two points:
- At install time —
ultra install --all(used by MDM deployments) andultra install --client onalink the gateway immediately, so it appears in Hub before any MCP client opens - At
ultra start— for all other paths (the interactive wizard,ultra install --yes, and per-client installs other than Ona), the gateway links on first startup
Linking via Hub Web UI
You can also view and manage gateways from the Hub web interface:- Navigate to your workspace in Hub
- The Gateways section shows all linked gateways with their status (Online, Idle, Pending)
- Gateway details include hostname, last sync time, and linked workspace
ultra link). The web UI provides monitoring and management of existing gateways.
Gateway detail panel
Click any gateway row in the Gateways list to open a slide-out detail panel with:- Host — Operating system, architecture (e.g.,
ARM64), hostname, gateway version, and gateway type (Personal,Team, etc.). - Environment — The environment the gateway runs in (
Local,Dev,Prod, etc.). - Activity — Status (
Online,Idle,Offline), last-seen timestamp, creation date, and linked workspace. - Health — Enforcement profile, last configuration scan time, the count of fully-managed MCP servers (e.g.,
5 / 5), and the number of drift events detected. - Clients — A table of MCP clients connected to this gateway:
| Column | Description |
|---|---|
| Client | Client name (for example, Claude Code, claude-ai) |
| Status | Whether the client is currently managed by Ultra |
| Version | Reported client version |
| Calls | Number of tool calls routed through this gateway from the client |
| Active | Timestamp of the most recent activity |