Skip to main content
Glama
Atlassian Trello MCP Server

Atlassian Trello MCP Server

by agrath

Trello MCP-Server

npm version license: MIT

🔀 Aktiver Fork. Dies ist ein gepflegter Fork von kocakli/Trello-Desktop-MCP, der Beiträge aus dem gesamten Fork-Ökosystem integriert (kevinhillinger, zonca, dbz-max, maks244, jantman, ThatIanMcShane, josh-argyle). Pull Requests sind willkommen – siehe Credits für die Beiträge der einzelnen Entwickler. Veröffentlicht auf npm als atlassian-trello-mcp.

Ein Model Context Protocol (MCP)-Server für Trello, der mit jedem MCP-kompatiblen Client funktioniert – Claude Desktop, Claude Code, Gemini CLI und mehr.

Bietet 46 Tools für Boards, Karten, Listen, Labels, Checklisten, Anhänge, Mitglieder, benutzerdefinierte Felder und die Suche.

Schnellstart

1. Trello API-Zugangsdaten abrufen

2. Installation

Der einfachste Weg ist npx – kein Klonen, kein Build, einfach ausführen:

npx atlassian-trello-mcp

Oder aus dem Quellcode installieren:

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

3. MCP-Client konfigurieren

Bearbeiten Sie Ihre Konfigurationsdatei:

  • 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

Setzen Sie die Umgebungsvariablen TRELLO_API_KEY und TRELLO_TOKEN oder übergeben Sie die Zugangsdaten pro Anfrage.

Bearbeiten Sie ~/.gemini/settings.json:

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

Der Server verwendet den stdio-Transport. Führen Sie ihn mit gesetzten Umgebungsvariablen aus:

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

Zugangsdaten

Zugangsdaten können auf zwei Arten bereitgestellt werden:

  1. Umgebungsvariablen (empfohlen): Setzen Sie TRELLO_API_KEY und TRELLO_TOKEN

  2. Pro Anfrage: Übergeben Sie apiKey und token als Tool-Parameter (überschreibt Umgebungsvariablen)

Verfügbare Tools (46)

Boards & Listen

Tool

Beschreibung

list_boards

Alle zugänglichen Boards auflisten

trello_get_user_boards

Boards mit Benutzerprofil-Informationen abrufen

get_board_details

Board-Metadaten, Listen und optional Karten

get_lists

Alle Listen eines Boards abrufen

trello_filter_lists

Listen nach Name filtern (Groß-/Kleinschreibung ignorierende Teilzeichenfolgen-Suche)

trello_create_list

Eine neue Liste auf einem Board erstellen

trello_get_board_members

Alle Mitglieder eines Boards abrufen

trello_get_board_labels

Alle Labels eines Boards abrufen

trello_get_board_cards

Alle Karten eines Boards abrufen (kompakt oder vollständig)

trello_get_board_custom_fields

Definitionen benutzerdefinierter Felder abrufen

Karten

Tool

Beschreibung

create_card

Karte mit Name, Beschreibung, Fälligkeitsdatum, Labels und Mitgliedern erstellen

get_card

Kartendetails abrufen

update_card

Karteneigenschaften aktualisieren

move_card

Karte in eine andere Liste verschieben

trello_archive_card

Karte archivieren oder Archivierung aufheben

trello_get_list_cards

Karten in einer Liste abrufen (kompakter oder vollständiger Modus)

Kommentare & Aktivitäten

Tool

Beschreibung

trello_add_comment

Kommentar zu einer Karte hinzufügen

trello_get_card_actions

Aktivitätsverlauf und Kommentare einer Karte abrufen

Labels

Tool

Beschreibung

trello_create_label

Label auf einem Board erstellen

trello_update_label

Label-Name oder -Farbe aktualisieren

trello_delete_label

Label löschen

trello_add_label_to_card

Label einer Karte zuweisen

trello_remove_label_from_card

Label von einer Karte entfernen

Mitglieder auf Karten

Tool

Beschreibung

trello_get_member

Mitgliedsprofil-Details abrufen

trello_add_member_to_card

Mitglied einer Karte zuweisen

trello_remove_member_from_card

Mitglied von einer Karte entfernen

Anhänge

Tool

Beschreibung

trello_get_card_attachments

Alle Anhänge einer Karte auflisten

trello_get_card_attachment

Spezifischen Anhang abrufen

trello_create_card_attachment

URL anhängen oder lokale Datei hochladen

trello_delete_card_attachment

Anhang löschen

Checklisten

Tool

Beschreibung

trello_create_checklist

Checkliste auf einer Karte erstellen

trello_get_checklist

Checkliste mit Elementen abrufen

trello_update_checklist

Checklisten-Name oder -Position aktualisieren

trello_delete_checklist

Checkliste löschen

trello_get_checklist_field

Spezifisches Checklisten-Feld abrufen

trello_update_checklist_field

Spezifisches Checklisten-Feld aktualisieren

trello_get_board_for_checklist

Board abrufen, zu dem eine Checkliste gehört

trello_get_card_for_checklist

Karte abrufen, zu der eine Checkliste gehört

trello_get_card_checklists

Alle Checklisten einer Karte abrufen

Checklisten-Elemente

Tool

Beschreibung

trello_create_check_item

Element zu einer Checkliste hinzufügen

trello_get_check_items

Alle Elemente einer Checkliste abrufen

trello_get_check_item

Spezifisches Checklisten-Element abrufen

trello_update_check_item

Element aktualisieren (Name, Status, Fälligkeitsdatum, Verantwortlicher)

trello_delete_check_item

Checklisten-Element löschen

Suche

Tool

Beschreibung

trello_search

Über Boards, Karten, Mitglieder und Organisationen hinweg suchen

Konfiguration

Schreibgeschützter Modus

Setzen Sie TRELLO_READ_ONLY=true, um alle Schreibvorgänge zu deaktivieren. Nur Lese-/Abfrage-Tools sind verfügbar.

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

Kompakter Modus

Mehrere Tools unterstützen einen compact-Parameter (Standard: true), der nur minimale Felder zurückgibt, um die Antwortgröße zu reduzieren. Setzen Sie compact: false für vollständige Details, einschließlich Beschreibungen, Labels, Mitgliedern und benutzerdefinierten Feldern.

Tools mit kompaktem Modus: get_board_details, trello_get_board_cards, trello_get_list_cards, trello_search.

Bildanhang-Download

Wenn get_card aufgerufen wird und die Karte Bildanhänge enthält, lädt der Server diese herunter und gibt sie als Inline-MCP-Bildinhaltsblöcke neben dem JSON zurück – so kann der Client Kartenbilder direkt sehen. Downloads sind auf Trello-gehostete URLs (*.trello.com, trello-attachments.s3.amazonaws.com) beschränkt und auf 5 MB pro Bild begrenzt, um SSRF- und Payload-Größenrisiken zu mindern.

Setzen Sie TRELLO_DOWNLOAD_IMAGES=false (oder 0/no/off), um dies vollständig zu deaktivieren – der Server überspringt dann den zusätzlichen getCardAttachments-Aufruf und gibt nur Text zurück. Standardmäßig aktiviert.

Protokollierung

Setzen Sie TRELLO_MCP_LOGGING=true, um die dateibasierte Protokollierung über Pino zu aktivieren. Protokolle werden in dist/logs/app.log geschrieben.

Entwicklung

Projektstruktur

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

Wichtige Muster

  • ID-Auflösung: Alle Tools akzeptieren Trello-URLs, Kurz-IDs oder vollständige 24-stellige Hex-IDs via extractTrelloId()

  • Fallback für Zugangsdaten: extractCredentials() prüft zuerst Argumente, dann Umgebungsvariablen

  • Wiederholung mit Backoff: TrelloClient wiederholt bei 500/Netzwerkfehlern (3 Versuche, exponentielles Backoff)

  • Ratenbegrenzung: Extrahiert und gibt x-rate-limit-*-Header aus jeder Antwort zurück

  • Validierung: Zod-Schemas validieren alle Eingaben vor API-Aufrufen

Mitwirken

Pull Requests sind willkommen und werden aktiv geprüft. Dieser Fork wird von einem intensiven Trello-Nutzer gepflegt, daher werden Funktionen in der Praxis getestet.

Wenn Sie das ursprüngliche Projekt geforkt und etwas Nützliches gebaut haben, reichen Sie bitte hier einen PR ein, anstatt einen separaten Fork zu pflegen – es ist für alle einfacher, von einem einzigen, gut gepflegten Projekt zu profitieren.

So wirken Sie mit:

  1. Forken Sie dieses Repo

  2. Erstellen Sie einen Feature-Branch

  3. Fügen Sie Tests für neue Funktionen hinzu

  4. Führen Sie npm test und npm run build aus

  5. Reichen Sie einen Pull Request mit einer klaren Beschreibung von "Was" und "Warum" ein

Credits

Dieses Projekt ist ein Fork von kocakli/Trello-Desktop-MCP. Funktionen und Ideen wurden aus dem gesamten Fork-Ökosystem übernommen:

  • kocakli -- Ursprüngliches Projekt, MCP-Client-agnostisches Rebranding, Korrektur der stderr-Protokollierung

  • kevinhillinger -- Architektur zur Injektion von Zugangsdaten, Label-Löschung, Kartenmitgliederverwaltung, Kartenarchivierung, erweiterte TypeScript-Typen, Ressourcen-Ebene

  • zonca -- Zentralisierte Handhabung von Zugangsdaten mit Fallback auf Umgebungsvariablen, Label-Management-Tools, umfassende Unit-Tests, verbesserte TypeScript-Typen (ersetzt any)

  • dbz-max -- Unterstützung für benutzerdefinierte Felder (Board-Felder + Karten-Feld-Elemente)

  • maks244 -- Konzept für schreibgeschützten Modus, Listenfilterung nach Name, Entfernen von Zugangsdaten aus Telemetrie-Protokollen

  • jantman -- Korrektur für numerische pos-Werte, die von MCP-Clients als Strings abgelehnt wurden

  • ThatIanMcShane -- Aktualisierung von @modelcontextprotocol/sdk 1.0.4 auf 1.29.0 zur Behebung von Verbindungs-Timeouts bei aktuellen Claude Code-Releases

  • josh-argyle -- Automatischer Download von Bildanhängen in get_card-Antworten als Inline-MCP-Bildinhaltsblöcke (mit während des Ports hinzugefügter Positivliste + Größenbeschränkung)

Lizenz

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