Summary
The auth docs for mmx-cli say credentials are persisted to ~/.mmx/credentials.json, but in a real Linux setup the CLI can be authenticated and fully functional while that file does not exist.
This makes troubleshooting misleading, because users and agents will look for ~/.mmx/credentials.json, conclude auth is missing, and waste time debugging the wrong thing.
What I observed
Environment:
- Linux
mmx installed with user npm prefix (npm_config_prefix=/home/chris/.npm-global)
- CLI version:
mmx 1.0.7
Observed behavior:
~/.mmx/credentials.json does not exist
mmx quota show --non-interactive --quiet --output json still succeeds
- image generation also succeeds
So the CLI is definitely authenticated, just not via the location documented in the skill/docs snippet.
Reproduction
- Install
mmx-cli
- Run
mmx auth login --api-key ...
- Check for
~/.mmx/credentials.json
- Run
mmx quota show --non-interactive --quiet --output json
Actual result
- No
~/.mmx/credentials.json
- Quota command succeeds, proving valid auth is present somewhere else
Expected result
One of these should be true:
- auth is actually persisted to
~/.mmx/credentials.json, or
- docs are updated to explain the real credential storage path/mechanism, or
- the CLI exposes a command to show active config/auth source
Why this matters
This is especially confusing in agent/CI environments, where docs imply a simple file existence check is a valid auth diagnostic. Right now that check is false-negative.
Summary
The auth docs for
mmx-clisay credentials are persisted to~/.mmx/credentials.json, but in a real Linux setup the CLI can be authenticated and fully functional while that file does not exist.This makes troubleshooting misleading, because users and agents will look for
~/.mmx/credentials.json, conclude auth is missing, and waste time debugging the wrong thing.What I observed
Environment:
mmxinstalled with user npm prefix (npm_config_prefix=/home/chris/.npm-global)mmx 1.0.7Observed behavior:
~/.mmx/credentials.jsondoes not existmmx quota show --non-interactive --quiet --output jsonstill succeedsSo the CLI is definitely authenticated, just not via the location documented in the skill/docs snippet.
Reproduction
mmx-climmx auth login --api-key ...~/.mmx/credentials.jsonmmx quota show --non-interactive --quiet --output jsonActual result
~/.mmx/credentials.jsonExpected result
One of these should be true:
~/.mmx/credentials.json, orWhy this matters
This is especially confusing in agent/CI environments, where docs imply a simple file existence check is a valid auth diagnostic. Right now that check is false-negative.