A Model Context Protocol (MCP) server that provides comprehensive Trello integration for Claude Desktop. This server enables Claude to interact with Trello boards, cards, lists, and more through a secure local connection.
- Universal Search: Search across all Trello content (boards, cards, members, organizations)
- User Boards: Get all boards accessible to the current user
- Board Details: Retrieve detailed information about boards including lists and cards
- Create Cards: Add new cards to any list with descriptions, due dates, and assignments
- Update Cards: Modify card properties like name, description, due dates, and status
- Move Cards: Transfer cards between lists to update workflow status
- Get Card Details: Fetch comprehensive card information including members, labels, and checklists
- Add Comments: Post comments on cards for team communication
- Member Management: View board members and member details
- Activity History: Track card actions and changes
- List Management: Create new lists and get cards within specific lists
- Labels: View and manage board labels for categorization
- Checklists: Access card checklists and checklist items
- Attachments: View card attachments and linked files
- Node.js 18+ installed
- Claude Desktop application
- Trello account with API credentials
-
Clone the repository
git clone https://github.com/kocakli/trello-desktop-mcp.git cd trello-desktop-mcp
-
Install dependencies
npm install
-
Build the project
npm run build
-
Get Trello API credentials
- Visit https://trello.com/app-key
- Copy your API Key
- Generate a Token (never expires, read/write access)
-
Configure Claude Desktop
Edit your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the Trello MCP server:
{ "mcpServers": { "trello": { "command": "node", "args": ["/absolute/path/to/trello-desktop-mcp/dist/index.js"], "env": { "TRELLO_API_KEY": "your-api-key-here", "TRELLO_TOKEN": "your-token-here" } } } }
- macOS:
-
Restart Claude Desktop
The MCP server provides 19 tools organized into three phases:
trello_search
- Universal search across all Trello contenttrello_get_user_boards
- Get all boards accessible to the current userget_board_details
- Get detailed board information with lists and cardsget_card
- Get comprehensive card detailscreate_card
- Create new cards in any list
update_card
- Update card propertiesmove_card
- Move cards between liststrello_add_comment
- Add comments to cardstrello_get_list_cards
- Get all cards in a specific listtrello_create_list
- Create new lists on boards
trello_get_board_cards
- Get all cards from a board with filteringtrello_get_card_actions
- Get card activity historytrello_get_card_attachments
- Get card attachmentstrello_get_card_checklists
- Get card checkliststrello_get_board_members
- Get board memberstrello_get_board_labels
- Get board labelstrello_get_member
- Get member details
list_boards
- List user's boardsget_lists
- Get lists in a board
Once configured, you can use natural language with Claude to interact with Trello:
"Show me all my Trello boards"
"Create a new card called 'Update documentation' in the To Do list"
"Move card X from In Progress to Done"
"Add a comment to card Y saying 'This is ready for review'"
"Search for all cards with 'bug' in the title"
"Show me all cards assigned to me"
The server implements the Model Context Protocol (MCP), which provides:
- Standardized tool discovery and invocation
- Type-safe parameter validation
- Structured error handling
- Automatic credential management
- API credentials are stored locally in Claude Desktop's config
- No credentials are transmitted over the network
- All Trello API calls use HTTPS
- Rate limiting is respected with automatic retry logic
- TypeScript for type safety
- MCP SDK for protocol implementation
- Zod for schema validation
- Fetch API for HTTP requests
βββ src/
β βββ index.ts # Main entry point for Claude Desktop
β βββ server.ts # Alternative server implementation
β βββ tools/ # Tool implementations
β β βββ boards.ts # Board-related tools
β β βββ cards.ts # Card-related tools
β β βββ lists.ts # List-related tools
β β βββ members.ts # Member-related tools
β β βββ search.ts # Search functionality
β β βββ advanced.ts # Advanced features
β βββ trello/ # Trello API client
β β βββ client.ts # API client with retry logic
β βββ types/ # TypeScript type definitions
β βββ utils/ # Utility functions
βββ dist/ # Compiled JavaScript
βββ package.json # Project configuration
# Install dependencies
npm install
# Build the project
npm run build
# Run type checking
npm run type-check
The server includes comprehensive error handling and validation. Test your setup by:
- Checking Claude Desktop's MCP connection status
- Running a simple command like "Show me my Trello boards"
- Verifying the response includes your board data
-
"No Trello tools available"
- Ensure Claude Desktop is fully restarted after configuration
- Check that the path in config points to
dist/index.js
- Verify the file exists and is built
-
"Invalid credentials"
- Double-check your API key and token
- Ensure token has read/write permissions
- Regenerate token if needed
-
"Rate limit exceeded"
- The server includes automatic retry logic
- Wait a few minutes if you hit limits
- Consider reducing request frequency
Check MCP logs at:
- macOS:
~/Library/Logs/Claude/mcp-server-trello.log
- Windows:
%APPDATA%\Claude\Logs\mcp-server-trello.log
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Submit a pull request
MIT License - see LICENSE file for details
- Built with the Model Context Protocol SDK
- Uses the Trello REST API
- Designed for Claude Desktop