Set up the furnace CLI
Install
The CLI is the @furnace/cli package. It provides a furnace executable that runs on Bun. The package is marked private and is not published to a public registry, and its sources show no install command for people outside the Furnace workspace, so this page does not give one.
Sign in
furnace auth login
Login uses the device authorization flow, so the CLI never sees your password or browser session:
- The CLI asks the API for a device code and prints a short user code, such as
WDJB-MJHT. - It opens the approval page in your browser, with the code already filled in. If the browser does not open, paste the printed URL yourself.
- Sign in with Falcata ID if you are not signed in, check that the code in the browser matches the one in your terminal, and approve.
- The CLI polls until you approve, then receives a new personal access token and saves it.
Compare the two codes before you approve. Approving a code you did not start would give your account's token to whoever started it.
The token is saved to ~/.config/furnace/auth.json with file mode 0600, together with the endpoint it was minted against. It is labelled with your machine's hostname followed by CLI. The code expires if you do not approve in time; denying it or letting it expire ends the login, and you run furnace auth login again.
Ask for a narrower token
By default the token can do what your account can do. Flags at login request a narrower one; the request is checked against your own permissions when you approve, and a token can never exceed its owner.
| Flag | Effect |
|---|---|
--read-only | The token can only read. |
--namespace=NS[,NS...] | The token works only in the listed namespaces. |
--scope=PERM[,PERM...] | The token holds only the listed permissions. |
furnace auth login --read-only --namespace=<namespace>
The CLI prints the requested scope next to the user code so you can check it before approving. See Permissions, entitlements and flags for permission strings.
Check who you are
furnace auth whoami
This makes a round trip to the API, so it also tells you whether the stored token still works (it may have been revoked). It prints:
Endpoint: https://api.falcata.io
Label: <hostname> CLI
Token: fpat_…abcd
User: you@example.com
Scope:
read-only
namespaces: <namespace>
Scope appears only for a narrowed token and can also show its permissions and expiry. If you are not signed in, it says so and exits with status 1.
To sign out, furnace auth logout revokes the token on the server and deletes the local copy.
Endpoints and profiles
The CLI talks to https://api.falcata.io unless the stored token was minted against another endpoint, or an environment variable overrides the endpoint for one run. To keep tokens for several deployments on one machine, set FURNACE_PROFILE; each profile has its own credentials file.
FURNACE_PROFILE=prod furnace auth login
What the CLI covers
- Kvark tasks and Boards: list, create, update, move, complete, archive, restore and delete tasks; list, create, update and archive boards.
- Sealed deposits into Kvark, encrypted on your machine.
- Media assets: list, upload (including large audio files in parts), replace images, delete.
- Workflows: publish definitions, start runs, watch status, cancel, restart a parallel node, send events.
furnace mcp: a local MCP server over standard input and output that gives an MCP client the same token.
Every command and flag is on the CLI page. For raw HTTP calls, see Your first API call.