Skip to main content
Glama
Atlassian Trello MCP Server

Atlassian Trello MCP Server

by agrath

Trello MCPサーバー

npm version license: MIT

🔀 アクティブなフォーク。 これはkocakli/Trello-Desktop-MCPのメンテナンスされているフォークであり、フォークエコシステム全体からの貢献(kevinhillinger、zonca、dbz-max、maks244、jantman、ThatIanMcShane、josh-argyle)を統合しています。プルリクエストを歓迎します。各貢献者が何をもたらしたかについてはクレジットを参照してください。npmではatlassian-trello-mcpとして公開されています。

Trello用のModel Context Protocol (MCP) サーバーです。Claude Desktop、Claude Code、Gemini CLIなど、MCP互換のあらゆるクライアントで動作します。

ボード、カード、リスト、ラベル、チェックリスト、添付ファイル、メンバー、カスタムフィールド、検索をカバーする46個のツールを提供します。

クイックスタート

1. Trello API認証情報を取得する

  • https://trello.com/app-key にアクセスします

  • APIキーをコピーします

  • 読み取り/書き込みアクセスのために「トークンを生成」をクリックします

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

認証情報

認証情報は以下の2つの方法で提供できます:

  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 が呼び出され、カードに画像添付ファイルがある場合、サーバーはそれらをダウンロードし、JSONと並んでインラインMCP画像コンテンツブロックとして返します。これにより、クライアントはカードの画像を直接確認できます。ダウンロードはTrelloホストのURL (*.trello.com, trello-attachments.s3.amazonaws.com) に制限されており、SSRFやペイロード肥大化のリスクを軽減するために画像あたり5MBに制限されています。

完全に無効にするには 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解決: すべてのツールは extractTrelloId() を介してTrello URL、短いID、または24文字の完全な16進数IDを受け入れます

  • 認証情報のフォールバック: extractCredentials() は最初に引数をチェックし、次に環境変数をチェックします

  • バックオフ付きリトライ: TrelloClientは500エラー/ネットワークエラー時にリトライします(3回試行、指数バックオフ)

  • レート制限: すべてのレスポンスから x-rate-limit-* ヘッダーを抽出して返します

  • バリデーション: ZodスキーマがAPI呼び出しの前にすべての入力を検証します

貢献

プルリクエストを歓迎し、積極的にレビューしています。このフォークは熱心なTrelloユーザーによってメンテナンスされているため、機能は実環境でテストされています。

元のプロジェクトをフォークして便利なものを作成した場合は、別のフォークを維持するのではなく、ここにプルリクエストを送信してください。単一の十分にメンテナンスされたプロジェクトから全員が恩恵を受ける方が簡単です。

貢献するには:

  1. このリポジトリをフォークする

  2. フィーチャーブランチを作成する

  3. 新機能のテストを追加する

  4. npm test と npm run build を実行する

  5. 何を、なぜ変更したかを明確に説明したプルリクエストを送信する

クレジット

このプロジェクトは kocakli/Trello-Desktop-MCP のフォークです。機能やアイデアはフォークエコシステム全体から取り入れられました:

  • kocakli -- オリジナルプロジェクト、MCPクライアント非依存のブランド変更、stderrログ修正

  • kevinhillinger -- 認証情報注入アーキテクチャ、ラベル削除、カードメンバー管理、カードアーカイブ、TypeScript型の拡張、リソースレイヤー

  • zonca -- 環境変数フォールバック付きの集中認証情報処理、ラベル管理ツール、包括的なユニットテスト、any を置き換える改善されたTypeScript型

  • dbz-max -- カスタムフィールドのサポート(ボードカスタムフィールド + カードカスタムフィールドアイテム)

  • maks244 -- 読み取り専用モードのコンセプト、名前によるリストフィルタリング、テレメトリログからの認証情報削除

  • jantman -- MCPクライアントによって文字列として送信された際に拒否される数値の pos 値の修正

  • ThatIanMcShane -- 現在のClaude Codeリリースでの接続タイムアウトを修正するために @modelcontextprotocol/sdk を 1.0.4 から 1.29.0 に更新

  • 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