Skip to main content
Detect installed MCP clients and configure them to use Ultra as their MCP server.

Usage

Flags

Examples

Supported Clients

What It Does

The install command writes Ultra as an MCP server entry in the client’s configuration. For example, Claude Desktop’s config becomes:
For Codex, the TOML config at ~/.codex/config.toml becomes:
For Hermes, the YAML config at ~/.hermes/config.yaml becomes:
Existing servers and any non-MCP top-level keys in the Hermes config are preserved. Servers with enabled: false are filtered out when discovering existing entries. If --config is specified, the args include --config <path>.

Auto-linking with deploy keys

Ultra auto-links the gateway to Hub at install time when invoked via:
  • ultra install --all — used by MDM deployments to configure every detected client in one shot
  • ultra install --client ona — used by the Ona devcontainer entry point, which needs the gateway named before any MCP client starts
After configuring clients, these paths check for a deploy key (via ULTRA_DEPLOY_KEY environment variable, config file, or managed preferences). If a deploy key is found, the gateway is linked immediately:
  • The gateway registers with the workspace scoped by the deploy key
  • Device identity (email, external ID) is resolved from available sources (MDM preferences, environment variables)
  • The gateway appears in the Hub dashboard before any MCP client launches
For all other install paths — the interactive wizard, plain ultra install --yes, and per-client installs other than Ona — the gateway links during the first ultra start instead. OAuth-authenticated users always link at ultra start, regardless of which install path was used.

Backups

By default, the existing client config is backed up before modification. Use --no-backup to skip.