trello.com
trello.com logo

Trello

Integrates with Trello API to enable natural language management of boards, lists, and cards for streamlined project org...

Created byApr 23, 2025

Trello MCP Server

A powerful MCP server for interacting with Trello boards, lists, and cards via AI Hosts.

Table of Contents

  • [Table of Contents](#table-of-contents)
  • [Prerequisites](#prerequisites)
  • [Pre-installation](#pre-installation)
  • [Installation](#installation)
  • [Server Modes](#server-modes)
  • [Configuration](#configuration)
  • [Client Integration](#client-integration)
  • [Capabilities](#capabilities)
  • [Detailed Capabilities](#detailed-capabilities) - [Board Operations](#board-operations) - [List Operations](#list-operations) - [Card Operations](#card-operations)
  • [Usage](#usage)
  • [Troubleshooting](#troubleshooting)
  • [Contributing](#contributing)

Prerequisites

  1. Python 3.12 or higher, can easly managed by `uv`
  1. [Claude for Desktop](https://claude.ai/download) installed
  1. Trello account and API credentials
  1. [uv](https://github.com/astral-sh/uv) package manager installed

Pre-installation

  1. Make sure you have installed Claude Desktop App
  1. Make sure you have already logged in with your account into Claude.
  1. Start Claude

Installation

  1. Set up Trello API credentials: - Go to [Trello Apps Administration](https://trello.com/power-ups/admin) - Create a new integration at [New Power-Up or Integration](https://trello.com/power-ups/admin/new) - Fill in your information (you can leave the Iframe connector URL empty) and make sure to select the correct Workspace - Click your app's icon and navigate to "API key" from left sidebar. - Copy your "API key" and on the right side: "you can manually generate a Token." click the word token to get your Trello Token.
  1. Rename the `.env.example` file in the project root with `.env` and set vairables you just got:
  1. Install uv if you haven't already:
  1. Clone this repository:
  1. Install dependencies and set server for Claude using uv::
  1. Restart Claude Desktop app

Server Modes

This MCP server can run in two different modes:

Claude App Mode

This mode integrates directly with the Claude Desktop application:
  1. Set `USE_CLAUDE_APP=true` in your `.env` file (this is the default)
  1. Run the server with:
  1. Restart the Claude Desktop application

SSE Server Mode

This mode runs as a standalone SSE server that can be used with any MCP-compatible client, including Cursor:
  1. Set `USE_CLAUDE_APP=false` in your `.env` file
  1. Run the server with:
  1. The server will be available at `http://localhost:8000` by default (or your configured port)

Docker Mode

You can also run the server using Docker Compose:
  1. Make sure you have Docker and Docker Compose installed
  1. Create your `.env` file with your configuration
  1. Build and start the container:
  1. The server will run in SSE mode by default
  1. To view logs:
  1. To stop the server:

Configuration

The server can be configured using environment variables in the `.env` file:
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
You can customize the server by editing these values in your `.env` file.

Client Integration

Using with Claude Desktop

  1. Run the server in Claude app mode (`USE_CLAUDE_APP=true`)
  1. Start or restart Claude Desktop
  1. Claude will automatically detect and connect to your MCP server

Using with Cursor

To connect your MCP server to Cursor:
  1. Run the server in SSE mode (`USE_CLAUDE_APP=false`)
  1. In Cursor, go to Settings (gear icon) > AI > Model Context Protocol
  1. Add a new server with URL `http://localhost:8000` (or your configured host/port)
  1. Select the server when using Cursor's AI features
You can also add this configuration to your Cursor settings JSON file (typically at `~/.cursor/mcp.json`):

Using with Other MCP Clients

For other MCP-compatible clients, point them to the SSE endpoint at `http://localhost:8000`.

Minimal Client Example

Here's a minimal Python example to connect to the SSE endpoint:

Capabilities

[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]

Detailed Capabilities

Board Operations

  • Read all boards
  • Read specific board details

List Operations

  • Read all lists in a board
  • Read specific list details
  • Create new lists
  • Update list name
  • Archive (delete) lists

Card Operations

  • Read all cards in a list
  • Read specific card details
  • Create new cards
  • Update card attributes
  • Delete cards

Usage

Once installed, you can interact with your Trello boards through Claude. Here are some example queries:
  • "Show me all my boards"
  • "What lists are in board [board_name]?"
  • "Create a new card in list [list_name] with title [title]"
  • "Update the description of card [card_name]"
  • "Archive the list [list_name]"
Here are my example usages: <img width="1277" alt="Example Usage of Trello MCP server: Asking to list all my cards in Guitar Board" src="https://github.com/user-attachments/assets/fef29dfc-04b2-4af9-92a6-f8db2320c860" /> <img width="1274" alt="Asking to add new song card into my project songs" src="https://github.com/user-attachments/assets/2d8406ca-1dde-41c0-a035-86d5271dd78f" />

Troubleshooting

If you encounter issues:
  1. Verify your Trello API credentials in the `.env` file
  1. Check that you have proper permissions in your Trello workspace
  1. Ensure Claude for Desktop is running the latest version
  1. Check the logs for any error messages with `uv run mcp dev main.py` command.
  1. Make sure uv is properly installed and in your PATH

Contributing

Feel free to submit issues and enhancement requests!