Skip to main content
Glama

Kanban MCP

An MCP server for interacting with Kanban boards through an agent-friendly interface.

This repository is a community-maintained derivative of the original kanban-mcp project. It keeps the original MIT license and attribution while focusing on agent-oriented MCP design, workflow semantics, canonical domain terminology, and Planka compatibility.

Domain Model

The agent-facing domain uses this hierarchy:

Board
└── List
    └── Card
        └── Checklist
            └── Task
  • Board — contains multiple Lists.

  • List — a workflow stage containing Cards. Also commonly called a column or lane.

  • Card — the main unit of work. A Card can contain Checklists, Comments, and Labels.

  • Checklist — a collection of Tasks belonging to a Card.

  • Task — an individual Checklist item or sub-task.

  • Comment — a progress/update log associated with a Card.

  • Label — a tag that can be attached to Cards.

When both Cards and Checklist Tasks are present, the word Task means only the Checklist-level sub-task. A project-management "task" that represents a unit of work is a Card.

Planka-specific names such as taskListId remain internal compatibility terminology where required by the upstream API.

Related MCP server: Planka MCP Server

Why This Project Exists

The original project provides a useful MCP bridge to Planka. This repository is being developed around a different optimization target: making Kanban operations easier for AI agents to discover, understand, execute, verify, and recover from.

The project therefore emphasizes:

  • intent-oriented MCP tools;

  • explicit workflow transitions;

  • safe claims and handoffs;

  • machine-actionable errors;

  • idempotent and retry-safe mutations;

  • context-efficient responses;

  • batch operations with explicit result semantics;

  • a clear compatibility boundary around Planka API details.

The goal is not to minimize the number of tools. The goal is to make the tool surface understandable and reliable for agents.

Documentation

Quick Start

Prerequisites

  • Node.js 18 or newer.

  • A running Planka instance, or the included Docker Compose setup.

  • npm.

Configuration

Copy the example environment file:

cp .env.example .env

Then replace the placeholder values in .env. Never commit the resulting .env file.

For Windows PowerShell:

Copy-Item .env.example .env

Install and Build

npm ci
npm run build

The compiled MCP server is written to dist/index.js.

Run with an Existing Planka Instance

Set these variables in .env:

PLANKA_BASE_URL=http://localhost:3333
PLANKA_AGENT_EMAIL=agent@example.com
PLANKA_AGENT_PASSWORD=replace-me
SERVER_PORT=3008

Then run:

node dist/index.js

Run Planka and MCP Together with Docker Compose

cp .env.example .env
# edit .env
docker compose --env-file .env up -d --build

The default local endpoints are:

Do not expose these development services directly to the public internet without reviewing authentication, network binding, credentials, and reverse-proxy configuration.

MCP Inspector

Build first, then run:

npm run inspector

The inspector uses the same environment-based Planka credentials as the server.

Testing

Run the build:

npm run build

Run the default test suite:

npm test

The integration suite requires a running Planka instance and test credentials:

npm run test:integration

Also run:

git diff --check

before submitting changes.

Docker

The repository includes a multi-stage Dockerfile for the MCP server and a Docker Compose setup for local Planka + PostgreSQL + MCP development.

Build the MCP image:

npm run build-docker

Development

This project is under active architectural development. Read TASK_PROGRESS.md and the current plans before making structural changes.

Non-trivial architecture decisions belong in DECISIONS.md. The canonical domain terminology is maintained in CONTEXT.md.

Upstream

This repository is derived from bradrisse/kanban-mcp.

The upstream project remains the source of the original implementation and MIT attribution. This repository maintains its own development history and may diverge substantially in architecture and behavior.

License

This project is distributed under the MIT License. See LICENSE.

Available Tools

13 tools
mcp_kanban_batch_cardsA

Create multiple cards at once from a single JSON payload. Each card can include a description, vertical position, step-by-step checklist tasks (plain strings or {name, isCompleted} objects: task ∈ checklist ∈ card), labels (auto-created on the board if missing), and an optional comment — all in one call.

Inputs: cards (required), boardId (required), listId.

mcp_kanban_card_managerB

Manage kanban cards (tickets/items inside board columns/lists). Supports creating, updating, moving, duplicating, deleting cards, and setting/updating card vertical position/order (lower numbers like 0, 65535 appear higher up at the top of the column, and higher numbers appear lower down at the bottom). Each card can contain its own checklist (task-list) with step-by-step tasks.

Inputs: action (required), id, name, tasks, +9 more.

mcp_kanban_comment_managerC

Manage card comments with various operations

Inputs: action (required), id, text, cardId.

mcp_kanban_label_managerC

Manage kanban labels with various operations (create, update, delete, get_all, add_to_card, remove_from_card). Can add or remove single or multiple labels to/from a card at a time.

Inputs: action (required), id, name, color, +5 more.

mcp_kanban_list_labelsB

List all existing labels across all cards in the board(s) with card counts and state breakdowns (e.g. TODO, IN_PROGRESS, DONE).

Inputs: boardId.

mcp_kanban_list_managerA

Manage kanban board lists/columns (columns/lanes on a board such as 'Backlog', 'To Do', 'In Progress', 'Done'). IMPORTANT: This manages top-level board columns containing cards. This is NOT for card task-lists (checklists) or individual sub-tasks inside cards.

Inputs: action (required), id, name, boardId, +1 more.

mcp_kanban_membership_managerC

Manage board memberships with various operations

Inputs: action (required), id, role, userId, +2 more.

mcp_kanban_project_board_managerC

Manage projects and boards with various operations (retrieve projects/boards, create, update, delete, or get board summary). Note: A board contains column lists of cards.

Inputs: action (required), id, name, page, +7 more.

mcp_kanban_query_tasksA

Search and filter cards (and their checklist tasks/sub-tasks) across the Kanban board by criteria: cardId/taskId substring, labels (with matchMode any/all), keyword text in title/objective/description/allowed files, state (e.g. TODO, IN_PROGRESS, WAITING_REVIEW, WAITING_TEST, DONE), assignedPosition role, isReady, or isBlocked.

Inputs: text, limit, state, labels, +6 more.

mcp_kanban_stopwatchC

Manage card stopwatches for time tracking

Inputs: id (required), action (required).

mcp_kanban_task_managerB

Manage step-by-step tasks (actionable checklist items with isCompleted boolean status) inside a card's checklist (task-list). Hierarchy: Board -> Board Column (List) -> Card -> Checklist (Task-List #1, #2...) -> Tasks (Individual checklist step items). A single card can contain multiple checklists, and each checklist contains multiple step tasks.

Inputs: action (required), id, name, tasks, +6 more.

scheduler_list_labelsA

List all existing labels across all cards in the board(s) with card counts and state breakdowns (e.g. TODO, IN_PROGRESS, DONE).

Inputs: boardId.

scheduler_query_tasksB

Search and filter cards (and their checklist tasks/sub-tasks) across the Kanban board by criteria: cardId/taskId substring, labels (with matchMode any/all), keyword text in title/objective/description/allowed files, state (e.g. TODO, IN_PROGRESS, WAITING_REVIEW, WAITING_TEST, DONE), assignedPosition role, isReady, or isBlocked.

Inputs: text, limit, state, labels, +6 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 13 tools

    Disambiguation2/5

    Several tools have overlapping or duplicated purposes: scheduler_list_labels and mcp_kanban_list_labels are identical, as are scheduler_query_tasks and mcp_kanban_query_tasks. Also, mcp_kanban_comment_manager and mcp_kanban_batch_cards both handle comments, and mcp_kanban_card_manager and mcp_kanban_task_manager might confuse agents about task vs card (though the hierarchy clarifies).

    Naming Consistency2/5

    Naming is inconsistent: most tools use a 'mcp_kanban_' prefix with a manager suffix, but two are prefixed with 'scheduler_' and lack the manager suffix. Verbs vary (list vs get_all vs query), and there is a mix of 'batch_cards' and 'manager' patterns, breaking a predictable convention.

    Tool Count2/5

    With 13 tools, the count is on the higher end, but the duplication (two pairs of identical tools) inflates the count. The server has a broad scope (boards, cards, labels, tasks, memberships, comments, batch operations) but could be consolidated to ~10-11 unique tools without losing functionality.

    Completeness3/5

    The tool surface covers most CRUD operations for boards, cards, labels, tasks, and memberships, plus batch creation and querying. Missing are operations like bulk updates or moves across lists, but the core lifecycle is present. However, with the duplicated query/list tools, the actual coverage of unique operations is thinner than it appears.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers