Trello MCP Server
Enables AI assistants to interact with Trello boards, cards, lists, and more through a standardized interface.
README
Trello MCP Server
A Model Context Protocol (MCP) server that provides comprehensive Trello integration for AI assistants and applications. This server enables MCP clients to interact with Trello boards, cards, lists, and more through a standardized interface.
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: Upload, download, and manage card attachments with MCP resource support
Installation
Prerequisites
- Node.js 18+ installed
- An MCP-compatible client (Claude Desktop, Claude Code, or other MCP clients)
- Trello account with API credentials
Setup Steps
-
Clone the repository
git clone https://github.com/semblancelabs/trello-mcp-server.git cd trello-mcp-server -
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 your MCP client
Add the Trello MCP server to your client's configuration. Example configuration:
{ "mcpServers": { "trello": { "command": "node", "args": ["/absolute/path/to/trello-mcp-server/dist/index.js"], "env": { "TRELLO_API_KEY": "your-api-key-here", "TRELLO_TOKEN": "your-token-here" } } } } -
Restart your MCP client
Available Tools
The MCP server provides 35 tools organized by category:
Search
search- Universal search across all Trello content (boards, cards, members, organizations)
Boards
listBoards- List all boards accessible to the usergetBoardDetails- Get detailed board information with lists and cardsgetLists- Get all lists in a board
Cards
createCard- Create a new card in a listgetCard- Get detailed card informationupdateCard- Update card properties (name, description, due date, etc.)moveCard- Move a card to a different listarchiveCard- Archive or unarchive a carddeleteCard- Permanently delete a card
Checklists
createChecklistOnCard- Create a new checklist on a cardupdateCheckItem- Update a checklist item (mark complete/incomplete, rename)deleteCheckItem- Delete a checklist itemgetCardChecklists- Get all checklists and items for a card
Attachments
addAttachmentToCard- Add a URL or file attachment to a carddeleteAttachmentFromCard- Remove an attachment from a cardgetAttachmentsOnCard- Get all attachments for a cardgetAttachmentOnCard- Get a specific attachmentdownloadFileAttachment- Download an attachment file to local path
Labels
createLabel- Create a new label on a boardgetLabel- Get label detailsupdateLabel- Update label name or colordeleteLabel- Delete a label from a boardupdateLabelField- Update a specific label fieldgetBoardLabels- Get all labels on a boardaddLabelToCard- Add a label to a cardremoveLabelFromCard- Remove a label from a card
Members
getUserBoards- Get all boards accessible to the current usergetMember- Get member profile and boardsgetBoardMembers- Get all members on a boardaddMemberToCard- Assign a member to a cardremoveMemberFromCard- Remove a member from a card
Lists & Comments
createList- Create a new list on a boardgetListCards- Get all cards in a specific listaddComment- Add a comment to a cardgetCardActions- Get activity history and comments for a card
Board Queries
getBoardCards- Get all cards from a board with filtering
MCP Resources
The server exposes Trello card attachments as MCP resources using the trello:// URI scheme. This allows MCP clients to access file attachments directly.
Resource URI Format
trello://cards/{cardId}/attachments/{attachmentId}/download/{fileName}
How It Works
-
Get Attachments: Use
getAttachmentsOnCardto list attachments on a card. File attachments (whereisUpload=true) include atrello://resource URI in theurlfield. -
Access Resources: MCP clients can read the resource URI directly to access file metadata and trigger downloads.
-
Download Files: Use
downloadFileAttachmentwith the resource URI to download the file to a local path.
Example Workflow
1. Call getAttachmentsOnCard for card "abc123"
2. Response includes: { "url": "trello://cards/abc123/attachments/xyz789/download/document.pdf", "isUpload": true }
3. Call downloadFileAttachment with resourceUri and desired filePath
4. File is downloaded and saved locally
Resource Features
- On-Demand Download: Files are only downloaded when explicitly requested
- Large File Support: Streams files efficiently without loading entirely into memory
- Authenticated Access: Uses your Trello credentials automatically
Usage Examples
Once configured, you can use natural language 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"
Architecture
MCP Protocol
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
Security
- API credentials are stored in your MCP client's configuration
- No credentials are transmitted over the network except to Trello's API
- All Trello API calls use HTTPS
- Rate limiting is respected with automatic retry logic
Technical Stack
- TypeScript for type safety
- MCP SDK for protocol implementation
- Zod for schema validation
- Fetch API for HTTP requests
Development
Building from Source
# Install dependencies
npm install
# Build the project
npm run build
# Run type checking
npm run type-check
Testing
The server includes comprehensive error handling and validation. Test your setup by:
- Checking your MCP client's connection status
- Running a simple command like "Show me my Trello boards"
- Verifying the response includes your board data
Troubleshooting
Common Issues
-
"No Trello tools available"
- Ensure your MCP client 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
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Submit a pull request
License
MIT License - see LICENSE file for details
Acknowledgments
- Built with the Model Context Protocol SDK
- Uses the Trello REST API
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.