Planka MCP

v0.3.0
io.github.omnicoreos/planka-mcp Checked 3 days ago Published 3 months ago

Planka 2.x MCP server with verified card, task, comment, label, and list operations.

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

planka_get_structure Get board structure

Projects, boards and lists with their IDs. The source of the IDs every other tool needs. Columns cost one board read per board: pass withLists: false for the projects and boards alone, in a single request.

ParameterTypeDescription
projectIdstringOptional: Get structure for a specific project only
withListsbooleanInclude each board's columns. Default true; false answers projects and boards in one request (planka_board_summary also lists the columns, with their counts).

planka_get_board Get full board

DEPRECATED: use planka_board_summary + planka_find_cards. Whole board in one payload: every list, card and label — the most expensive read of the set, and it grows with the board. It returns at most `limit` cards (50 by default) and reports total/truncated when it clips. Archive and trash columns are never included (excludesArchived).

ParameterTypeDescription
boardId *stringThe board ID. Optional when the server has PLANKA_DEFAULT_BOARD_ID.
includeTaskCountsbooleanInclude task completion counts for each card
limitnumberMax cards across the whole board. Default 50, max 200. Beyond it the response carries truncated: true.

planka_list_cards List cards in a column

DEPRECATED: use planka_find_cards with listId. Same arguments, same handler, same response.

ParameterTypeDescription
listId *stringRead exactly this column. THE CHEAP PATH: one request, no pagination, so total is the real size of the column and truncated is false by construction.
boardIdstringBoard ID. Optional with PLANKA_DEFAULT_BOARD_ID; ignored when listId is given.
descriptionCharsnumberPer-match description preview, in characters. 0 (the default) leaves descriptions out.
detailstringdigest (default): id, name, labels, members, tasks, dueDate, commentsTotal, updatedAt. full: every field of the card, description included.
labelIdsarrayOnly cards carrying at least one of these label IDs (OR).
labelNamestringOnly cards carrying this label name (exact name, case- and accent-insensitive). If the board has no such label, the response says so and lists the ones it does have.
limitnumberMax matches to return. Default 25, max 200.
listNamestringColumn name fragment (case- and accent-insensitive) instead of an ID. Costs a board read; listId is cheaper.
offsetnumberSkip this many matches. Use nextOffset from the previous response.
querystringFree text matched against card name AND description. Several words are ANDed — all must appear — ignoring case and accents. A leading '/' makes the rest a case-insensitive regular expression.
userIdsarrayOnly cards where one of these users is a member or a task assignee (OR).
withLabelsbooleanResolve label names. Default true; false skips one board read on the listId path.

planka_list_lists List board columns

DEPRECATED: use planka_board_summary with cardsFrom: []. Columns with card counts plus the board's labels, no cards.

ParameterTypeDescription
boardId *stringThe board ID. Optional when the server has PLANKA_DEFAULT_BOARD_ID.

planka_board_summary Board summary

The session opener: every column with its card count and every label, in one call. Pass cardsFrom to also get the cards of those column(s) — with cardsFrom omitted (and no PLANKA_SUMMARY_DECISION_LISTS configured) it returns no cards at all. A cardsFrom entry or a highlightLabel that matches nothing comes back in `warnings`, never as a silent empty result. Archive and trash columns are not part of the answer (excludesArchived).

ParameterTypeDescription
boardId *stringThe board ID. Optional when the server has PLANKA_DEFAULT_BOARD_ID.
cardsFromarrayWhich column(s) to return cards from: list IDs, or name fragments matched case- and accent-insensitively (e.g. ['blocked'] or ['review','testing']). [] means columns only. Default: PLANKA_SUMMARY_DECI…
highlightLabelstringLabel that marks a card as unblocked/ready: those cards come first and get highlighted:true. Default: PLANKA_SUMMARY_HIGHLIGHT_LABEL, or no highlighting.
limitnumberMax cards to return. Default 50, max 200.

planka_find_cards Find cards

Cards of a board or of ONE column, filtered by column, text, label or member, returned as digests. With listId it reads that column in a single request — unpaginated, so `total` is the whole column and nothing is silently clipped. Without it, it filters over one board read (archive and trash excluded). At least one filter is required: listId, listName, query, labelName, labelIds or userIds.

ParameterTypeDescription
boardIdstringBoard ID. Optional with PLANKA_DEFAULT_BOARD_ID; ignored when listId is given.
descriptionCharsnumberPer-match description preview, in characters. 0 (the default) leaves descriptions out.
detailstringdigest (default): id, name, labels, members, tasks, dueDate, commentsTotal, updatedAt. full: every field of the card, description included.
labelIdsarrayOnly cards carrying at least one of these label IDs (OR).
labelNamestringOnly cards carrying this label name (exact name, case- and accent-insensitive). If the board has no such label, the response says so and lists the ones it does have.
limitnumberMax matches to return. Default 25, max 200.
listIdstringRead exactly this column. THE CHEAP PATH: one request, no pagination, so total is the real size of the column and truncated is false by construction.
listNamestringColumn name fragment (case- and accent-insensitive) instead of an ID. Costs a board read; listId is cheaper.
offsetnumberSkip this many matches. Use nextOffset from the previous response.
querystringFree text matched against card name AND description. Several words are ANDed — all must appear — ignoring case and accents. A leading '/' makes the rest a case-insensitive regular expression.
userIdsarrayOnly cards where one of these users is a member or a task assignee (OR).
withLabelsbooleanResolve label names. Default true; false skips one board read on the listId path.

planka_create_card Create card

Create a card in a list, optionally with a checklist of tasks.

ParameterTypeDescription
listId *stringThe list to create the card in
name *stringCard title
descriptionstringCard description (markdown supported)
dueDatestringDue date in ISO format
labelIdsarrayOptional: Label IDs to attach
tasksarrayOptional: Task names to add as a checklist

planka_get_card Get card

One card as a digest: name, column, labels, members, checklist counts, attachment and comment counts, and the first 200 chars of the description. Comments are NOT included by default — pass withComments (a number, or "all") to read them. detail:"full" adds the whole description, every task item, the attachment list and the custom fields.

ParameterTypeDescription
cardId *stringThe card ID
descriptionCharsnumberLength of the description preview in the digest (default 200, max 2000). Ignored when detail is "full".
detailstringHow much of the card to return. "digest" (default) is counts plus a description preview; "full" is the whole description, task items, attachments and custom fields.
withCommentsComments to include: 0 (default, none), a number for the N most recent, or "all" to page through every comment.

planka_update_card Update card

Update a card's name, description, due date or completion. Null clears a field.

ParameterTypeDescription
cardId *stringThe card ID
descriptionstring | nullNew description (null to clear)
dueDatestring | nullNew due date (null to clear)
isCompletedbooleanMark card as complete/incomplete
namestringNew card title

planka_move_card Move card

Move a card to another list, board or position — the workflow transition.

ParameterTypeDescription
cardId *stringThe card ID
listId *stringTarget list ID
boardIdstringTarget board ID — only when moving across boards (listId must belong to it)
positionnumberPosition in the list (lower = higher). Default: end of list

planka_delete_card Delete card

Permanently delete a card with its tasks, comments and attachments. Cannot be undone; confirmed by re-reading.

ParameterTypeDescription
cardId *stringThe card ID to delete

planka_create_tasks Add tasks to card

Add tasks (checklist items) to a card. Reports the tasks that actually landed.

ParameterTypeDescription
cardId *stringThe card ID
tasks *arrayTask names to create

planka_update_task Update task

Update a task's name or completion. Pass cardId to have it verified.

ParameterTypeDescription
taskId *stringThe task ID
cardIdstringThe task's card. Without it the change cannot be verified.
isCompletedbooleanMark as complete/incomplete
namestringNew task name

planka_delete_task Delete task

Delete a task. Pass cardId to have it verified.

ParameterTypeDescription
taskId *stringThe task ID to delete
cardIdstringThe task's card. Without it the deletion cannot be verified.

planka_create_label Create label

Create a label on a board. Verified against the board's labels after writing.

ParameterTypeDescription
boardId *stringBoard ID
color *stringLabel color
name *stringLabel name
positionnumberLabel position

planka_update_label Update label

Rename a label or change its color, by label ID from planka_board_summary. Verified against the board.

ParameterTypeDescription
labelId *stringLabel ID
colorstringLabel color. Same 43 values planka_create_label lists, also served as the planka://labels/colors resource; an invalid one comes back with the full list.
namestringNew label name

planka_delete_label Delete label

Delete a label from a board. DESTRUCTIVE: it disappears from every card that carried it. Confirmed by re-reading the board.

ParameterTypeDescription
labelId *stringLabel ID

planka_set_card_labels Set card labels

Add or remove labels on a card, by label ID — never by name. IDs come from planka_board_summary.

ParameterTypeDescription
cardId *stringThe card ID
addLabelIdsarrayLabel IDs to add. Alias: `labelIds` (both are accepted and merged).
labelIdsarrayAlias of addLabelIds. Label IDs to add.
removeLabelIdsarrayLabel IDs to remove

planka_manage_labels Manage board labels

DEPRECATED: use planka_create_label / planka_update_label / planka_delete_label. Kept so existing callers keep working; it only routes `action` to those tools.

ParameterTypeDescription
action *stringAction to perform
boardIdstringBoard ID (required for create)
colorstringLabel color (required for create). Values: planka_create_label's enum, or the planka://labels/colors resource.
labelIdstringLabel ID (required for update/delete)
namestringLabel name

planka_create_comment Add comment

Comment on a card: status updates, notes, agent activity logs. Verified by re-reading the card's comments.

ParameterTypeDescription
cardId *stringThe card ID
text *stringComment text (markdown supported)

planka_get_comments Get card comments

Read a card's comments, oldest first. Planka serves them 50 at a time: this returns `limit` of them (default 20) plus hasMore and nextBeforeId to continue. Use all:true to walk every page (up to 10 of them, then truncated:true). commentCount is what THIS response carries, never the card total.

ParameterTypeDescription
cardId *stringThe card ID
allbooleanRead every page instead of one (up to 10 pages). Sets truncated:true if the card has even more.
beforeIdstringCursor: returns comments OLDER than this comment id. Pass the nextBeforeId of the previous answer.
limitnumberHow many comments to return (default 20, max 50 — Planka's page size).
orderstringReading order: "asc" (default) oldest first, the order the thread was written; "desc" newest first.

planka_update_comment Edit comment

Rewrite a comment, by ID from planka_get_comments. Only the agent user's own comments. Verified by re-reading the card's comments.

ParameterTypeDescription
commentId *stringThe comment ID
text *stringNew comment text (markdown supported)

planka_delete_comment Delete comment

Delete a comment, by ID from planka_get_comments. Only the agent user's own comments. Confirmed by re-reading the card's comments.

ParameterTypeDescription
commentId *stringThe comment ID

planka_add_comment Add comment (deprecated)

DEPRECATED: use planka_create_comment. Kept so existing callers keep working; it forwards every argument unchanged.

ParameterTypeDescription
cardId *stringThe card ID
text *stringComment text (markdown supported)

planka_manage_comment Edit or delete comment

DEPRECATED: use planka_update_comment / planka_delete_comment (and planka_create_comment to write one). Kept so existing callers keep working; it only routes `action` to those tools.

ParameterTypeDescription
action *stringAction to perform
commentId *stringThe comment ID
textstringNew comment text (required for update)

planka_create_list Create column

Create a list (column) on a board. Verified against the board after writing.

ParameterTypeDescription
boardId *stringBoard ID
name *stringList name
positionnumberList position
typestringList type. Defaults to active when creating.

planka_update_list Update column

Rename, reposition or reclassify a list (column). Verified against the board.

ParameterTypeDescription
listId *stringList ID
namestringNew list name
positionnumberList position
typestringList type. Defaults to active when creating.

planka_delete_list Delete column

Delete a list (column). DESTRUCTIVE: it deletes every card in it — move the cards out first with planka_move_list_cards. Confirmed by re-reading the board.

ParameterTypeDescription
listId *stringList ID

planka_manage_lists Manage board columns

DEPRECATED: use planka_create_list / planka_update_list / planka_delete_list. Kept so existing callers keep working; it only routes `action` to those tools. delete still takes the column's cards with it.

ParameterTypeDescription
action *stringAction. `delete` takes the list's cards with it.
boardIdstringBoard ID (required for create)
listIdstringList ID (required for update/delete)
namestringList name
positionnumberList position
typestringList type. Defaults to active when creating.

planka_add_attachment Attach file to card

Upload a local file (screenshot, log, doc) onto a card.

ParameterTypeDescription
cardId *stringThe card ID
filePath *stringAbsolute path of the local file to upload
namestringAttachment name shown in Planka (defaults to the file's basename). Use descriptive names: antes-…, despues-…, error-consola-…

planka_get_attachments List card attachments

Attachments on a card: id, name, mimeType, size, download URL.

ParameterTypeDescription
cardId *stringThe card ID

planka_view_attachment View attachment

An attachment's content: images come back viewable, text inline, anything else as metadata only.

ParameterTypeDescription
cardId *stringThe card ID
attachmentIdstringAttachment ID (from planka_get_attachments). If omitted and the card has exactly one attachment, that one is used.

planka_delete_attachment Delete attachment

Delete an attachment. Confirmed by re-reading the card's attachments.

ParameterTypeDescription
attachmentId *stringThe attachment ID
cardIdstringThe attachment's card. Optional — Planka usually echoes it on delete; it is what makes the deletion verifiable.

planka_card_history Card history

One card's activity log as human lines (who, when, what). Planka logs only creation, moves, member changes and task completion — never comments or edits. Page back with beforeId.

ParameterTypeDescription
cardId *stringThe card ID
beforeIdstringCursor: return only events older than this event id. Use nextBeforeId from a previous call.
limitnumberHow many events to return, newest first. Default 20, max 50.

planka_board_activity Board activity

What moved on a board, grouped by card — the call to make when resuming a session. Walks the activity log back to `since` (ISO date) or up to `limit` events. Planka logs only creation, moves, member changes and task completion.

ParameterTypeDescription
boardIdstringBoard ID
limitnumberMaximum events to return. Default 50, max 250.
sincestringISO 8601 timestamp. Only events at or after it are returned; the sweep stops there.
typesarrayKeep only these event types.

planka_set_card_members Set card members

Assign or unassign people on a card, by user ID (names are accepted and resolved). Re-reads the card and reports finalMemberIds — never the request.

ParameterTypeDescription
cardId *stringThe card ID
addarrayUser IDs to assign. IDs come from planka_list_users.
addUserNamesarrayNames or usernames to assign, resolved exactly and case-insensitively. An ambiguous name fails instead of guessing.
boardIdstringBoard used to resolve names when this account cannot read the instance roster
removearrayUser IDs to unassign
removeUserNamesarrayNames or usernames to unassign

planka_list_users List users

The people who can be assigned, with their IDs. Falls back to the board's members when this account may not read the instance roster, and says so in `source`. Emails only with detail: full.

ParameterTypeDescription
boardIdstringBoard to fall back to when the instance roster is refused (403). Ignored otherwise.
detailstringdigest (default) hides email addresses; full includes them.

planka_whoami Who am I

This server's identity and limits: the Planka account, its board role, the Planka version, and the local access policy (default board, allowlist, read-only, disabled tools).

ParameterTypeDescription
boardIdstringBoard to report membership for. Defaults to the configured board.

planka_duplicate_card Duplicate card

Copy a card with its tasks, labels and members (attachments are not copied). Lands in the same column unless listId says otherwise. Re-reads the copy and reports what it carries.

ParameterTypeDescription
cardId *stringThe card to copy
boardIdstringBoard for the copy, when copying across boards. Requires listId.
listIdstringColumn for the copy. Defaults to the original's column.
namestringName for the copy. Without it Planka appends its own suffix to the original name.
positionnumberPosition in the target column

planka_archive_card Archive or restore card

Archive a card (Planka's hidden archive column) or bring it back with restoreToListId. Archiving hides the card from the board without deleting it; verified by re-reading its column.

ParameterTypeDescription
cardId *stringThe card ID
positionnumberPosition in the column when restoring. Defaults to the end.
restoreToListIdstringUn-archive instead: move the card into this column. The card's previous column is reported when archiving.

planka_move_list_cards Move all cards between columns

Move EVERY card of one column into another. Counts both columns before and after; verified is false when the numbers do not add up. Reports partial moves rather than a smaller success.

ParameterTypeDescription
fromListId *stringColumn to empty
toListId *stringColumn that receives the cards
boardIdstringBoard both columns belong to. Checked against the allowlist when given.