A browser sign-in reaches MoleSignal’s MCP endpoint only. Reporting deployments, uploading
source maps and symbols, and sending logs call MoleSignal’s API and take an API token.
Sign in in the browser
- The CLI registers itself with MoleSignal and opens the MoleSignal authorization page in the default browser. Sign in to MoleSignal there if no session exists yet.
- The authorization page names the client, the account, and the organization, and lists what the access allows. A user in several organizations picks one in Organization; the access is bound to it.
- Click Authorize. The browser returns to the CLI, which reports the number of tools it can use.
mcp and offline_access, so the sign-in renews itself until it is
revoked. The authorization page waits five minutes; after that, the command ends and the earlier
sign-in, if any, stays as it was. A refused or interrupted sign-in also leaves the earlier one in
place.
The browser returns to a listener on
http://127.0.0.1 that exists only while the command runs.
Nothing listens on the machine after the command ends. On a remote machine reached over SSH, the
browser cannot reach that listener: sign in there with an API token.Sign in with an API token
Create a token at Identity & Access → API tokens, then pass it on standard input:Use a token without saving it
Set the address and the token in the environment, as on a build machine. Nothing is saved:--url and --token do the same for one command. A token saved for one address is never sent
to another.
Keep several sign-ins
Each sign-in is kept in a profile: an address and the access to it. Several profiles keep the CLI signed in to several MoleSignal instances, or to several organizations of one instance.--profile names the profile a sign-in goes into:
--profile or MOLESIGNAL_PROFILE choose another for one command. A first sign-in without
--profile goes into the profile default.
Where the sign-in is kept
The profiles are saved in~/.config/molesignal/config.json, readable by its owner only. The
folder follows XDG_CONFIG_HOME when it is set, and %APPDATA% on Windows.
MOLESIGNAL_CONFIG points to another file.
Work behind a proxy
HTTPS_PROXY (or HTTP_PROXY) sends every request of the CLI through a proxy, and NO_PROXY
lists the hosts reached without it:
NODE_EXTRA_CA_CERTS.
Check the sign-in and the setup
molesignal status reports the address, the profile, the server that answered, the MCP protocol
revision, the kind of sign-in, and the number of MCP tools:
molesignal whoami reports the user, the organization, the role, and the permissions MoleSignal
grants:
molesignal doctor checks each thing the CLI depends on and says what to do about a failure:
Node.js, the permissions of the configuration file, the address, the proxy, the network and TLS,
the clock, the sign-in, and the MCP endpoint. It exits with 1 when a check fails:
End a sign-in
molesignal logout forgets the saved sign-in of the current profile on this machine: