Skip to main content
Glama

MCPTrello

Ein MCP-Server (Model Context Protocol), der eine kleine, kuratierte Auswahl an Trello-Tools bereitstellt – entwickelt, damit ein Agent ein Trello-Board lesen und leicht aktualisieren kann, ohne Kontext von Hand einzufügen, und als Lernübung dafür, wie Tool-Beschreibungen das Verhalten von Agenten prägen (für die Begründungen hinter jedem einzelnen Tool siehe DESIGN_NOTES.md).

Tools

Tool

Zweck

list_boards

Listet zugängliche Boards auf (ID, Name, URL).

get_board_state

Vollständiger offener Zustand eines Boards: Listen mit verschachtelten offenen Karten.

get_card

Liest eine einzelne Karte anhand ihrer ID, einschließlich ihrer vollständigen Beschreibung.

search_cards

Volltextsuche nach Karten, über ein Board oder über alle Boards.

create_card

Erstellt eine Karte in einer Liste.

update_card

Aktualisiert den Namen, die Beschreibung und/oder das Fälligkeitsdatum einer Karte.

add_checklist_item

Verschiebt eine Karte in eine andere Liste.

add_checklist_item

Fügt der Checkliste einer Karte einen Eintrag hinzu.

Nicht Teil dieser v1: vollständiges CRUD, Remote/OAuth-Authentifizierung, Ratenbegrenzung, MCP-Ressourcen/Prompts, ein cc-init-Command, die automatische Ersttelling von Check list und die outschen für Between Caching of Board-/Listennamen zwischen Aufrufen.

Related MCP server: trello-mcp-server

Einrichtung

1. Trello-Zuegansdaten erhalten

  1. Gehe zu https://trello.com/power-ups/admin und erstelle (oder wähle) ein Power-Um-Dup, um einen API-Schlüssel zu erhalten.

  2. Auf der derechen Seite des keys you erzeugende Token one, that du dem still „VerToken“ folgst – das autorisiert den Schlüssel, als dein Trello-Konto zu handeln.

2. Umgebung konfigurieren

cp .env.example .env

Fülle .env aus:

TRELLO_API_KEY=...
TRELLO_TOKEN=...
DEFAULT_BOARD_ID=...   # optional — id of the board to use when `board` is omitted

DEFAULT_BOARD_ID ist optional. Ohne diesen Wert verlangen Tools für ein Board: enthalten entweder, dass du examplizit angibst, oder (bei search_cards) über jedes Board zu suchen, auf das duzaug reifenhle kannst.

3. Installieren und bauen

Erfordert Node.js 18+.

npm install
npm run build

4. Bei Claude Code registrieren

claude mcp add trello -- node <absolute-path-to-repo>\dist\index.js

Verifizierung

  • npm run build — TypeScript-Build; nach jeder Quellcodeänderung ausführen.

  • npm run verify — startet den gebauten Server als Subprozess über stdio und nutzt dafür die eigenen Client + StdioClientTransport des MCP-SDK, listet alle Tools und ruft jedes auf (einschließlich mindestens eines Fehler-/Mehrdeutigkeitsfalls pro Tool) gegen dein echtes Trello-Konto. Erfordert eine vollständig ausgefüllte .env — es werden echte API-Calls durchgeführt. *MCP Inspector (npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list) ist eine sekundäre, Best-effort-Prüfung. Jede veröffentlichte Inspector-Version erfordert Node ≥22.7.5; unter Node 18 wird sie nicht starten. Wenn du sie ausführen möchtest, verwende eine separate Node-22+-Installation (z. B. via nvm), anstatt die Laufzeitvoraussetzung dieses Projekts anzuheben.

Available Tools

11 tools
add_checklist_itemAdd Trello checklist itemA

Add an item to a checklist on a Trello card. card must be a card id (from get_board_state or search_cards). If the card has exactly one checklist, checklist is not needed — the item is added there. If the card has multiple checklists, checklist (a name, matched exact-then-substring) is required to pick one; if the card has no checklists at all, this tool errors rather than creating one — creating checklists is out of scope.

Inputs: card (required), item (required), checklist.

add_commentAdd Trello card commentA

Add a comment to a Trello card. card must be a card id (from get_board_state, search_cards, or get_card) — card names aren't resolved here because they're not reliably unique. Use this, not update_card, to leave feedback, findings, or a progress note: a comment is timestamped, attributed to the account behind the token, and appends to the card's thread, whereas update_card replaces the whole description and destroys whatever the human wrote there. Reach for update_card only when the card's own requirements have changed. Comment text is plain text with Trello's markdown (no tables), and is capped at 16384 characters.

Inputs: card (required), text (required).

create_cardCreate Trello cardA

Create a new Trello card in a list. list accepts a list id or a list name; if you pass a name, board narrows which board to search for it in (falls back to the server's default board if configured, otherwise every accessible board — pass board explicitly if you already know it, to avoid an ambiguous match across boards with same-named lists). name is the card title (required). desc, due (ISO 8601), pos (position within the list), idMembers and idLabels are optional.

Inputs: list (required), name (required), due, pos, +4 more.

get_board_metaGet Trello board members and labelsA

List the members and labels of a Trello board. Returns each member's id, full name and username, and each label's id, name and color. Use this to discover the ids/names to pass to update_card or create_card when assigning members (idMembers) or setting labels (idLabels). The board parameter accepts a board id or name; if omitted, falls back to the server's default board.

Inputs: board.

get_board_stateGet Trello board stateA

Get the full open state of a Trello board: every open list with its open cards nested underneath (card id, name, description, due date, and url). Use this to see what's currently on a board before deciding where to create or move a card. The board parameter accepts either a board id (from list_boards) or a board name; if omitted, falls back to the server's configured default board — omit it only when you know a default is configured, otherwise call list_boards first.

Inputs: board.

get_cardGet Trello cardA

Get a single Trello card by id, including its full description. Returns the card's id, name, description, due date, url, position, member ids, label ids, and the ids of its list and board. Use this to read one card's requirements or notes without pulling the whole board — card must be a card id (from get_board_state or search_cards), not a name.

Inputs: card (required).

get_card_commentsGet Trello card commentsA

Read the comment thread on a Trello card, newest first. Returns {comments, count, truncated}, where each comment has an id, author username, author display name, timestamp, and text. card must be a card id (from get_board_state, search_cards, or get_card), not a name. Comments are invisible to every other tool — get_card and get_board_state return only the description — so call this before starting work on a card to pick up feedback left there, and before add_comment to see what has already been said. limit caps how many are returned (default 20, max 1000); when truncated is true, older comments exist that you have not seen — raise limit if the start of the thread matters.

Inputs: card (required), limit.

list_boardsList Trello boardsA

List all Trello boards accessible with the configured token. Returns each board's id, name, and url. Call this first to discover which boards exist and their ids — other tools accept either a board id or a board name, but passing the id returned here avoids a redundant name-lookup call.

Inputs: no named parameters.

move_cardMove Trello cardA

Move an existing Trello card to a different list. card must be a card id (from get_board_state or search_cards) — card names aren't resolved here because they're not reliably unique and a fuzzy search-based match could move the wrong card. list is the destination list, accepted as an id or a name; if you pass a name, board narrows which board to search for it in (same fallback behavior as create_card: server default board, else every accessible board).

Inputs: card (required), list (required), board.

search_cardsSearch Trello cardsA

Search for Trello cards by keyword across boards. Returns matching cards with id, name, description, due date, url, and — resolved from ids — the board name and list name each card lives in. query is a free-text search (Trello's search operators like list:"To Do" work too). board scopes the search to one board (accepts id or name) and overrides any configured default board; omit it to search the default board if one is configured, or every accessible board otherwise — which can be slow and noisy, so prefer passing board when you already know it.

Inputs: query (required), board.

update_cardUpdate Trello cardA

Update an existing Trello card's name, description, due date, position, members, and/or labels. card must be a card id (from get_board_state, search_cards, or get_card) — card names aren't resolved here because they're not reliably unique. At least one field is required; only the fields you pass are changed, the others are left untouched. Use this to update a card's own requirements, reorder it within its list (pos), assign members (idMembers), or set labels (idLabels). To leave feedback, findings, or a progress note, use add_comment instead — desc is a whole-field replace, so writing a note there means re-sending the human's original text and risking its loss.

pos accepts a number (e.g. 16384) or a string like "top", "bottom", or a number as a string. idMembers and idLabels accept ids or names (names are resolved against the card's board); pass an empty array to clear all members/labels. due is ISO 8601 (e.g. 2026-08-15).

Inputs: card (required), due, pos, desc, +3 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool has a distinct resource+action target, and the descriptions actively route the agent between the easy-to-confuse pairs (get_board_state vs. search_cards vs. get_card; update_card vs. add_comment; list_boards vs. get_board_meta). The id-vs-name and default-board rules are stated consistently across tools, so there is little risk of misselection.

    Naming Consistency5/5

    All names are snake_case, verb-first, and follow a predictable get_/list_/search_/create_/update_/move_/add_ pattern. The board_* and card_* family naming makes the resource grouping obvious at a glance.

    Tool Count5/5

    Eleven tools is a well-scoped set for a Trello board/card workflow, and each one covers a distinct capability rather than a permutation of another. Nothing feels padded or redundant.

    Completeness3/5

    Core read/create/update/comment flows are covered, but the lifecycle has dead ends: there is no delete or archive for cards, no way to create a checklist or check items off (add_checklist_item is one-way and no tool reads checklist state), and no list/board creation. An agent asked to clean up or finish checklist work would have to stop.

    Related MCP Connectors

    Related MCP Servers