Authentication
One Personal Access Token (PAT) covers all your projects. Get one from /app/settings/cli-tokens in the web console.
Login
loguro login # paste a pat_… when prompted The PAT is saved to ~/.config/loguro/auth.json. The MCP server reads the same file, so logging in once with the CLI works for every IDE you connect MCP to.
Whoami / logout
loguro whoami # show current user / token info
loguro logout # remove the saved PAT Environment variables (CI / one-shot)
export LOGURO_TOKEN=pat_xxx
export LOGURO_PROJECT=my-app
export LOGURO_BASE_URL=https://logu.ro # optional override | Variable | Purpose |
|---|---|
LOGURO_TOKEN | Active PAT. Overrides the saved auth.json. |
LOGURO_PROJECT | Project slug to use when no .loguro link is found. |
LOGURO_BASE_URL | Override the API host (self-hosted / staging). |
LOGURO_TOKEN is the recommended way to authenticate in CI — no need to run loguro login on your runners.
Resolution order
When a command needs to know which project to query, the CLI resolves in this order:
--app <name>flag (explicit per-command).loguroin current dir or any ancestor (slug or app)- Default app from config store
LOGURO_PROJECTenv /--project(with the active PAT)
The active PAT is LOGURO_TOKEN (env) or the saved auth.json (from loguro login).