Labsco
aepod logo

Trello

โ˜… 1

from aepod

Interact with Trello boards, lists, and cards using the Trello REST API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

Trello MCP Server

A Model Context Protocol (MCP) server that provides Claude with tools to interact with Trello boards, lists, and cards through the Trello REST API.

Features

Core Functionality

  • Board Management: List boards, get board details and metadata
  • List Operations: Retrieve lists, create new lists within boards
  • Card Management: Create, update, delete, and move cards between lists
  • Member Management: Add/remove members from boards and cards
  • Labels & Checklists: Manage card labels and checklist items

Technical Features

  • TypeScript implementation with full type safety
  • Comprehensive error handling and validation
  • Rate limiting compliance for Trello API
  • Secure authentication using API key/token
  • Integration with Popular Agentic IDE via MCP protocol

Available Tools

Board Operations

  • list_boards - Get all boards accessible to the user
  • get_board - Get detailed information about a specific board
  • get_board_members - List members of a board

List Operations

  • get_lists - Get all lists in a board
  • create_list - Create a new list in a board
  • update_list - Update list properties (name, position)

Card Operations

  • get_cards - Get cards from a board or list
  • create_card - Create a new card
  • update_card - Update card properties (name, description, due date)
  • move_card - Move card to different list
  • delete_card - Delete a card
  • add_card_member - Add member to a card
  • remove_card_member - Remove member from a card

Label Operations

  • get_labels - Get available labels for a board
  • add_card_label - Add label to a card
  • remove_card_label - Remove label from a card

Checklist Operations

  • get_card_checklists - Get checklists on a card
  • create_checklist - Create a new checklist on a card
  • add_checklist_item - Add item to a checklist
  • update_checklist_item - Update checklist item (mark complete/incomplete)

Development

Project Structure

trello-mcp/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.ts          # MCP server entry point
โ”‚   โ”œโ”€โ”€ trello-client.ts  # Trello API client
โ”‚   โ”œโ”€โ”€ tools/            # MCP tool implementations
โ”‚   โ”‚   โ”œโ”€โ”€ boards.ts
โ”‚   โ”‚   โ”œโ”€โ”€ lists.ts
โ”‚   โ”‚   โ”œโ”€โ”€ cards.ts
โ”‚   โ”‚   โ””โ”€โ”€ labels.ts
โ”‚   โ””โ”€โ”€ types/            # TypeScript type definitions
โ”œโ”€โ”€ dist/                 # Compiled JavaScript
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ tsconfig.json
โ””โ”€โ”€ README.md

Scripts

  • npm run build - Build TypeScript to JavaScript
  • npm run dev - Run in development mode with auto-reload
  • npm run start - Start the MCP server
  • npm run test - Run tests

Testing

# Install the MCP Inspector for testing
npm install -g @modelcontextprotocol/inspector

# Test the server
mcp-inspector node dist/index.js

Error Handling

The server includes comprehensive error handling for:

  • Network connectivity issues
  • Invalid API credentials
  • Rate limiting (429 errors)
  • Invalid board/list/card IDs
  • Permission errors

Security Notes

  • API credentials are passed via environment variables
  • No credentials are logged or stored in plain text
  • All API requests use HTTPS
  • Rate limiting is respected to avoid API abuse

Support

For issues and questions: