This MCP server enables seamless interaction with Trello boards, lists, and cards directly through Claude AI. It handles a wide range of Trello operations including reading board information, creating cards, managing lists, and handling checklists - all through natural language commands.
Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh
Clone the repository:
git clone https://github.com/m0xai/trello-mcp-server.git
cd trello-mcp-server
Create a .env
file using the example template:
# Copy the example file
cp .env.example .env
# Edit the file to add your credentials
TRELLO_API_KEY=your_api_key_here
TRELLO_TOKEN=your_token_here
Install dependencies and set up the server for Claude:
uv run mcp install main.py
Restart the Claude Desktop app
This mode integrates directly with the Claude Desktop application:
USE_CLAUDE_APP=true
in your .env
fileuv run mcp install main.py
For use with any MCP-compatible client:
USE_CLAUDE_APP=false
in your .env
filepython main.py
http://localhost:8000
Run the server using Docker:
.env
filedocker-compose up -d
Configure the server using these environment variables in the .env
file:
Variable | Description | Default |
---|---|---|
TRELLO_API_KEY | Your Trello API key | Required |
TRELLO_TOKEN | Your Trello API token | Required |
MCP_SERVER_NAME | Server name | Trello MCP Server |
MCP_SERVER_HOST | Host address (SSE mode) | 0.0.0.0 |
MCP_SERVER_PORT | Port (SSE mode) | 8000 |
USE_CLAUDE_APP | Use Claude app mode | true |
http://localhost:8000
You can also add this to your Cursor settings JSON file:
{
"mcpServers": {
"trello": {
"url": "http://localhost:8000/sse"
}
}
}
Once installed and connected to Claude, you can interact with your Trello boards using natural language commands such as:
The server supports various operations on Trello objects:
If you encounter issues:
.env
fileuv run mcp dev main.py
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "trello" '{"command":"uv","args":["run","python","main.py"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"trello": {
"command": "uv",
"args": [
"run",
"python",
"main.py"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"trello": {
"command": "uv",
"args": [
"run",
"python",
"main.py"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect