CLI
furnace is a command-line client for the Furnace REST API. It runs on Bun, signs in through the device flow, stores the resulting personal access token locally, and sends it as a bearer token on every call. Each command is a thin wrapper over one or a few REST endpoints; see /api/reference for the endpoints themselves. Setup is on Set up the furnace CLI.
Run furnace with no arguments, --help or -h to print the usage text.
Authentication
| Command | What it does | Main flags |
|---|---|---|
furnace auth login | Starts the device flow, shows a code to compare with the browser, opens the approval page and waits; on approval saves the new personal access token. | --read-only, --namespace=NS[,NS...], --scope=PERM[,PERM...] narrow the token that is minted. |
furnace auth logout | Revokes the stored token on the server and deletes it locally. The local copy is removed even if the server call fails. | none |
furnace auth whoami | Calls the API with the stored token and prints the endpoint, token label, last four characters of the token, the user it resolves to, and its scope (read-only, namespaces, permissions, expiry). | none |
The token label is the machine's hostname followed by CLI.
Tasks and boards
These commands work on Kvark tasks and Boards through the v2 operation routes (/api/v2/kvark/read/... and /api/v2/kvark/write/...). Results are printed as JSON, except where noted.
| Command | What it does | Main flags |
|---|---|---|
furnace tasks list | Lists your tasks as a status / title / tags table. When more results exist it prints the cursor to continue from. | --board=ID, --column=ID, --status=todo|in_progress|done, --tags=a,b, --limit=N, --cursor=CURSOR |
furnace tasks get <id> | Prints one task. | none |
furnace tasks create <title> | Creates a task. | --body=TEXT, --visibility=server-readable|zero-knowledge, --board=ID, --status=..., --tags=a,b, --due-at=MS, --idempotency-key=KEY |
furnace tasks update <id> | Changes a task's fields. | --title=TEXT, --body=TEXT, --tags=a,b, --due-at=MS, --clear-due-at |
furnace tasks move <id> | Moves a task to a status column, optionally on another board or next to another task. | --status=... (required), --board=ID, --after=ID, --before=ID |
furnace tasks complete|archive|restore|delete <id> | Runs the named action on one task. | none |
furnace tasks tags | Prints every tag in use, sorted, one per line. | none |
furnace tasks backfill-index | Rebuilds the task index in batches until it reports complete, then prints how many items it checked. | none |
furnace boards list | Prints each board's id and name, tab-separated. | none |
furnace boards create <name> | Creates a board with three columns: To do, In progress, Done. | --description=TEXT |
furnace boards update <id> | Renames a board or changes its description. | --name=TEXT, --description=TEXT |
furnace boards archive <id> | Archives a board. | none |
furnace kvark sealed-deposit [text] | Encrypts the text on your machine and deposits it in Kvark; the server receives only ciphertext and a sealed key. Reads standard input when no text is given. Fails until the vault owner has unlocked Kvark once. | none |
A paged task listing is tied to its cursor. If tasks change after a cursor was issued, the API answers stale_cursor and tasks list tells you to run again without --cursor; tasks tags restarts from the beginning once on its own.
Media
| Command | What it does | Main flags |
|---|---|---|
furnace media list | Lists assets as a type / status / visibility / size / name / id table. | --type=image|file|audio, --visibility=public|protected, --limit=N |
furnace media upload <path> | Uploads a file and prints the new asset id. Images and other files go up in one request. Audio goes up as a multipart session in fixed-size parts with progress on standard error; a failed part aborts the session. Audio files are limited to 100 MiB. | --visibility=public|protected (default public), --tags=a,b, --mime=TYPE, --name=NAME |
furnace media replace <id> <path> | Replaces an image asset's file (JPEG, PNG, WebP or GIF) and prints the asset id. | --ai-describe, --mime=TYPE, --name=NAME |
furnace media delete <id> [<id> ...] | Deletes one asset, or several in one batch request, and prints how many were deleted. | none |
The MIME type comes from the file extension unless --mime is given.
Workflows
| Command | What it does | Main flags |
|---|---|---|
furnace workflows publish <definition.json> | Publishes a new revision of a workflow definition. The file must be a JSON object with a non-empty workflowKey. Prints key@revision. | --namespace=NS (required), --display-name=NAME, --description=TEXT, --retention-days=N, --expected-latest-revision=N |
furnace workflows start <key> | Starts a run with the contents of a file as its input and prints the run id. | --namespace=NS and --input=PATH (required), --content-type=TYPE (default text/plain), --revision=N, --idempotency-key=KEY |
furnace workflows status <run-id> | Prints a run's status, revision, epoch, waiting node, output and error. With --watch it polls every two seconds, printing only changes, until the run is completed, failed or canceled. | --watch, --json |
furnace workflows cancel <run-id> | Cancels a run and prints its new status. | none |
furnace workflows restart <run-id> | Restarts a parallel node of a run. | --parallel-node=ID and --idempotency-key=KEY (required) |
furnace workflows send-event <run-id> | Delivers an event, with a file as its artifact, to a waiting node. | --node=ID, --event=NAME, --input=PATH, --idempotency-key=KEY (all required), --content-type=TYPE |
Local MCP server
furnace mcp runs a Model Context Protocol server over standard input and output, for MCP clients such as Claude Code or Claude Desktop that launch a local process. It uses the same stored token and endpoint as the other commands, and reads the token again on every tool call, so a new furnace auth login takes effect without restarting the server. With no token, each tool returns an error telling you to run furnace auth login.
| Tool | What it calls |
|---|---|
whoami | The caller-identity endpoint; also returns the endpoint and token label. |
list_tasks, get_task, move_task | Kvark task reads and moves. get_task and move_task accept a task id or a link containing ?task=<id>. |
list_boards, create_board, rename_board, archive_board | Kvark Board management. |
share_board, unshare_board, leave_board, list_board_shares | Board sharing through the Task List app. share_board returns the same confirmation whether or not the email is registered. |
list_content, get_content | Content pages in a namespace: a list, one page by id or URL path, or the namespace's navigation tree. |
search_dictionaries | Search across the Florio (1611) and Crusca (1612) historical Italian dictionaries. |
ledger_read, ledger_write, ledger_action_read, ledger_action_write | Any Ledger operation by name through the v2 routes; reads need api:read, writes api:write, and both need ledger:admin. |
Board operations are tied to a user, so they need the user-bound token from furnace auth login.
Furnace also runs a remote MCP server that needs no local process; see MCP and Connect an agent over MCP.
Endpoint, profiles and stored credentials
The token is stored as JSON at ~/.config/furnace/auth.json, file mode 0600 in a 0700 directory, together with the endpoint that minted it, its label and its creation time. A token works only against the deployment that minted it.
The endpoint is chosen in this order:
- an environment variable that overrides the API endpoint, for one invocation; if it differs from the stored endpoint the CLI warns that calls may fail with 401;
- the endpoint stored with the token;
- the default,
https://api.falcata.io.
FURNACE_PROFILE selects a separate credentials file, ~/.config/furnace/auth.<profile>.json, so one machine can hold tokens for several deployments side by side. Profile names may contain letters, digits, underscores and dashes.
FURNACE_PROFILE=prod furnace auth login
FURNACE_PROFILE=prod furnace auth whoami
The same variable in an MCP client's server entry makes furnace mcp use that profile.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success. |
| 1 | The API answered 401, a file was not found, the device-flow sign-in was denied, expired or timed out, or (for auth whoami, tasks list and the media commands) you are not signed in. |
| 2 | Any other API or runtime error, including "not signed in" from the remaining commands. |
| 64 | Unknown command, wrong usage, or an audio file over the size limit. |
The command sources also contain videos list and videos delete handlers, but the furnace entry point does not wire them up, so they are not available commands.