mo is a command-line client over the MerchantOps API. You authenticate once
with OAuth 2.0 (PKCE) — a browser sign-in that stores tokens in your OS
keychain — and the CLI then rides the same authenticated, organization-scoped
API as the dashboard. It holds no database credentials or service secrets.
A packaged install (Homebrew / PyPI) is on the way. For now, install from source
as shown below.
Install
Configure
Settings resolve in order: environment variable →~/.config/merchantops/config.toml → default.
Use the API base URL your MerchantOps admin gave you for your organization —
the same one the API keys examples use as
$MERCHANTOPS_API_URL. The audience is an identifier, not necessarily a URL you
can open; it has to match exactly what the API is configured to accept, so take
it from your admin too.
- Environment variables
- config.toml
Sign in
Commands
jq: