The KanbanThing CLI

kanbanthing is a terminal client for a KanbanThing board. It signs in to a board with its link and password, then creates boards, lists, adds, edits and moves cards, and manages columns from a shell. Every command takes --json, so a script or an AI agent can drive the same board a person has open in a browser.

Install

Requires Node 20 or newer.

npm i -g kanbanthing

The binary is called kanban. To run it without installing anything:

npx kanbanthing

Quickstart

Sign in with the board link you already share with your team. The board password is asked for once and kept on this machine.

kanban login https://www.kanbanthing.com/board?id=<board-id>
kanban add "Write the spec"
kanban ls
kanban mv "Write the spec" Done

Use it from an AI agent

KanbanThing also hosts an MCP server, so an agent can drive a board without the CLI. It speaks Streamable HTTP at https://www.kanbanthing.com/mcp, needs no account and no API key, and works with any MCP client. Every tool takes a board id or board URL: there is deliberately no way to list or search boards, so paste the board link into the chat and keep the password to hand.

claude mcp add --transport http kanbanthing https://www.kanbanthing.com/mcp

Add --scope user to make it available in every project instead of only this one.

Tools

ToolMeaning
create_boardCreate a board and return its id, share URL and password
get_boardThe board's name, expiry, columns and card counts
list_columnsThe columns on a board, left to right, with their ids
list_cardsThe cards on a board, or only those in one column
create_cardAdd a card to a column
move_cardMove a card to another column
update_cardChange a card's title, description, due date or colour
delete_cardDelete a card

There is an installable skill and a longer setup guide for agents, covering what each tool takes and how to make an agent good at keeping a board current.

Commands

CommandMeaning
login <board-url>Sign in to a board and remember it on this machine
logoutForget the stored credentials for a board
boardsList the boards you are signed in to
use <alias>Set the board later commands run against
create <name>Create a board and sign in to it
boardShow the current board: name, columns and expiry
ls [--column <name>] [--all]List cards, optionally in one column
add <title>Add a card
mv <card> <column>Move a card to another column
edit <card>Change a card's title, description, colour or due date
rm <card>Delete a card
columnsList the columns on the board
column add <name>Add a column
column rename <col> <name>Rename a column
column rm <col>Delete a column and the cards in it
rename <name>Rename the board
passwordChange the board password
sharePrint the board's share link
deleteDelete the board
versionPrint the CLI version
help [command]Show usage for the CLI or one command

Every command runs against the board set by use, or the one named by --board.

Global flags

FlagMeaning
--jsonMachine-readable output on every command
--board <alias|uuid>Run this command against a board other than the default
--no-colorPlain output with no ANSI escapes
--helpUsage for the CLI, or for the command in front of it
--versionPrint the version and exit

Scripting the CLI

Add --json to any command and it prints a JSON object instead of formatted text. To sign in without a prompt, set KANBAN_BOARD to a board id or URL and KANBAN_PASSWORD to its password.

export KANBAN_BOARD=<board-id>
export KANBAN_PASSWORD=<board-password>
kanban ls --json

Exit codes:

CodeMeaning
0Success
1Error
2Usage error
3Authentication failure
4Not found

Source

The CLI is open source at github.com/tronschell/kanban-cli.

Back to home