Skip to main content
Set tokens, headers, and view configuration details.

Usage

Subcommands

set-token

Set an authentication token (PAT, API key) for an MCP connector. The token is stored as an Authorization: Bearer header.
If the token is not provided as an argument, you’ll be prompted to enter it securely (hidden input).

set-header

Set a custom HTTP header for an MCP connector.

set

Set a top-level configuration value.
If value is omitted for deploy-key or device-email, Ultra reads it from stdin (or the ULTRA_DEPLOY_KEY / ULTRA_DEVICE_EMAIL environment variable) so the secret never appears in shell history.

Drift enforcement

drift-enforcement controls whether Ultra keeps itself installed in the MCP agents it finds on this machine, and how far it goes:
default and auto_install differ in kind, not degree. default brings new connectors under Ultra in the agents it already manages, but installs into nothing new. auto_install does the reverse: it installs Ultra into every agent it detects, and deliberately leaves those agents’ other connectors exactly as they are. Neither is strictly stronger than the other, so pick the one matching what you want, rather than reading the list as a ladder. enforce_all is the only mode that does both.
default and auto_install are the two values the auto-install checkbox in the installer’s agent-setup wizard toggles between. See Configure Agents.
enforce_all rewrites the configuration of MCP connectors you did not add through Ultra, so it is meant for centrally managed deployments rather than an individual machine. Set it deliberately.

When your organization sets it for you

An organization can set drift enforcement centrally, from Governance in Ultra Hub. When it has, the value your organization set wins and the local ultra config set drift-enforcement value is ignored — including when the organization’s value is default. Two things follow that are worth knowing before you go looking for a bug:
  • The change lands on the next start. Your device resolves drift enforcement once when Ultra starts. A value that arrives afterwards is stored and takes effect the next time you run ultra start, not immediately.
  • ultra config get drift-enforcement reads your local value, not the effective one. If your organization is setting it, the two can differ.
While a device is unlinked from Hub, the local value is the one that applies. Linking to a workspace clears any previously stored organization value, so a device moved between workspaces never keeps the old one. See Governance for setting this at the organization or workspace level.

get

Read back a configuration value.

path

Show the configuration file path.

Examples