Flags & config
Provider CLI flags, config file keys, environment variables, and on-disk paths.The provider CLI resolves every setting in this order, highest first:
- Command-line flag (for example
malibu-cli serve --port 8081) - Environment variable (
MACPROVIDER_*) - Config file (
~/.config/macprovider/config.yaml) - Built-in default
malibu-cli is the Malibu-branded command the installer puts on your PATH. It is a symlink to the shipped binary, macprovider-cli, so both names take the same flags. Environment variables and paths keep the macprovider name, because that is the layout the provider ships with on disk.
The installer and the Malibu app write this config for you. Most providers never need to edit it. If you do change it, restart the provider afterwards (see Restart after a config change).
serve flags
serve is the default subcommand, and the launchd service runs macprovider-cli serve --config <path>. The table covers the flags you are most likely to need. Run malibu-cli help serve for the full list, including tuning and experimental options.
When
max_context_override is unset, the default max context depends on unified memory:
Config file
The default path is~/.config/macprovider/config.yaml, with file mode 0600. The installer merges in the keys it owns: model, provider_id, coordinator_url, port, enable_receipts, credential_store, and auto_update_enabled. It keeps any other keys you have set. When autotune applies a recommendation, it adds the model artifact binding and the tuned serve settings.
A typical installer-written file looks like this. The values are illustrative:
Do not hand-edit
model to point at a model outside the signed catalog. To change models, use malibu-cli autotune --recommend --apply or malibu-cli models switch. Paid traffic requires the served weights to match a signed catalog artifact. See Model catalog.
Installer environment variables
install.sh takes only --dry-run and --help. Everything else is set through environment variables. bash install.sh --help lists most of them; it does not list MACPROVIDER_DONOR_MODE.
Paths
By default the provider credential lives in the macOS Keychain. Headless installs keep it in an owner-only protected file.
Logs can contain request metadata and local paths, so do not paste raw logs into public issues or chats. Share the output of
malibu-cli status --advanced or malibu-cli doctor report --json instead.
Restart after a config change
Related
- malibu-cli: command reference
- Headless install
- Provider autoupdate