Trello-Desktop-MCP is a Model Context Protocol (MCP) server for Trello that works with any MCP-compatible client, including Claude Desktop, Claude Code, Gemini CLI, and others. This project is an actively maintained fork of kocakli/Trello-Desktop-MCP, incorporates contributions from multiple fork ecosystems, and is published on npm under the name atlassian-trello-mcp.
Purpose This server is used to connect Trello's board, card, list, and other management capabilities to MCP clients, allowing users to complete Trello operations through natural language or client tool calls. It provides 50 tools, covering boards, cards, lists, labels, checklists, attachments, members, custom fields, and search.
Main capabilities
- Board, card, and list management: provides comprehensive create, read, update, and other operations.
- Labels, checklists, attachments, members, custom fields: all have corresponding tool support.
- Search: supports Trello search.
- Read-only mode: setting TRELLO_READ_ONLY=true disables all write operations, 25 write tools are hidden from tools/list, and even if called they will be rejected, leaving only 25 read tools. This policy uses a read-tool allowlist and defaults to fail-closed: any subsequently added tool is treated as write until explicitly classified as read.
- Compact mode: multiple tools support the compact parameter (default true), returning minimal fields to reduce response size; set compact: false to get full details, including description, labels, members, and custom fields. Tools that support compact mode include get_board_details, trello_get_board_cards, trello_get_list_cards, trello_search.
- Image attachment download: when calling get_card, if the card has image attachments, the server downloads them and returns them with the JSON as MCP inline image content blocks, allowing the client to directly see the card images. Downloads are limited to Trello-hosted URLs (*.trello.com, trello-attachments.s3.amazonaws.com), with a 5 MB limit per image, to mitigate SSRF and payload bloat risks. Setting TRELLO_DOWNLOAD_IMAGES=false (or 0 / no / off) disables this completely, and the server will skip the extra getCardAttachments call and return text only. Enabled by default.
- Logging: setting TRELLO_MCP_LOGGING=true enables file-based logging via Pino, with logs written to dist/logs/app.log.
Usage
- Obtain Trello API credentials: Trello no longer issues API keys directly; each user must create their own Power-Up, then generate a token based on that Power-Up's key. Visit https://trello.com/power-ups/admin and click New, fill out the form (name such as Claude MCP; if there are multiple team members, each developer needs to create their own Power-Up so the API key is bound to them; for Workspace, select the workspace to interact with; for Iframe connector URL, enter https://localhost,为必填但本 the MCP server does not actually use it; for Email, enter your email; Support contact and Author can be company-level or personal). After creation, click API key in the sidebar, then click Generate a new API key and then Generate API key in the confirmation popup, and Trello will display the API key and Secret; please save them properly. Then visit in the browser https://trello.com/1/authorize?expiration=never&scope=read,write,account&response_type=token&name={NAME}&key={APIKEY},将 Replace {NAME} with the Power-Up name and {APIKEY} with the key from the previous step, confirm access and click Allow, Trello returns an API token, copy it. Finally, put the API key and token into the MCP client configuration (such as .claude.json).
- Installation: The simplest way is to use npx, no cloning or building required, just run it directly; you can also install from source.
- Configure the MCP client: edit the configuration file, on macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows it is %APPDATA%\Claude\claude_desktop_config.json, on Linux it is ~/.config/Claude/claude_desktop_config.json. Set the environment variables TRELLO_API_KEY and TRELLO_TOKEN, or pass credentials per request. For Gemini CLI, edit ~/.gemini/settings.json. The server uses stdio transport, and environment variables need to be set at runtime. There are two ways to provide credentials: environment variables (recommended) by setting TRELLO_API_KEY and TRELLO_TOKEN; or pass apiKey and token per request as tool parameters (which override the environment variables).
Use cases Suitable for users who need to directly manage Trello boards, cards, lists, labels, checklists, attachments, members, custom fields, and search in MCP clients such as Claude Desktop, Claude Code, and Gemini CLI, and also suitable for scenarios where secure read-only access to Trello data is desired.
Limitations and notes
- You need to create a Trello Power-Up yourself and obtain an API key and token; Trello no longer issues API keys directly.
- In read-only mode, write tools are unavailable.
- Image attachment downloads are limited to Trello-hosted URLs, with a maximum of 5 MB per image.
- The project structure includes ID parsing (all tools accept Trello URLs, short IDs, or full 24-character hexadecimal IDs via extractTrelloId()), credential fallback (extractCredentials() checks parameters first and then environment variables), retries with backoff (TrelloClient retries 3 times on 500/network errors, with exponential backoff), rate limiting (extracts and returns x-rate-limit-* headers from each response), and validation (Zod schema validates all inputs before API calls).
- PRs are welcome; you need to create a feature branch, add tests for new features, run npm test and npm run build, and submit a clearly described pull request.
- This project is a fork of kocakli/Trello-Desktop-MCP, integrating features and ideas from multiple contributors.