Skip to main content
Glama
Atlassian Trello MCP Server

Atlassian Trello MCP Server

by agrath

Trello MCP Server

npm version license: MIT

🔀 Активный форк. Это поддерживаемый форк kocakli/Trello-Desktop-MCP, объединяющий вклад сообщества из экосистемы форков (kevinhillinger, zonca, dbz-max, maks244, jantman, ThatIanMcShane, josh-argyle). Пул-реквесты приветствуются — см. Credits для ознакомления с вкладом каждого участника. Опубликовано в npm как atlassian-trello-mcp.

Сервер протокола контекста модели (MCP) для Trello, который работает с любым клиентом, поддерживающим MCP — Claude Desktop, Claude Code, Gemini CLI и другими.

Предоставляет 46 инструментов для работы с досками, карточками, списками, метками, чек-листами, вложениями, участниками, пользовательскими полями и поиском.

Быстрый старт

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

  • Перейдите на https://trello.com/app-key

  • Скопируйте свой API Key

  • Нажмите "Generate a Token" для получения доступа на чтение/запись

2. Установка

Самый простой способ — npx — без клонирования и сборки, просто запустите:

npx atlassian-trello-mcp

Или установите из исходного кода:

git clone https://github.com/agrath/Trello-Desktop-MCP.git
cd Trello-Desktop-MCP
npm install
npm run build

3. Настройте ваш MCP-клиент

Отредактируйте файл конфигурации:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "trello": {
      "command": "npx",
      "args": ["-y", "atlassian-trello-mcp"],
      "env": {
        "TRELLO_API_KEY": "your-api-key",
        "TRELLO_TOKEN": "your-token"
      }
    }
  }
}
claude mcp add trello -- npx -y atlassian-trello-mcp

Установите переменные окружения TRELLO_API_KEY и TRELLO_TOKEN или передавайте учетные данные для каждого запроса.

Отредактируйте ~/.gemini/settings.json:

{
  "mcpServers": {
    "trello": {
      "command": "npx",
      "args": ["-y", "atlassian-trello-mcp"],
      "env": {
        "TRELLO_API_KEY": "your-api-key",
        "TRELLO_TOKEN": "your-token"
      }
    }
  }
}

Сервер использует транспорт stdio. Запускайте с установленными переменными окружения:

TRELLO_API_KEY=your-key TRELLO_TOKEN=your-token npx atlassian-trello-mcp
# or, from a source clone:
TRELLO_API_KEY=your-key TRELLO_TOKEN=your-token node dist/index.js

Related MCP server: Trello MCP Server

Учетные данные

Учетные данные можно предоставить двумя способами:

  1. Переменные окружения (рекомендуется): Установите TRELLO_API_KEY и TRELLO_TOKEN

  2. Для каждого запроса: Передайте apiKey и token в качестве параметров инструмента (переопределяет переменные окружения)

Доступные инструменты (46)

Доски и списки

Инструмент

Описание

list_boards

Список всех доступных досок

trello_get_user_boards

Получить доски с информацией о профиле пользователя

get_board_details

Метаданные доски, списки и (опционально) карточки

get_lists

Получить все списки на доске

trello_filter_lists

Фильтрация списков по имени (регистронезависимое совпадение подстроки)

trello_create_list

Создать новый список на доске

trello_get_board_members

Получить всех участников доски

trello_get_board_labels

Получить все метки на доске

trello_get_board_cards

Получить все карточки на доске (компактный или полный вид)

trello_get_board_custom_fields

Получить определения пользовательских полей

Карточки

Инструмент

Описание

create_card

Создать карточку с именем, описанием, сроком выполнения, метками, участниками

get_card

Получить детали карточки

update_card

Обновить свойства карточки

move_card

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

trello_archive_card

Архивация или разархивация карточки

trello_get_list_cards

Получить карточки в списке (компактный или полный режим)

Комментарии и активность

Инструмент

Описание

trello_add_comment

Добавить комментарий к карточке

trello_get_card_actions

Получить историю активности и комментарии карточки

Метки

Инструмент

Описание

trello_create_label

Создать метку на доске

trello_update_label

Обновить имя или цвет метки

trello_delete_label

Удалить метку

trello_add_label_to_card

Назначить метку карточке

trello_remove_label_from_card

Удалить метку с карточки

Участники карточек

Инструмент

Описание

trello_get_member

Получить детали профиля участника

trello_add_member_to_card

Назначить участника на карточку

trello_remove_member_from_card

Удалить участника с карточки

Вложения

Инструмент

Описание

trello_get_card_attachments

Список всех вложений карточки

trello_get_card_attachment

Получить конкретное вложение

trello_create_card_attachment

Прикрепить URL или загрузить локальный файл

trello_delete_card_attachment

Удалить вложение

Чек-листы

Инструмент

Описание

trello_create_checklist

Создать чек-лист на карточке

trello_get_checklist

Получить чек-лист с элементами

trello_update_checklist

Обновить имя или позицию чек-листа

trello_delete_checklist

Удалить чек-лист

trello_get_checklist_field

Получить конкретное поле чек-листа

trello_update_checklist_field

Обновить конкретное поле чек-листа

trello_get_board_for_checklist

Получить доску, к которой относится чек-лист

trello_get_card_for_checklist

Получить карточку, к которой относится чек-лист

trello_get_card_checklists

Получить все чек-листы на карточке

Элементы чек-листа

Инструмент

Описание

trello_create_check_item

Добавить элемент в чек-лист

trello_get_check_items

Получить все элементы чек-листа

trello_get_check_item

Получить конкретный элемент чек-листа

trello_update_check_item

Обновить элемент (имя, состояние, срок, исполнитель)

trello_delete_check_item

Удалить элемент чек-листа

Поиск

Инструмент

Описание

trello_search

Поиск по доскам, карточкам, участникам, организациям

Конфигурация

Режим только для чтения

Установите TRELLO_READ_ONLY=true для отключения всех операций записи. Будут доступны только инструменты чтения/запросов.

{
  "env": {
    "TRELLO_API_KEY": "your-key",
    "TRELLO_TOKEN": "your-token",
    "TRELLO_READ_ONLY": "true"
  }
}

Компактный режим

Некоторые инструменты поддерживают параметр compact (по умолчанию: true), который возвращает минимальный набор полей для уменьшения размера ответа. Установите compact: false для получения полных данных, включая описания, метки, участников и пользовательские поля.

Инструменты с компактным режимом: get_board_details, trello_get_board_cards, trello_get_list_cards, trello_search.

Загрузка вложений-изображений

Когда вызывается get_card и у карточки есть вложения-изображения, сервер загружает их и возвращает в виде встроенных блоков контента изображений MCP вместе с JSON, позволяя клиенту видеть изображения карточки напрямую. Загрузки ограничены URL-адресами Trello (*.trello.com, trello-attachments.s3.amazonaws.com) и ограничены 5 МБ на изображение для снижения рисков SSRF и раздувания полезной нагрузки.

Установите TRELLO_DOWNLOAD_IMAGES=false (или 0/no/off) для полного отключения — сервер пропустит дополнительный вызов getCardAttachments и вернет только текст. По умолчанию включено.

Логирование

Установите TRELLO_MCP_LOGGING=true для включения файлового логирования через Pino. Логи записываются в dist/logs/app.log.

Разработка

Структура проекта

src/
  index.ts              Entry point (credential injection, tool routing)
  server.ts             MCP server factory (read-only mode support)
  tools/
    boards.ts           Board tools (list, details, lists, filter)
    cards.ts            Card tools (CRUD, archive)
    lists.ts            List tools (cards, create list, comments)
    members.ts          Member tools (user boards, member details)
    search.ts           Search tool
    advanced.ts         Labels, attachments, members on cards, custom fields
    checklists.ts       Checklist and check item tools (13 tools)
  trello/
    client.ts           TrelloClient (API calls, retry, rate limiting)
  types/
    trello.ts           TypeScript interfaces
  utils/
    validation.ts       Zod schemas, extractCredentials, extractTrelloId
    logger.ts           Pino file logger
    health.ts           Health check utility
    appInsights.ts      Telemetry (no-op)
tests/
  validation.test.ts    Validation and credential extraction tests
  trelloClient.test.ts  API client tests (mocked fetch)
  tools.test.ts         Tool handler tests (mocked client)

Сборка и тестирование

npm install
npm run build
npm test
npm run type-check

Ключевые паттерны

  • Разрешение ID: Все инструменты принимают URL-адреса Trello, короткие ID или полные 24-символьные шестнадцатеричные ID через extractTrelloId()

  • Резервные учетные данные: extractCredentials() сначала проверяет аргументы, затем переменные окружения

  • Повторные попытки с задержкой: TrelloClient повторяет попытки при ошибках 500/сети (3 попытки, экспоненциальная задержка)

  • Ограничение частоты запросов (Rate limiting): Извлекает и возвращает заголовки x-rate-limit-* из каждого ответа

  • Валидация: Схемы Zod проверяют все входные данные перед вызовами API

Вклад в проект

Пул-реквесты приветствуются и активно рассматриваются. Этот форк поддерживается активным пользователем Trello, поэтому функции проходят проверку в реальных условиях.

Если вы форкнули оригинальный проект и создали что-то полезное, пожалуйста, отправьте PR сюда, вместо того чтобы поддерживать отдельный форк — всем проще извлечь выгоду из одного хорошо поддерживаемого проекта.

Чтобы внести свой вклад:

  1. Форкните этот репозиторий

  2. Создайте ветку для функции

  3. Добавьте тесты для новой функциональности

  4. Запустите npm test и npm run build

  5. Отправьте пул-реквест с четким описанием того, что и зачем сделано

Credits

Этот проект является форком kocakli/Trello-Desktop-MCP. Функции и идеи были включены из всей экосистемы форков:

  • kocakli -- Оригинальный проект, ребрендинг для независимости от MCP-клиента, исправление логирования в stderr

  • kevinhillinger -- Архитектура внедрения учетных данных, удаление меток, управление участниками карточек, архивация карточек, расширенные типы TypeScript, уровень ресурсов

  • zonca -- Централизованная обработка учетных данных с резервным копированием через переменные окружения, инструменты управления метками, комплексные модульные тесты, улучшенные типы TypeScript, заменяющие any

  • dbz-max -- Поддержка пользовательских полей (пользовательские поля доски + элементы пользовательских полей карточки)

  • maks244 -- Концепция режима только для чтения, фильтрация списков по имени, удаление учетных данных из логов телеметрии

  • jantman -- Исправление для числовых значений pos, которые отклонялись при отправке в виде строк MCP-клиентами

  • ThatIanMcShane -- Обновление @modelcontextprotocol/sdk с 1.0.4 до 1.29.0 для исправления тайм-аутов соединения с текущими релизами Claude Code

  • josh-argyle -- Автоматическая загрузка вложений-изображений в ответах get_card в виде встроенных блоков контента изображений MCP (с добавлением списка разрешенных и ограничением размера во время переноса)

Лицензия

MIT

Available Tools

45 tools
create_cardB

Create a new card in a Trello list. Use this to add tasks, ideas, or items to your workflow.

Inputs: name (required), idList (required), apiKey, token, +6 more.

get_board_detailsA

Get information about a Trello board. IMPORTANT: Start with includeDetails=false (default) to get board metadata and lists only. Then use get_card or trello_get_list_cards to drill into specific cards. Only set includeDetails=true for small boards when you need a full overview.

Inputs: boardId (required), apiKey, token, includeDetails, +2 more.

get_cardB

Get detailed information about a specific Trello card, including its content, status, members, and attachments.

Inputs: cardId (required), apiKey, token, includeDetails.

get_listsA

Get all lists in a specific Trello board. Use this to see the workflow columns (like "To Do", "In Progress", "Done") in a board.

Inputs: boardId (required), apiKey, token, filter.

list_boardsA

List all Trello boards accessible to the user. Use this to see all boards you have access to, or filter by status.

Inputs: apiKey, token, filter.

move_cardA

Move a card to a different list. Use this to change a card's workflow status (e.g., from "To Do" to "In Progress").

Inputs: cardId (required), idList (required), apiKey, token, +1 more.

trello_add_commentB

Add a comment to a Trello card. Use this to add notes, updates, or discussions to cards.

Inputs: cardId (required), text (required), apiKey, token.

trello_add_label_to_cardB

Assign an existing label to a Trello card.

Inputs: cardId (required), labelId (required), apiKey, token.

trello_add_member_to_cardC

Add a member to a Trello card.

Inputs: cardId (required), memberId (required), apiKey, token.

trello_archive_cardA

Archive or unarchive a Trello card. Set value to true to archive, false to unarchive.

Inputs: cardId (required), value (required), apiKey, token.

trello_create_card_attachmentA

Attach a URL or local file to a Trello card. Provide either a url (for link attachments) or filePath (for file uploads from the local filesystem).

Inputs: cardId (required), apiKey, token, url, +4 more.

trello_create_check_itemA

Add an item to a checklist. Supports due dates and member assignment.

Inputs: checklistId (required), name (required), apiKey, token, +4 more.

trello_create_checklistB

Create a checklist on a card. Optionally copy items from an existing checklist.

Inputs: cardId (required), name (required), apiKey, token, +2 more.

trello_create_labelB

Create a new label on a Trello board.

Inputs: boardId (required), name (required), color (required), apiKey, +1 more.

trello_create_listA

Create a new list in a Trello board. Use this to add workflow columns like "To Do", "In Progress", or "Done".

Inputs: name (required), idBoard (required), apiKey, token, +1 more.

trello_delete_card_attachmentB

Delete an attachment from a Trello card.

Inputs: cardId (required), attachmentId (required), apiKey, token.

trello_delete_check_itemB

Delete an item from a checklist.

Inputs: checklistId (required), checkItemId (required), apiKey, token.

trello_delete_checklistB

Delete a checklist from a card.

Inputs: checklistId (required), apiKey, token.

trello_delete_labelB

Delete a label from a Trello board.

Inputs: labelId (required), apiKey, token.

trello_filter_listsA

Filter lists on a board by name. Returns lists whose name contains the filter string (case-insensitive).

Inputs: boardId (required), filter (required), apiKey, token.

trello_get_board_cardsC

Get all cards from a Trello board with optional filtering and detailed information like attachments and members.

Inputs: boardId (required), apiKey, token, attachments, +5 more.

trello_get_board_custom_fieldsB

Get all custom field definitions for a Trello board. Returns field names, types, and options.

Inputs: boardId (required), apiKey, token.

trello_get_board_for_checklistA

Get the board that a checklist belongs to.

Inputs: checklistId (required), apiKey, token.

trello_get_board_labelsA

Get all labels available on a specific Trello board for categorizing cards.

Inputs: boardId (required), apiKey, token.

trello_get_board_membersB

Get all members who have access to a specific Trello board.

Inputs: boardId (required), apiKey, token.

trello_get_card_actionsA

Get activity history and comments for a specific Trello card. Useful for tracking changes and discussions.

Inputs: cardId (required), apiKey, token, filter, +1 more.

trello_get_card_attachmentA

Get details of a single attachment on a Trello card by its attachment ID.

Inputs: cardId (required), attachmentId (required), apiKey, token, +1 more.

trello_get_card_attachmentsB

Get all attachments (files, links) for a specific Trello card.

Inputs: cardId (required), apiKey, token, fields.

trello_get_card_checklistsB

Get all checklists and their items for a specific Trello card.

Inputs: cardId (required), apiKey, token, checkItems, +1 more.

trello_get_card_for_checklistC

Get the card that a checklist belongs to.

Inputs: checklistId (required), apiKey, token.

trello_get_check_itemA

Get a single check item from a checklist.

Inputs: checklistId (required), checkItemId (required), apiKey, token.

trello_get_check_itemsC

Get all items on a checklist. Supports filtering by state (all, complete, incomplete).

Inputs: checklistId (required), apiKey, token, filter.

trello_get_checklistB

Get a single checklist with its check items.

Inputs: checklistId (required), apiKey, token, fields.

trello_get_checklist_fieldB

Get a specific field (name or pos) from a checklist.

Inputs: checklistId (required), field (required), apiKey, token.

trello_get_list_cardsA

Get all cards in a specific Trello list. Use this to see all tasks/items in a workflow column.

Inputs: listId (required), apiKey, token, filter, +2 more.

trello_get_memberA

Get details about a specific Trello member/user, including their boards and profile information.

Inputs: memberId (required), apiKey, token, fields, +2 more.

trello_get_user_boardsB

Get all boards accessible to the current user. This is the starting point for exploring your Trello workspace.

Inputs: apiKey, token, filter.

trello_remove_label_from_cardB

Remove a label from a Trello card.

Inputs: cardId (required), labelId (required), apiKey, token.

trello_remove_member_from_cardB

Remove a member from a Trello card.

Inputs: cardId (required), memberId (required), apiKey, token.

trello_update_check_itemB

Update a check item on a card (name, state, position, due date, member). Use state to check/uncheck items.

Inputs: cardId (required), checkItemId (required), apiKey, token, +5 more.

trello_update_checklistC

Update a checklist name or position.

Inputs: checklistId (required), apiKey, token, name, +1 more.

trello_update_checklist_fieldB

Update a specific field (name or pos) on a checklist.

Inputs: checklistId (required), field (required), value (required), apiKey, +1 more.

trello_update_labelB

Update the name or color of an existing Trello label.

Inputs: labelId (required), apiKey, token, name, +1 more.

update_cardC

Update properties of an existing Trello card. Use this to change card details like name, description, due date, or status.

Inputs: cardId (required), apiKey, token, name, +7 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 45 tools

    Disambiguation3/5

    Many tools have distinct purposes, but there is clear overlap between list_boards and trello_get_user_boards (both list accessible boards), and between get_board_details and trello_get_board_cards (both retrieve board data). Multiple tools for similar operations (e.g., card tools) are well-described but still create ambiguity. Overall, some boundaries are unclear.

    Naming Consistency2/5

    Tool names are highly inconsistent. Some use a simple verb_noun pattern (e.g., create_card, get_board_details), while many others are prefixed with 'trello_' (e.g., trello_add_comment, trello_get_board_cards). This mixed convention, combined with varying verb styles, makes the naming unpredictable.

    Tool Count2/5

    45 tools is excessive for a Trello MCP server. While Trello has many features, this granularity (e.g., separate tools for get_checklist, get_checklist_field, get_check_item, get_check_items) is over-engineered. The tool count could be reduced by consolidating related actions, making the surface more manageable.

    Completeness4/5

    The server covers most core Trello operations: cards, lists, boards, checklists, labels, attachments, comments, members, and search. Missing board creation/deletion and some list management features (e.g., archiving lists), but these are minor gaps. The overall surface is comprehensive for typical workflows.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      An MCP server that connects Claude to Trello, enabling comprehensive management of boards, lists, and cards through natural language conversation. It supports a wide range of actions including searching cards, adding comments, managing checklists, and tracking board activity.
      17
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that provides AI assistants with access to Trello's functionality. This server enables AI models to interact with Trello boards, lists, and cards programmatically.
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for the Trello REST API. Exposes ~36 curated tools for boards, lists, cards, checklists, labels, members, and search.
      36
      9 npm
      MIT