Labsco
agrath logo

Atlassian Trello MCP

โ˜… 2

from agrath

Comprehensive Trello integration: 46 tools covering boards, cards, lists, labels, checklists, attachments, members, custom fields, and search. Read-only mode, image attachment auto-download. Active fork of kocakli/Trello-Desktop-MCP integrating contributions from across the Trello MCP fork ecosystem

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Trello MCP Server

npm version license: MIT

๐Ÿ”€ Active fork. This is a maintained fork of kocakli/Trello-Desktop-MCP integrating contributions from across the fork ecosystem (kevinhillinger, zonca, dbz-max, maks244, jantman, ThatIanMcShane, josh-argyle). PRs welcome โ€” see Credits for what each contributor brought in. Published on npm as atlassian-trello-mcp.

A Model Context Protocol (MCP) server for Trello that works with any MCP-compatible client -- Claude Desktop, Claude Code, Gemini CLI, and more.

Provides 46 tools covering boards, cards, lists, labels, checklists, attachments, members, custom fields, and search.

Credentials

Credentials can be provided two ways:

  1. Environment variables (recommended): Set TRELLO_API_KEY and TRELLO_TOKEN
  2. Per-request: Pass apiKey and token as tool parameters (overrides env vars)

Available Tools (46)

Boards & Lists

ToolDescription
list_boardsList all accessible boards
trello_get_user_boardsGet boards with user profile info
get_board_detailsBoard metadata, lists, and optionally cards
get_listsGet all lists on a board
trello_filter_listsFilter lists by name (case-insensitive substring match)
trello_create_listCreate a new list on a board
trello_get_board_membersGet all members on a board
trello_get_board_labelsGet all labels on a board
trello_get_board_cardsGet cards on a board (compact or full); optionally filter by assigned member
trello_get_board_custom_fieldsGet custom field definitions

Cards

ToolDescription
create_cardCreate a card with name, description, due date, labels, members
get_cardGet card details
update_cardUpdate card properties
move_cardMove a card to a different list
trello_archive_cardArchive or unarchive a card
trello_get_list_cardsGet cards in a list (compact or full mode)

Comments & Activity

ToolDescription
trello_add_commentAdd a comment to a card
trello_get_card_actionsGet card activity history and comments

Labels

ToolDescription
trello_create_labelCreate a label on a board
trello_update_labelUpdate label name or color
trello_delete_labelDelete a label
trello_add_label_to_cardAssign a label to a card
trello_remove_label_from_cardRemove a label from a card

Members on Cards

ToolDescription
trello_get_memberGet member profile details
trello_add_member_to_cardAssign a member to a card
trello_remove_member_from_cardRemove a member from a card

Attachments

ToolDescription
trello_get_card_attachmentsList all attachments on a card
trello_get_card_attachmentGet a specific attachment
trello_create_card_attachmentAttach a URL or upload a local file
trello_delete_card_attachmentDelete an attachment

Checklists

ToolDescription
trello_create_checklistCreate a checklist on a card
trello_get_checklistGet a checklist with items
trello_update_checklistUpdate checklist name or position
trello_delete_checklistDelete a checklist
trello_get_checklist_fieldGet a specific checklist field
trello_update_checklist_fieldUpdate a specific checklist field
trello_get_board_for_checklistGet the board a checklist belongs to
trello_get_card_for_checklistGet the card a checklist belongs to
trello_get_card_checklistsGet all checklists on a card

Check Items

ToolDescription
trello_create_check_itemAdd an item to a checklist
trello_get_check_itemsGet all items on a checklist
trello_get_check_itemGet a specific check item
trello_update_check_itemUpdate item (name, state, due date, assignee)
trello_delete_check_itemDelete a check item

Search

ToolDescription
trello_searchSearch across boards, cards, members, organizations

Development

Project structure

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)

Build & test

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

Key patterns

  • ID resolution: All tools accept Trello URLs, short IDs, or full 24-char hex IDs via extractTrelloId()
  • Credential fallback: extractCredentials() checks args first, then env vars
  • Retry with backoff: TrelloClient retries on 500/network errors (3 attempts, exponential backoff)
  • Rate limiting: Extracts and returns x-rate-limit-* headers from every response
  • Validation: Zod schemas validate all inputs before API calls