~/.ultracontext/config.json as the runtime single source of truth. The daemon, TUI, and MCP Server read from it during normal operation.
Run
ultracontext config to create this file interactively.Config file
bash
ultracontext config) or on first daemon start. Override the path with ULTRACONTEXT_CONFIG_FILE.
JSON
Capture preferences
The onboarding wizard (
ultracontext config) writes these keys. Edit the file directly to adjust them later — the daemon hot-reloads on changes.
Who reads this
Setup wizard
bash
Environment variables
Environment variables override values from~/.ultracontext/config.json.
Core
Daemon
Storage
WebSocket (daemon-TUI communication)
Source globs
Source toggles
TUI
Precedence
Resolution order for runtime values:- Environment variables
~/.ultracontext/config.json- Built-in defaults
Dotenv
When running from source, daemon and TUI load environment variables from.env files in this order:
- Monorepo root
.env apps/daemon/.envorapps/tui/.env- Custom path via
DOTENV_CONFIG_PATH
When installed globally via
npm install -g ultracontext, use ~/.ultracontext/config.json for API key and bootstrap mode. Environment variables still work for all other settings.