Remote servers (local ↔ remote)
The merido CLI normally operates on the local instance (the SQLite store under ~/.merido). You can also point it at a remote merido server's control plane and switch back and forth.
Connect
In the remote server's dashboard, create a Management token (
mdm_…).Add the server and validate the token:
bashmerido server add prod --url https://merido.dev --token mdm_xxxxxxxx # omit --token to be promptedSwitch to it:
bashmerido server use prod merido keys list # now lists the remote server's keys merido server use local # back to this machine
Run a single command against a context without switching:
bash
merido --context prod providers listWhat runs remotely
Read commands work against the active context: keys list, providers list, accounts list, gain. Mutating commands (keys create, providers add, accounts remove) and start always run locally for now.
Where the config lives
Servers are stored in ~/.merido/cli.toml (mode 0600). The mdm_ token is stored in plaintext — treat that file like an SSH key, especially on shared machines.