Trello MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Model Context Protocol (MCP) server that provides comprehensive Trello integration for any MCP-compatible client — including Claude Desktop, Claude Code, Gemini CLI, and more. This server enables AI assistants to interact with Trello boards, cards, lists, and more through a secure local connection.
Features
🔍 Search & Discovery
- **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
📝 Card Management
- **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
💬 Collaboration
- **Add Comments**: Post comments on cards for team communication
- **Member Management**: View board members and member details
- **Activity History**: Track card actions and changes
📋 Organization
- **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
Installation
Prerequisites
- Node.js 18+ installed
- An MCP-compatible client (Claude Desktop, Claude Code, Gemini CLI, etc.)
- Trello account with API credentials
Setup Steps
1. **Clone the repository**
2. **Install dependencies**
3. **Build the project**
4. **Get Trello API credentials**
- Visit https://trello.com/app-key
- Copy your API Key
- Generate a Token (never expires, read/write access)
5. **Configure your MCP client**
Choose the instructions for your client below:
Claude Desktop
Edit your Claude Desktop configuration file:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
- Linux: ~/.config/Claude/claude_desktop_config.json
Add the Trello MCP server:
Then restart Claude Desktop.
Claude Code (CLI)
Add the server using the Claude Code CLI:
Or add it to your project's .mcp.json:
Gemini CLI
Edit your Gemini CLI settings file at ~/.gemini/settings.json:
Other MCP Clients
Any MCP-compatible client that supports stdio transport can use this server. You need to configure it to:
1. Run node /absolute/path/to/trello-desktop-mcp/dist/index.js
2. Set environment variables TRELLO_API_KEY and TRELLO_TOKEN
Refer to your client's documentation for the exact configuration format.
6. **Restart your MCP client** to pick up the new configuration.
Available Tools
The MCP server provides 19 tools organized into three phases:
Phase 1: Essential Tools
- trello_search - Universal search across all Trello content
- trello_get_user_boards - Get all boards accessible to the current user
- get_board_details - Get detailed board information with lists and cards
- get_card - Get comprehensive card details
- create_card - Create new cards in any list
Phase 2: Core Operations
- update_card - Update card properties