The MCP Server Trello provides comprehensive tools for interacting with Trello boards, lists, and cards with seamless API integration.
Board and Workspace Management:
List and set active boards and workspaces dynamically
List boards in specific workspaces
Get active board information
Persistent configuration between restarts
Card Operations:
Fetch, add, update, and archive cards
Move cards between lists
Attach images from URLs
Get cards assigned to current user
List Operations:
Retrieve all lists from active board
Add and archive lists
Get cards by list ID
Additional Features:
Activity tracking with customizable limits
Automatic rate limit handling
Robust error handling with detailed messages
TypeScript implementation with input validation
Provides tools for interacting with Trello boards, including fetching cards and lists, adding new cards and lists, updating card details, archiving cards and lists, and fetching recent activity.
MCP Server Trello
A Model Context Protocol (MCP) server that provides tools for interacting with Trello boards. This server enables seamless integration with Trello's API while handling rate limiting, type safety, and error handling automatically.
🎉 New in v1.5.0: Now Powered by Bun! ⚡
This project is now powered by Bun! 🚀 We've migrated the entire project to the Bun runtime, resulting in a 2.8-4.4x performance boost. All existing npx, pnpx, and npm commands will continue to work perfectly.
✨ New in This Release:
🚀 Performance Boost: Enjoy a faster, more responsive server.
BUN Bun-Powered: The project now runs on the lightning-fast Bun runtime.
📖 Comprehensive Examples: A new
examplesdirectory with detailed implementations in JavaScript, Python, and TypeScript.
Plus: Modern MCP SDK architecture, enhanced type safety, and comprehensive documentation!
Related MCP server: Claude MCP Trello
Changelog
For a detailed list of changes, please refer to the CHANGELOG.md file.
Features
Full Trello Board Integration: Interact with cards, lists, and board activities
🆕 Complete Card Data Extraction: Fetch all card details including checklists, attachments, labels, members, and comments
💬 Comment Management: Add, update, delete, and retrieve comments on cards
File Attachments: Attach any type of file to cards (PDFs, documents, videos, images, etc.) from URLs
Built-in Rate Limiting: Respects Trello's API limits (300 requests/10s per API key, 100 requests/10s per token)
Type-Safe Implementation: Written in TypeScript with comprehensive type definitions
Input Validation: Robust validation for all API inputs
Error Handling: Graceful error handling with informative messages
Dynamic Board Selection: Switch between boards and workspaces without restarting
Markdown Formatting: Export card data in human-readable markdown format
Installation
🚀 Install from MCP Registry (Recommended)
The MCP Server Trello is now available in the official MCP Registry! MCP clients can automatically discover and install this server.
For clients that support the MCP Registry:
Search for "mcp-server-trello" or "io.github.delorenj/mcp-server-trello"
Install directly from the registry
Configure with your Trello credentials
🚀 Quick Start with Bun (Fastest)
If you have Bun installed, using bunx is the fastest way to run the server:
Quick Start with npx / pnpx / bunx
You can still use npx or pnpx. This doesn't require a global install and will work just fine, though bunx (above) is faster.
Or if you're using mise, you can explicitly execute bunx with mise exec:
To connect a Trello workspace, you'll need to manually retrieve a TRELLO_TOKEN once per workspace. After setting up your Trello Power-Up, visit the following URL:
Replace:
YOUR_APP_NAMEwith a name for your application (e.g., "My Trello Integration"). This name is shown to the user on the Trello authorization screen.YOUR_API_KEYwith the API key for your Trello Power-Up
This will generate the token required for integration.
Theexpiration=never parameter creates a token that does not expire. For enhanced security, consider using expiration=30days and renewing the token periodically if your setup allows for it.
Don't have Bun?
The simplest way to get bun (and thus bunx) is through mise:
Installing via npm
If you prefer using npm directly:
(A fast alternative is
Then use npx mcp-server-trello as the command in your MCP configuration.
Installing via Smithery
To install Trello Server for Claude Desktop automatically via Smithery:
Docker Installation
For containerized environments:
Clone the repository:
Copy the environment template and fill in your Trello credentials:
Build and run with Docker Compose:
Configuration
Environment Variables
The server can be configured using environment variables. Create a .env file in the root directory with the following variables:
You can get these values from:
API Key: https://trello.com/app-key
Token: Generate using your API key
Board ID (optional, deprecated): Found in the board URL (e.g., [suspicious link removed])
Workspace ID: Found in workspace settings or using
list_workspacestool
Board and Workspace Management
Starting with version 0.3.0, the MCP server supports multiple ways to work with boards:
Multi-board support: All methods now accept an optional
boardIdparameter - OmitTRELLO_BOARD_IDand provideboardIdin each API call - SetTRELLO_BOARD_IDas default and optionally override withboardIdparameterDynamic board selection: Use workspace management tools - The
TRELLO_BOARD_IDin your.envfile is used as the initial/default board ID - You can change the active board at any time using theset_active_boardtool - The selected board persists between server restarts (stored in~/.trello-mcp/config.json) - Similarly, you can set and persist an active workspace usingset_active_workspace
This allows you to work with multiple boards and workspaces without restarting the server.
Example Workflow
Start by listing available boards:
Set your active board:
List workspaces if needed:
Set active workspace if needed:
Check current active board info:
Date Format Guidelines
When working with dates in the Trello MCP server, please note the different format requirements:
Due Date (: Accepts full ISO 8601 format with time (e.g.,
2023-12-31T12:00:00Z)Start Date (: Accepts date only in YYYY-MM-DD format (e.g.,
2025-08-05)
This distinction follows Trello's API conventions where start dates are day-based markers while due dates can include specific times.
Available Tools
Checklist Management Tools 🆕
get_checklist_items
Get all items from a checklist by name.
add_checklist_item
Add a new item to an existing checklist.
find_checklist_items_by_description
Search for checklist items containing specific text.
get_acceptance_criteria
Get all items from the "Acceptance Criteria" checklist.
get_checklist_by_name
Get a complete checklist with all items and completion percentage.
Returns: CheckList object with:
id: Checklist identifiername: Checklist nameitems: Array ofCheckListItemobjectspercentComplete: Completion percentage (0-100)
get_card 🆕
Get comprehensive details of a specific Trello card with human-level parity.
Returns: Complete card data including:
✅ Checklists with item states and assignments
📎 Attachments with previews and metadata
🏷️ Labels with names and colors
👥 Assigned members
💬 Comments and activity
📊 Statistics (badges)
🎨 Cover images
📍 Board and list context
get_cards_by_list_id
Fetch all cards from a specific list.
get_lists
Retrieve all lists from a board.
get_recent_activity
Fetch recent activity on a board.
add_card_to_list
Add a new card to a specified list.
update_card_details
Update an existing card's details.
archive_card
Send a card to the archive.
add_list_to_board
Add a new list to a board.
archive_list
Send a list to the archive.
get_my_cards
Fetch all cards assigned to the current user.
move_card
Move a card to a different list.
attach_image_to_card
Attach an image to a card directly from a URL.
attach_file_to_card
Attach any type of file to a card from a URL or a local file path (e.g., file:///path/to/your/file.pdf).
Comment Management Tools
add_comment
Add a comment to a Trello card.
update_comment
Update an existing comment on a card.
delete_comment
Delete a comment from a card.
get_card_comments
Retrieve all comments from a specific card without fetching all card data.
list_boards
List all boards the user has access to.
set_active_board
Set the active board for future operations.
list_workspaces
List all workspaces the user has access to.
set_active_workspace
Set the active workspace for future operations.
list_boards_in_workspace
List all boards in a specific workspace.
get_active_board_info
Get information about the currently active board.
Integration Examples
🎨 Pairing with Ideogram MCP Server
The Trello MCP server pairs beautifully with @flowluap/ideogram-mcp-server for AI-powered visual content creation. Generate images with Ideogram and attach them directly to your Trello cards!
Example Workflow
Generate an image with Ideogram:
Attach the generated image to a Trello card:
Setting up both servers
Add both servers to your Claude Desktop configuration. Use bunx for the fastest startup.
Now you can seamlessly create visual content and organize it in Trello, all within Claude!
Rate Limiting
The server implements a token bucket algorithm for rate limiting to comply with Trello's API limits:
300 requests per 10 seconds per API key
100 requests per 10 seconds per token
Rate limiting is handled automatically, and requests will be queued if limits are reached.
Error Handling
The server provides detailed error messages for various scenarios:
Invalid input parameters
Rate limit exceeded
API authentication errors
Network issues
Invalid board/list/card IDs
Development
Prerequisites
Bun (v1.0.0 or higher)
Setup
Clone the repository
Install dependencies
Build the project
Running tests
To run the tests, run the following command:
Running evals
The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the bunx command. Full documentation can be found here.
Contributing
Contributions are welcome!
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with the Model Context Protocol SDK
Uses the Trello REST API