Config Search Order
Ultra searches for configuration files in this order (first match wins):ultra.yamlorultra.yml(current directory).ultra.yamlor.ultra.yml(current directory)$XDG_CONFIG_HOME/ultra/config.yaml(default:~/.config/ultra/config.yaml)$XDG_CONFIG_HOME/ultra/config.yml~/.ultra.yamlor~/.ultra.yml
Show Config Path
Default Config Path
Full Example
Configuration Reference
server
upstream
A map of named upstream MCP servers. Each server uses either stdio transport (command) or HTTP transport (url).
observability
hub
Hub authentication tokens (
access_token, refresh_token, token_expiry) are managed automatically by ultra login and should not be edited manually.Policy enforcement
Policy enforcement is not configured in this file. Guardrails and governance rules are configured in Ultra Hub and synced automatically to every connected gateway, so enforcement stays consistent across your fleet without editing local config.File Permissions
The config file is saved with0600 permissions (owner read/write only) because it may contain authentication tokens and API keys.
Programmatic Config Management
Useultra config subcommands to modify configuration: