Trello桌面
STDIO为Claude桌面提供Trello集成的MCP服务器
为Claude桌面提供Trello集成的MCP服务器
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.
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
Configure Claude Desktop
Edit your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd 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" } } } }
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 listupdate_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 boardstrello_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 detailslist_boards - List user's boardsget_lists - Get lists in a boardOnce 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:
├── 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:
"No Trello tools available"
dist/index.js"Invalid credentials"
"Rate limit exceeded"
Check MCP logs at:
~/Library/Logs/Claude/mcp-server-trello.log%APPDATA%\Claude\Logs\mcp-server-trello.logContributions are welcome! Please:
MIT License - see LICENSE file for details