janosik
v0.6.0Drive 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.
| Parameter | Type | Description |
|---|---|---|
response_format | string | Output 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.…
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId | string | Read only this column (and its cards). |
detail | string | Read 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… |
epicId | string | Read only this epic and its cards. Combine with columnId to narrow the result. |
include_archived | boolean | Also list the board's archived cards, even with columnId set. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
title * | string | Board title. |
idempotencyKey | string | Optional 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_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
janosik_rename_board Rename a Janosik board
Change a board's title.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
title * | string | New board title. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
expectedVersion | integer | Expected 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).
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
approvalId | string | Approved 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).
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
outputPath | string | Save the envelope to this NEW file instead of returning it (relative paths resolve against JANOSIK_MCP_FS_ROOT). |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
envelope * | object | The board envelope object to import. |
idempotencyKey | string | Optional 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_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId | string | Also evaluate this card's allowed moves. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
title * | string | Epic title. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
description | string | Epic description (markdown). |
dueDate | Due date, ISO-8601 or Unix milliseconds. | |
epicId | string | Client id for the new epic. Reuse it on retry. |
expectedVersion | integer | Expected 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… |
ownerId | User id of an accepted board member. | |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
startDate | Start 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
epicId * | string | Epic id from janosik_get_board. |
description | New description. Null clears it. | |
dueDate | Due date, ISO-8601 or Unix milliseconds. Null clears it. | |
expectedVersion | integer | Expected 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… |
ownerId | Accepted board member user id. Null clears it. | |
startDate | Start date, ISO-8601 or Unix milliseconds. Null clears it. | |
status | string | Completed to finish the epic, active to reopen it. |
title | string | New 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
epicId * | string | Epic id from janosik_get_board. |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
title * | string | Column title. |
columnId | string | Client id for the new column — a retry then returns the first column instead of a duplicate. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
title * | string | New column title. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
position * | integer | Zero-based position among the board's columns. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
expectedVersion | integer | Expected 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… |
title | string | Title 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
sortBy * | string | Sort key. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
expectedVersion | integer | Expected 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… |
wipLimit | integer | Max 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
accent | Color/gradient pair, or omit to remove the accent. | |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
columnId * | string | Column id (from janosik_get_board). |
title * | string | Card title. |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
assigneeId | Assignee user id (see janosik_list_members). | |
cardId | string | Client id for the new card. Pass a stable id so a retried call returns the first card instead of a duplicate. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
description | string | Card description (markdown). |
dueDate | string | Due date, ISO-8601 (e.g. 2026-11-01T09:00:00Z). |
epicId | Active epic id. Null leaves the card unassigned. | |
expectedVersion | integer | Expected 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… |
labelIds | array | Label ids to attach immediately. |
position | integer | Zero-based insert position in the column (defaults to the end). |
priority | string | Priority, 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
outputPath | string | Save 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_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
description | string | New description (markdown). An empty string clears it. |
epicId | Active epic id. Null removes the current membership. | |
expectedDescription | string | Compare-and-set: the description as you last read it. The write is refused if the card's description differs now. |
expectedVersion | integer | Expected 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… |
title | string | New 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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… |
position | integer | Zero-based insert position in the destination column. |
toColumnId | string | Destination 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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… |
idempotencyKey | string | Optional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused. |
newCardId | string | Id for the copy. Reuse the id from the approval plan when repeating an approved duplicate. |
title | string | Title for the copy. |
janosik_set_card_priority Set a card priority
Set a card's Jira-style priority.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
priority * | string | Priority, one of: blocker, highest, high, medium, low, lowest. |
expectedVersion | integer | Expected 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).
| Parameter | Type | Description |
|---|---|---|
assigneeId * | Member user id, or null to unassign. | |
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
expectedVersion | integer | Expected 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… |
leaseMs | integer | Lease 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
acceptanceCriteria | array | Acceptance criteria items. An empty list clears it. |
definitionOfDone | array | Definition-of-done items. An empty list clears it. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
dueDate * | string | null | ISO-8601 date/time, or null to clear the due date. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
cover * | Cover, or null to remove it. | |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
expectedVersion | integer | Expected 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).
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
columnId | string | Target column. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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… |
position | integer | Zero-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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
assigneeId | Only cards assigned to this user. | |
boardId | string | Limit the search to one board. |
detail | string | Read 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_archived | boolean | Include archived cards. |
labelId | string | Only cards with this label. |
limit | integer | Max results. |
priority | string | Priority, one of: blocker, highest, high, medium, low, lowest. |
query | string | Case-insensitive text to match in title or description. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId | string | Limit to one board. |
limit | integer | Max results. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId | string | Limit to one board. |
pollMs | integer | Cross-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_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
timeoutMs | integer | How long to wait, in ms (max 5 min). |
janosik_list_labels List labels
List the labels defined on a board.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
color * | string | Label colour, one of: red, orange, yellow, brown, green, teal, cyan, blue, indigo, brand, fuchsia, pink, slate, plain, amber. |
name * | string | Label name. |
expectedVersion | integer | Expected 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… |
labelId | string | Client 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
labelId * | string | Label id. |
name * | string | New name. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
color * | string | Label colour, one of: red, orange, yellow, brown, green, teal, cyan, blue, indigo, brand, fuchsia, pink, slate, plain, amber. |
labelId * | string | Label id. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
labelId * | string | Label id. |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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).
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
labelId * | string | Label id. |
on * | boolean | true attaches, false detaches. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
title * | string | Checklist title. |
checklistId | string | Client id for the new checklist — a retry then returns the first checklist instead of a duplicate. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
checklistId * | string | Checklist id. |
title * | string | New title. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
checklistId * | string | Checklist id. |
text * | string | Item text. |
expectedVersion | integer | Expected 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… |
itemId | string | Client 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
checklistId * | string | Checklist id. |
done * | boolean | true checks the item, false unchecks it. |
itemId * | string | Checklist item id. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
checklistId * | string | Checklist id. |
itemId * | string | Checklist item id. |
text * | string | New item text. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
checklistId * | string | Checklist id. |
itemId * | string | Checklist item id. |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | Card id (from janosik_get_board). |
checklistId * | string | Checklist id. |
approvalId | string | Approved request id from janosik_request_approval / janosik_wait_for_decision. Required to apply a destructive plan. |
commandId | string | Idempotency key for this exact command. Reuse the value shown in the approval plan when repeating an approved action. |
expectedVersion | integer | Expected 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_card_link Link two cards
Create a relationship from one card to another. 'blocks' also surfaces a red 'Blocked' badge on the blocked card; a cycle of 'blocks' links is refused.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | The source card the link is stored on. |
linkType * | string | Link type: 'blocks' (this card blocks the other), 'relates_to', or 'duplicates'. |
targetCardId * | string | The card on the other end. |
expectedVersion | integer | Expected 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_remove_card_link Remove a card link
Remove a link between two cards. Identify the pair by the source and target card ids (optionally the link type when both exist).
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cardId * | string | The source card holding the link. |
targetCardId * | string | The card on the other end. |
expectedVersion | integer | Expected 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… |
linkType | string | Type, when the pair has more than one relation. |
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).
| Parameter | Type | Description |
|---|---|---|
cardId * | string | Card id (from janosik_get_board). |
cursor | string | Opaque cursor from a previous page's next_cursor. |
kind | string | Only comments of this kind (default: every kind). |
limit | integer | Items per page (1-100, default 20). |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
cardId * | string | Card id (from janosik_get_board). |
text * | string | Comment text (markdown). |
idempotencyKey | string | Optional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused. |
kind | string | Comment kind (default: note). |
janosik_delete_comment Delete a comment
Delete a comment (only the author may delete their own comment).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | Comment id. |
janosik_board_activity Board activity
Read a board's activity feed — who changed what, when — newest first. Page with the returned next_cursor.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id (from janosik_list_boards). |
cursor | string | Opaque cursor from a previous page's next_cursor. |
limit | integer | Items per page (1-100, default 20). |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
cardId * | string | Card id (from janosik_get_board). |
cursor | string | Opaque cursor from a previous page's next_cursor. |
limit | integer | Items per page (1-100, default 20). |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
janosik_list_attachments List card attachments
List the files attached to a card.
| Parameter | Type | Description |
|---|---|---|
cardId * | string | Card id (from janosik_get_board). |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
cardId * | string | Card id (from janosik_get_board). |
filePath * | string | Path of the file to upload (relative paths resolve against JANOSIK_MCP_FS_ROOT when set). |
idempotencyKey | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
attachmentId * | string | Attachment id. |
outputPath * | string | Path 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.
| Parameter | Type | Description |
|---|---|---|
attachmentId * | string | Attachment id. |
approvalId | string | Approved 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
clientName | string | Client/agent product name. |
idempotencyKey | string | Optional idempotency key for a safe retry. Reuse the same key with the same body to get the first result; a different body is refused. |
model | string | Model identifier. |
name | string | Human-readable session name. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
sessionId * | string | Session id returned by start_session. |
currentCardId | string | null | Card the agent is working on, or null to clear. |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
status | string | New non-terminal session status. |
summary | string | Short 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
sessionId * | string | Session id returned by start_session. |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
status | string | Terminal status (default completed). |
summary | string | Final 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
kind * | string | Why a human is needed: destructive, done, or custom. |
plan * | object | The exact executable plan; the server computes its planHash. |
cardId | string | Card the request is about. When the plan names one card, this must match it. |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
ttlMinutes | integer | Requested 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
cardId | string | Filter by card id. |
kind | string | Filter by kind. |
limit | integer | Maximum number of approvals to return (1–100). |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
status | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
approvalId * | string | Approval id. |
boardId * | string | Board id. |
outputPath | string | Save 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_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
approvalId * | string | Approval id from request_approval. |
boardId * | string | Board id. |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
timeoutSeconds | integer | Maximum 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.
| Parameter | Type | Description |
|---|---|---|
approvalId * | string | Approval id. |
boardId * | string | Board id. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
commands * | array | Commands in application order. |
clientRunId | string | Idempotency key for the run created on apply. |
response_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
commands * | array | The preview's plan.commands array, unchanged. |
planHash * | string | planHash from janosik_plan_changes. |
approvalId | string | Approved request id; sent as X-Approval-Id. Required when the board policy requires human approval. |
clientRunId | string | The 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
agentSessionId | string | Filter by agent session id. |
apiTokenId | string | Filter by API token id. |
clientRunId | string | Filter by the client's idempotency key. |
cursor | string | Run id to page after (older rows). |
kind | string | Filter by run kind. |
limit | integer | Maximum number of runs to return (1–100). |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |
status | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
runId * | string | Run id from janosik_list_runs. |
outputPath | string | Save 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_format | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
boardId * | string | Board id. |
runId * | string | Run id from janosik_list_runs. |
response_format | string | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable, full fields). |