Skip to content

basemodo login

Sign this CLI in from your browser.

Terminal window
basemodo login [OPTIONS]

Opens Basemodo in the browser to approve this device (or, over SSH, shows a code to enter at basemodo.com/device) and keeps the token. The local MCP uses the same login.

Arguments

  • --device: Show a code to enter in a browser on any device, instead of opening the browser here. Chosen by itself over SSH.
  • --no-browser: Print the sign-in URL instead of opening the browser.

Like every command, it also takes the global options --json and --api-url.

Examples

Sign in from the browser of this computer:

Terminal window
basemodo login

Sign in over SSH, or from another device, with a code:

Terminal window
basemodo login --device

Output

With --json, it prints {"person": {"id", "email"}}.

From an agent

Terminal only: it needs the person at their browser; an agent asks them to run it.

Explained in