Usage
Subcommands
set-token
Set an authentication token (PAT, API key) for an MCP connector. The token is stored as an Authorization: Bearer header.
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.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 localultra 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-enforcementreads your local value, not the effective one. If your organization is setting it, the two can differ.