Skip to main content
Glama

MCPTrello

Сервер MCP (Model Context Protocol), предоставляющий небольшой тщательно подобранный набор инструментов Trello — построен с тем, чтобы агент мог читать и слегка обновлять доску Trello без контекста, вставленного вручную, а также как учебное упражнение в том, как описания инструментов формируют поведение агента (см. DESIGN_NOTES.md с обоснованием для каждого из них).

Инструменты

Инструмент

Назначение

list_boards

Перечисляет доступные доски (id, name, url).

get_board_state

Полное открытое состояние доски: списки с вложенными открытыми карточками.

get_card

Читает одну карточку по id, включая её полное описание.

search_cards

Свободный текстовый поиск по карточкам — на одной доске или на всех.

create_card

Создаёт карточку в списке.

update_card

Обновляет название карточки, описание и/или срок выполнения.

move_card

Перемещает карточку в другой список.

add_checklist_item

Добавляет пункт в чек-лист карточки.

В v1 не предусмотрены: полный CRUD, удалённая/OAuth-аутентификация, ограничение частоты запросов, ресурсы/промпты MCP, команда cc-init, автоматическое создание чек-листов и кэширование названий досок/списков между вызовами.

Related MCP server: trello-mcp-server

Настройка

1. Получение учётных данных Trello

  1. Перейдите на страницу https://trello.com/power-ups/admin и создайте (или выберите) Power-Up, чтобы использовать API-ключ.

  2. На той же стралнице с ключом создайте токен, перейдя по ссылке «Token»; это позволит ключу действовать от имени вашего аккаунта Trello.

2. Настройка окружения

cp .env.example .env

Заполните .env:

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

DEFAULT_BOARD_ID необязателен. Без него инструменты, которым нужна доска, либо требуют явно передать её, либо (в случае search_cards) ищут по всем доступным вам доскам.

3. Установка и сборка

Требуется Node.js 18+.

npm install
npm run build

4. Регистрация в Claude Code

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

Проверка

  • npm run build — TypeScript-сборка; запускайте после каждого изменения исходного кода.

  • npm run verify — запускает собранный сервер как каждый подпроцесс через stdio, используя собственные Client и StdioClientTransport из MCP SDK; перечисляет все инструменты и вызывает каждый из них, включая по крайней мере один ошибочный/неоднозначный случай для каждого инструмента, на вашем реальном аккаунте Trello. Требует полностью заполненный .env — он выполняет реальные API-вызовы.

  • MCP Inspector (npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list) — это дополнительная проверка без строгих гарантий. Каждая опубликованная версия Inspector требует Node.js ≥22.7.5; на Node.js 18 он не запустится. Если хотите использовать его, применяйте отдельную установку Node.js 22+ (например, через nvm), а не повышайте требование к среде выполнения этого проекта.

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