janosik

v0.6.0
io.github.VitalyTolstik/janosik Checked 1 day ago Published 3 days ago

Drive a Janosik Kanban board from any MCP client: ready work, leases and task specs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

janosik_list_boards List Janosik boards

List every board the authenticated user can access, including archived boards, with the caller's role and active card/column counters. Use it first to find a board id for the other tools.

ParameterTypeDescription
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_get_board Get a Janosik board

Read a board: columns with their cards, every card's badges, the epics, label set and the board version (`seq`). Card and column ids returned here are what the other tools expect; pass `seq` as a write's expectedVersion to refuse a write that would clobber a concurrent change. Pass epicId to read that epic and its subtasks across columns, or columnId to read a single column. Archived cards have no active column and are included only with include_archived. The columnWip field reports current occupancy and limit for each returned column with a WIP limit, including cards outside the epic filter.…

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnIdstringRead only this column (and its cards).
detailstringRead projection: 'full' (default) includes each card's description and checklists; 'summary' omits them (a size hint is kept) — use it to scan a board whose cards carry long documents. Read a single…
epicIdstringRead only this epic and its cards. Combine with columnId to narrow the result.
include_archivedbooleanAlso list the board's archived cards, even with columnId set.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_create_board Create a Janosik board

Create a new empty board with the given title and return it. The new board has no columns yet — add them with janosik_create_column.

ParameterTypeDescription
title *stringBoard title.
idempotencyKeystringOptional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_rename_board Rename a Janosik board

Change a board's title.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
title *stringNew board title.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_archive_board Archive a Janosik board

Archive a board: its data is kept and it is marked archived in board listings. Requires ADMIN. Reverse it with janosik_unarchive_board.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_unarchive_board Unarchive a Janosik board

Restore an archived board to active status (ADMIN only).

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_delete_board Delete a Janosik board

Remove a board and its cards from normal access (ADMIN only). For routine cleanup, use janosik_archive_board so the board can be restored through normal board tools. Use deletion only when removal is specifically intended.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.

janosik_export_board Export a Janosik board

Return a board as a portable JSON envelope (the same format the app imports/exports), for backups or janosik_import_board on another instance. A large board does not fit in a response: pass outputPath to save it to a file instead (needs JANOSIK_MCP_ALLOW_FS=1).

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
outputPathstringSave the envelope to this NEW file instead of returning it (relative paths resolve against JANOSIK_MCP_FS_ROOT).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_import_board Import a Janosik board

Create boards from a JSON envelope produced by janosik_export_board (or the app's export). Returns the imported boards.

ParameterTypeDescription
envelope *objectThe board envelope object to import.
idempotencyKeystringOptional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_get_workflow Read the board workflow

Read the board's optional card workflow: its enabled flag, initial and done columns, and the directed transitions (from → to) with roles and conditions. Pass cardId to also check which columns that card may move to right now. A board without a workflow allows every move; moving is still subject to WIP limits and permissions.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardIdstringAlso evaluate this card's allowed moves.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_create_epic Create an epic

Create a board-scoped epic and return its id. Assign cards with janosik_create_card or janosik_update_card.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
title *stringEpic title.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
descriptionstringEpic description (markdown).
dueDateDue date, ISO-8601 or Unix milliseconds.
epicIdstringClient id for the new epic. Reuse it on retry.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
ownerIdUser id of an accepted board member.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
startDateStart date, ISO-8601 or Unix milliseconds.

janosik_update_epic Update an epic

Edit an epic, complete it or reopen it. Completion leaves its cards in their current columns.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
epicId *stringEpic id from janosik_get_board.
descriptionNew description. Null clears it.
dueDateDue date, ISO-8601 or Unix milliseconds. Null clears it.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
ownerIdAccepted board member user id. Null clears it.
startDateStart date, ISO-8601 or Unix milliseconds. Null clears it.
statusstringCompleted to finish the epic, active to reopen it.
titlestringNew epic title.

janosik_delete_epic Delete an epic

Soft-delete an epic and keep its cards in their columns. Requires an admin-scoped token and follows the board's destructive policy.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
epicId *stringEpic id from janosik_get_board.
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_create_column Create a column

Add a column to a board. Columns hold the cards; the board allows a bounded number of them.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
title *stringColumn title.
columnIdstringClient id for the new column — a retry then returns the first column instead of a duplicate.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_rename_column Rename a column

Change a column's title.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
title *stringNew column title.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_move_column Move a column

Reorder a column on the board by moving it to a new zero-based position. Use janosik_get_board to see the current order.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
position *integerZero-based position among the board's columns.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_duplicate_column Duplicate a column

Copy a column and every card in it, placing the copy immediately to the right of the original.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
titlestringTitle for the copy (defaults to the source title).

janosik_sort_column Sort a column

Sort a column's cards by a criterion. This replaces the current manual order; a later drag changes only the dragged card's place.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
sortBy *stringSort key.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_column_wip_limit Set a column WIP limit

Set or clear a column's work-in-progress limit. Pass a number to cap the column, or omit it to remove the cap.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
wipLimitintegerMax cards allowed, or omit to remove the limit.

janosik_set_column_accent Set a column accent

Paint a column accent using the card-cover palette. The board's column style decides how the accent is rendered. Omit `accent` to clear it.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
accentColor/gradient pair, or omit to remove the accent.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_clear_column Clear a column

Archive every card in a column in one command (a common way to empty a 'Done' column without deleting the cards). Restore individual cards with janosik_unarchive_card; MCP does not expose undo.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_delete_column Delete a column

Remove a column and its cards. To keep the cards, archive them with janosik_clear_column before deleting the empty column. Use deletion when removing the column is specifically intended.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_create_card Create a card

Create a card in a column. Optionally set its description, priority, assignee, epic and due date in the same call. Returns the new card id, the highest board sequence in the batch and the batch run id.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
columnId *stringColumn id (from janosik_get_board).
title *stringCard title.
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
assigneeIdAssignee user id (see janosik_list_members).
cardIdstringClient id for the new card. Pass a stable id so a retried call returns the first card instead of a duplicate.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
descriptionstringCard description (markdown).
dueDatestringDue date, ISO-8601 (e.g. 2026-11-01T09:00:00Z).
epicIdActive epic id. Null leaves the card unassigned.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
labelIdsarrayLabel ids to attach immediately.
positionintegerZero-based insert position in the column (defaults to the end).
prioritystringPriority, one of: blocker, highest, high, medium, low, lowest.

janosik_get_card Get a card

Read one card in full: fields, description, checklists and links, plus the column it sits in. This tool reads the board aggregate to assemble the card; targeted claim/move/update use the one-card context instead. Pass outputPath to save large documents.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
outputPathstringSave the full JSON document to a new local file instead of returning it inline. Requires JANOSIK_MCP_ALLOW_FS=1 and write-enabled MCP mode. Relative paths resolve against JANOSIK_MCP_FS_ROOT when set.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_update_card Update a card

Change a card's title, description or epic. Only the fields you pass are written. Several agents may edit one card: pass expectedDescription (the text you read) to write only if nobody changed the description since, instead of overwriting their edit.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
descriptionstringNew description (markdown). An empty string clears it.
epicIdActive epic id. Null removes the current membership.
expectedDescriptionstringCompare-and-set: the description as you last read it. The write is refused if the card's description differs now.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
titlestringNew title.

janosik_move_card Move a card

Move a card to another column and/or position. Omit the destination column to reorder within the current one; omit the position to append at the end.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
positionintegerZero-based insert position in the destination column.
toColumnIdstringDestination column (defaults to the card's current column).

janosik_duplicate_card Duplicate a card

Copy a card (description, checklists, due date, cover and labels) into a new card placed right below the original.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
idempotencyKeystringOptional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused.
newCardIdstringId for the copy. Reuse the id from the approval plan when repeating an approved duplicate.
titlestringTitle for the copy.

janosik_set_card_priority Set a card priority

Set a card's Jira-style priority.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
priority *stringPriority, one of: blocker, highest, high, medium, low, lowest.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_card_assignee Assign a card

Assign a card to a board member, or unassign it. The assignee must be an active member of the board (see janosik_list_members).

ParameterTypeDescription
assigneeId *Member user id, or null to unassign.
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_claim_card Claim a card

Take a temporary work lease on a card — how a swarm avoids two agents working the same card. The lease expires on its own, so a dead agent never leaves the card stuck. Refused if another member still holds a live lease: read the card, or pick another.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
leaseMsintegerLease length in ms (default 15 min, clamped to [1 min, 24 h]).

janosik_release_card Release a card

Release your work lease on a card, or clear a lapsed one, so another agent can pick it up. A live claim held by another user cannot be released with this tool.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_card_task_spec Set a card's task spec

Set the card's machine-readable task contract: the acceptance criteria and/or the definition of done, as lists of short strings an agent reads directly instead of parsing prose. Omit a field to leave it unchanged; pass an empty list to clear it.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
acceptanceCriteriaarrayAcceptance criteria items. An empty list clears it.
definitionOfDonearrayDefinition-of-done items. An empty list clears it.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_card_due_date Set a card due date

Set or clear a card's due date.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
dueDate *string | nullISO-8601 date/time, or null to clear the due date.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_card_cover Set a card cover

Set or clear a card's colour/gradient cover stripe. Use the cover input's colour and gradient choices, or pass null to remove it.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
cover *Cover, or null to remove it.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_archive_card Archive a card

Archive a card: it leaves its column but is kept and restorable. Reverse it with janosik_unarchive_card.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_unarchive_card Unarchive a card

Restore an archived card into a column (defaults to the workflow's initial column, or the first column).

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
columnIdstringTarget column.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
positionintegerZero-based insert position.

janosik_delete_card Delete a card

Remove a card and its content from the board. For routine cleanup, use janosik_archive_card so the card and its history remain easy to restore. Use this tool when removal is specifically intended. Returns the command sequence and run id.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_search_cards Search cards

Find cards by text (title/description) and filters. Searches one board, or every board the user can access when boardId is omitted. Archived cards are excluded unless include_archived is set.

ParameterTypeDescription
assigneeIdOnly cards assigned to this user.
boardIdstringLimit the search to one board.
detailstringRead projection: 'summary' (default) returns each card's identity and badges only; 'full' adds a description snippet (a size hint) so a 64k document does not bloat the results.
include_archivedbooleanInclude archived cards.
labelIdstringOnly cards with this label.
limitintegerMax results.
prioritystringPriority, one of: blocker, highest, high, medium, low, lowest.
querystringCase-insensitive text to match in title or description.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_list_ready_cards List cards ready to work

Candidate cards in each active board's first column: unassigned, not under a live claim and not blocked by another card. Sorted by priority (most urgent first). Reads one board, or every board the user can access when boardId is omitted. Uses the server's summary ready endpoint; an older server without it falls back to a full board read.

ParameterTypeDescription
boardIdstringLimit to one board.
limitintegerMax results.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_wait_for_work Wait for a ready card

Wait until a candidate card appears (see janosik_list_ready_cards) or the timeout passes. Returns the card or null on timeout. A single board is held open by the server for 25–60 s per request and wakes only on a readiness-relevant change; without boardId the ready summary is re-read every 15–60 s with jitter. A current server never reads a full board to find work; an older server without the ready endpoint falls back to a full board read.

ParameterTypeDescription
boardIdstringLimit to one board.
pollMsintegerCross-board re-check floor in ms (raised to 15–60 s with jitter). A single-board wait ignores it and always uses a 25–60 s server long-poll.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
timeoutMsintegerHow long to wait, in ms (max 5 min).

janosik_list_labels List labels

List the labels defined on a board.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_create_label Create a label

Create a board label with a name and colour. Returns its id.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
color *stringLabel colour, one of: red, orange, yellow, brown, green, teal, cyan, blue, indigo, brand, fuchsia, pink, slate, plain, amber.
name *stringLabel name.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
labelIdstringClient id for the new label — a retry then returns the first label instead of a duplicate.

janosik_rename_label Rename a label

Change a label's name everywhere it is used.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
labelId *stringLabel id.
name *stringNew name.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_label_color Set a label colour

Change a label's colour.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
color *stringLabel colour, one of: red, orange, yellow, brown, green, teal, cyan, blue, indigo, brand, fuchsia, pink, slate, plain, amber.
labelId *stringLabel id.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_delete_label Delete a label

Delete a label and detach it from every card. Destructive.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
labelId *stringLabel id.
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_set_card_label Attach or detach a label

Attach a label to a card (on=true) or detach it (on=false).

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
labelId *stringLabel id.
on *booleantrue attaches, false detaches.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_add_checklist Add a checklist

Add a titled checklist to a card. Returns the checklist id.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
title *stringChecklist title.
checklistIdstringClient id for the new checklist — a retry then returns the first checklist instead of a duplicate.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_rename_checklist Rename a checklist

Change a checklist's title.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
checklistId *stringChecklist id.
title *stringNew title.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_add_checklist_item Add a checklist item

Add an item (subtask) to a checklist. Returns the item id.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
checklistId *stringChecklist id.
text *stringItem text.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…
itemIdstringClient id for the new item — a retry then returns the first item instead of a duplicate.

janosik_set_checklist_item_done Tick a checklist item

Check or uncheck a checklist item.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
checklistId *stringChecklist id.
done *booleantrue checks the item, false unchecks it.
itemId *stringChecklist item id.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_rename_checklist_item Rename a checklist item

Change a checklist item's text.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
checklistId *stringChecklist id.
itemId *stringChecklist item id.
text *stringNew item text.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_delete_checklist_item Delete a checklist item

Remove an item from a checklist.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
checklistId *stringChecklist id.
itemId *stringChecklist item id.
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_delete_checklist Delete a checklist

Remove a checklist and its items from a card.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cardId *stringCard id (from janosik_get_board).
checklistId *stringChecklist id.
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.
commandIdstringIdempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action.
expectedVersionintegerExpected board version (seq from janosik_get_board). When set, the write is pinned to that full-board state (explicit full-board mode) and refused if the board changed since. Omit it for claim/move/up…

janosik_list_comments List card comments

List a card's comments, newest first. Page with the returned next_cursor. Pass kind to read only one kind (e.g. blockers or questions).

ParameterTypeDescription
cardId *stringCard id (from janosik_get_board).
cursorstringOpaque cursor from a previous page's next_cursor.
kindstringOnly comments of this kind (default: every kind).
limitintegerItems per page (1-100, default 20).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_add_comment Add a comment

Post a comment on a card. Set kind to label it for the swarm (status, question, blocker, evidence, handoff); omit it for a plain note.

ParameterTypeDescription
cardId *stringCard id (from janosik_get_board).
text *stringComment text (markdown).
idempotencyKeystringOptional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused.
kindstringComment kind (default: note).

janosik_delete_comment Delete a comment

Delete a comment (only the author may delete their own comment).

ParameterTypeDescription
commentId *stringComment id.

janosik_board_activity Board activity

Read a board's activity feed — who changed what, when — newest first. Page with the returned next_cursor.

ParameterTypeDescription
boardId *stringBoard id (from janosik_list_boards).
cursorstringOpaque cursor from a previous page's next_cursor.
limitintegerItems per page (1-100, default 20).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_card_activity Card activity

Read one card's history — field changes, moves, comments — newest first. Page with the returned next_cursor.

ParameterTypeDescription
cardId *stringCard id (from janosik_get_board).
cursorstringOpaque cursor from a previous page's next_cursor.
limitintegerItems per page (1-100, default 20).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_list_attachments List card attachments

List the files attached to a card.

ParameterTypeDescription
cardId *stringCard id (from janosik_get_board).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_upload_attachment Upload an attachment

Upload a local file to a card. Disabled unless the operator set JANOSIK_MCP_ALLOW_FS=1; the path is read from the machine running this server. The server enforces its size and mime limits.

ParameterTypeDescription
cardId *stringCard id (from janosik_get_board).
filePath *stringPath of the file to upload (relative paths resolve against JANOSIK_MCP_FS_ROOT when set).
idempotencyKeystringOptional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused.

janosik_download_attachment Download an attachment

Download a card's attachment to a local path on the machine running this server. Disabled unless the operator set JANOSIK_MCP_ALLOW_FS=1. Returns the saved path and size.

ParameterTypeDescription
attachmentId *stringAttachment id.
outputPath *stringPath of a NEW file to write (existing files are never overwritten; relative paths resolve against JANOSIK_MCP_FS_ROOT when set).

janosik_delete_attachment Delete an attachment

Delete a card attachment (the uploader or a board ADMIN). Destructive.

ParameterTypeDescription
attachmentId *stringAttachment id.
approvalIdstringApproved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan.

janosik_start_session Start an agent session

Open a board-scoped session for this API token. The session id is sent as X-Agent-Session on later writes, attributing them to this agent run.

ParameterTypeDescription
boardId *stringBoard id.
clientNamestringClient/agent product name.
idempotencyKeystringOptional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused.
modelstringModel identifier.
namestringHuman-readable session name.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_heartbeat Heartbeat an agent session

Refresh the session heartbeat (and optionally status/current card/summary). Allowed while the session is paused.

ParameterTypeDescription
boardId *stringBoard id.
sessionId *stringSession id returned by start_session.
currentCardIdstring | nullCard the agent is working on, or null to clear.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
statusstringNew non-terminal session status.
summarystringShort progress summary.

janosik_end_session End an agent session

Close the session (completed, failed or cancelled). Claims held by this session are released; the token keeps working.

ParameterTypeDescription
boardId *stringBoard id.
sessionId *stringSession id returned by start_session.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
statusstringTerminal status (default completed).
summarystringFinal summary.

janosik_request_approval Request human approval

Ask a board ADMIN to approve one exact plan. Returns the pending request with its planHash and expiry; nothing is applied. Repeat the same plan with X-Approval-Id (the approvalId argument on write tools) after a human approves it.

ParameterTypeDescription
boardId *stringBoard id.
kind *stringWhy a human is needed: destructive, done, or custom.
plan *objectThe exact executable plan; the server computes its planHash.
cardIdstringCard the request is about. When the plan names one card, this must match it.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
ttlMinutesintegerRequested lifetime; clamped to the board policy and 5 min.

janosik_list_approvals List approvals

List approval requests for a board (newest first). A board ADMIN sees all; another token sees only its own requests.

ParameterTypeDescription
boardId *stringBoard id.
cardIdstringFilter by card id.
kindstringFilter by kind.
limitintegerMaximum number of approvals to return (1–100).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
statusstringFilter by status.

janosik_get_approval Get an approval

Read one approval request with its exact plan, status, expiry and decision. Pass outputPath to save large documents.

ParameterTypeDescription
approvalId *stringApproval id.
boardId *stringBoard id.
outputPathstringSave the full JSON document to a new local file instead of returning it inline. Requires JANOSIK_MCP_ALLOW_FS=1 and write-enabled MCP mode. Relative paths resolve against JANOSIK_MCP_FS_ROOT when set.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_wait_for_decision Wait for an approval decision

Poll an approval for up to 60 seconds per call. Returns as soon as it is approved, rejected, expired or cancelled; if it is still pending, call again. Never retry the original destructive action without X-Approval-Id.

ParameterTypeDescription
approvalId *stringApproval id from request_approval.
boardId *stringBoard id.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
timeoutSecondsintegerMaximum wait for this call (default 60, max 60).

janosik_cancel_approval Cancel an approval

Cancel your own pending approval request. A cancelled request cannot be applied.

ParameterTypeDescription
approvalId *stringApproval id.
boardId *stringBoard id.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_plan_changes Preview a plan (dry run)

Dry-run a multi-step or bulk edit: validates every command with the same rules as /commands/batch, replays the board reducer in memory and returns the canonical planHash, a before/after diff, warnings and conflicts. Writes nothing and creates no run. Bulk work goes through this pair; 50 card creates = up to 100 commands, the per-plan limit. Include ADD_EPIC before any cards that reference its id. Read the JSON preview and pass its plan.commands and planHash unchanged to janosik_apply_plan.

ParameterTypeDescription
boardId *stringBoard id.
commands *arrayCommands in application order.
clientRunIdstringIdempotency key for the run created on apply.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_apply_plan Apply a previewed plan

Apply exactly plan.commands and planHash from the JSON returned by janosik_plan_changes, atomically in one board transaction. A changed plan gets 409 approval_mismatch; a destructive plan without approval gets 409 approval_required with an approvalId — wait for a human, then repeat the identical call with that approvalId. The result includes the highest command sequence and the run id. A human can inspect or revert the run.

ParameterTypeDescription
boardId *stringBoard id.
commands *arrayThe preview's plan.commands array, unchanged.
planHash *stringplanHash from janosik_plan_changes.
approvalIdstringApproved request id; sent as X-Approval-Id. Required when the board policy requires human approval.
clientRunIdstringThe same run idempotency key used in the preview.

janosik_list_runs List agent runs

List agent runs for a board (newest first), with optional status/kind/token/session filters and cursor paging. A run groups a PAT batch, a single destructive PAT command or a plan apply; pre-images are not included here.

ParameterTypeDescription
boardId *stringBoard id.
agentSessionIdstringFilter by agent session id.
apiTokenIdstringFilter by API token id.
clientRunIdstringFilter by the client's idempotency key.
cursorstringRun id to page after (older rows).
kindstringFilter by run kind.
limitintegerMaximum number of runs to return (1–100).
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).
statusstringFilter by run status.

janosik_get_run Get an agent run

Read one run with its commands and attribution. Pre-images and the full before-state are visible only to a board ADMIN browser session; an API token sees the run and commands without them. Pass outputPath to save large documents.

ParameterTypeDescription
boardId *stringBoard id.
runId *stringRun id from janosik_list_runs.
outputPathstringSave the full JSON document to a new local file instead of returning it inline. Requires JANOSIK_MCP_ALLOW_FS=1 and write-enabled MCP mode. Relative paths resolve against JANOSIK_MCP_FS_ROOT when set.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).

janosik_preview_run_revert Preview a run rollback

Dry-run the rollback of a run: returns the conflicts and whether a board ADMIN can revert it. Writes nothing. Applying a revert is human-only — report the conflicts and ask a human to do it; no MCP tool can apply it.

ParameterTypeDescription
boardId *stringBoard id.
runId *stringRun id from janosik_list_runs.
response_formatstringOutput format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields).