The MCP Server Trello enables seamless interaction with Trello boards through a type-safe, rate-limited, and error-handled API.
- Fetch cards from a specific list using
get_cards_by_list_id
- Retrieve all lists from the board with
get_lists
- Fetch recent activity on the board via
get_recent_activity
- Add new cards to a list using
add_card_to_list
- Update existing cards with
update_card_details
- Archive cards using
archive_card
- Add new lists to the board with
add_list_to_board
- Archive lists using
archive_list
- Fetch assigned cards for the current user via
get_my_cards
- Handle rate limiting (300 requests/10s per API key, 100 requests/10s per token)
- Provide robust error handling for various error conditions
Enables comprehensive Trello board management with capabilities for interacting with cards, lists, and board activities. Supports creating and updating cards, managing lists, tracking recent activity, and handling assigned tasks while respecting Trello's API rate limits.
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.
Features
- Full Trello Board Integration: Interact with cards, lists, and board activities
- 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
Installation
Configuration
Add the server to your MCP settings file with the following configuration:
Required Environment Variables
TRELLO_API_KEY
: Your Trello API key (get from https://trello.com/app-key)TRELLO_TOKEN
: Your Trello token (generate using your API key)TRELLO_BOARD_ID
: ID of the Trello board to interact with (found in board URL)
Available Tools
get_cards_by_list_id
Fetch all cards from a specific list.
get_lists
Retrieve all lists from the configured board.
get_recent_activity
Fetch recent activity on the 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 the board.
archive_list
Send a list to the archive.
get_my_cards
Fetch all cards assigned to the current user.
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
- Node.js 16 or higher
- npm or yarn
Setup
- Clone the repository
- Install dependencies
- Build the project
Running Tests
Contributing
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
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
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Enables seamless integration with Trello boards, allowing users to manage cards, lists, and activities while automatically handling rate limiting and providing type safety.
- Features
- Installation
- Configuration
- Available Tools
- Rate Limiting
- Error Handling
- Development
- Contributing
- License
- Acknowledgments
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates interaction with Trello boards via the Trello API, offering features like rate limiting, type safety, input validation, and error handling for seamless management of cards, lists, and board activities.Last updated -95840TypeScriptMIT License
- AsecurityFlicenseAqualityEnables interaction with Trello boards, lists, and cards through Model Context Protocol (MCP) tools, leveraging TypeScript for type safety and asynchronous operations.Last updated -5JavaScript
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for interacting with Trello boards, enabling seamless management of cards, lists, and activities while handling rate limiting and type safety.Last updated -103JavaScriptMIT License
- -securityAlicense-qualityConnects to Trello with all the tools available that I was able to find in API referenceLast updated -31TypeScriptMIT License