Interact with Trello boards, lists, and cards using the Trello REST API.
A Model Context Protocol (MCP) server that provides Claude with tools to interact with Trello boards, lists, and cards through the Trello REST API.
git clone <repository-url>
cd trello-mcp
npm install
npm run build
Get Trello API Credentials:
https://trello.com/1/authorize?expiration=never&scope=read,write,account&response_type=token&name=Server%20Token&key=YOUR_API_KEY
Configure Environment:
Create a .env
file in the project root:
TRELLO_API_KEY=your_api_key_here
TRELLO_TOKEN=your_token_here
Add the following to your Claude Desktop configuration file:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
:
Edit %APPDATA%\Claude\claude_desktop_config.json
:
{
"mcpServers": {
"trello": {
"command": "node",
"args": ["/path/to/trello-mcp/dist/index.js"],
"env": {
"TRELLO_API_KEY": "your_api_key_here",
"TRELLO_TOKEN": "your_token_here"
}
}
}
}
Docker Desktop (v4.38+) includes built-in MCP server support through the Docker MCP Catalog and Toolkit. This provides the easiest way to run and manage MCP servers.
Enable MCP in Docker Desktop:
Publish to Docker Hub's MCP Catalog:
# Build and tag for MCP catalog
docker build -t mcp/trello-server .
docker push mcp/trello-server
Configure in Claude Desktop with Docker MCP:
{
"mcpServers": {
"trello": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"--env-file", ".env",
"mcp/trello-server"
]
}
}
}
Use with Ask Gordon (Docker AI):
Create gordon-mcp.yml
in your project directory:
version: '3.8'
services:
trello-mcp:
image: mcp/trello-server
environment:
- TRELLO_API_KEY=${TRELLO_API_KEY}
- TRELLO_TOKEN=${TRELLO_TOKEN}
volumes:
- ./logs:/app/logs
Then use Docker AI commands:
# Ask Gordon to help with Trello management
docker ai "Show me my Trello boards and create a new development task"
Create a Dockerfile
in your project root:
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY dist/ ./dist/
# Create non-root user for security
RUN addgroup -g 1001 -S nodejs
RUN adduser -S mcp -u 1001
RUN chown -R mcp:nodejs /app
USER mcp
EXPOSE 3000
CMD ["node", "dist/index.js"]
Build and run the container:
# Build the image
docker build -t trello-mcp-server .
# Run with Docker MCP Toolkit (secure credential management)
docker run -d \
--name trello-mcp \
--env-file .env \
-p 3000:3000 \
trello-mcp-server
# Or use docker-compose.yml:
Create docker-compose.yml
:
version: '3.8'
services:
trello-mcp:
build: .
container_name: trello-mcp-server
environment:
- TRELLO_API_KEY=${TRELLO_API_KEY}
- TRELLO_TOKEN=${TRELLO_TOKEN}
- LOG_LEVEL=info
- API_TIMEOUT=10000
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- ./logs:/app/logs
networks:
- mcp-network
networks:
mcp-network:
driver: bridge
Run with Docker Compose:
# Set environment variables in .env file, then:
docker-compose up -d
In Cursor, you can set up the MCP server for AI-assisted development:
Install Cursor Extension (if available):
Configure MCP Server:
Create .cursor/mcp-config.json
in your workspace:
{
"mcpServers": {
"trello": {
"command": "node",
"args": ["./dist/index.js"],
"cwd": "/path/to/trello-mcp",
"env": {
"TRELLO_API_KEY": "your_api_key_here",
"TRELLO_TOKEN": "your_token_here"
}
}
}
}
For Windsurf IDE integration:
.windsurf/settings.json
:{
"mcp": {
"servers": {
"trello": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "${workspaceFolder}",
"env": {
"TRELLO_API_KEY": "your_api_key_here",
"TRELLO_TOKEN": "your_token_here"
}
}
}
},
"ai": {
"providers": {
"claude": {
"mcpServers": ["trello"]
}
}
}
}
.windsurf/workspace.json
:{
"name": "Trello MCP Development",
"description": "Development workspace with Trello integration",
"mcpServers": ["trello"],
"tools": {
"trello": {
"enabled": true,
"autoStart": true
}
}
}
For consistent development environments, create .devcontainer/devcontainer.json
:
{
"name": "Trello MCP Development",
"build": {
"dockerfile": "../Dockerfile.dev"
},
"forwardPorts": [3000],
"postCreateCommand": "npm install && npm run build",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
],
"settings": {
"mcp.servers": {
"trello": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"TRELLO_API_KEY": "${TRELLO_API_KEY}",
"TRELLO_TOKEN": "${TRELLO_TOKEN}"
}
}
}
}
}
},
"remoteEnv": {
"TRELLO_API_KEY": "${localEnv:TRELLO_API_KEY}",
"TRELLO_TOKEN": "${localEnv:TRELLO_TOKEN}"
}
}
Create Dockerfile.dev
:
FROM node:18
WORKDIR /workspace
# Install global tools
RUN npm install -g @modelcontextprotocol/inspector typescript
# Set up development environment
COPY package*.json ./
RUN npm install
# Copy source code
COPY . .
# Expose MCP server port
EXPOSE 3000
CMD ["npm", "run", "dev"]
list_boards
- Get all boards accessible to the userget_board
- Get detailed information about a specific boardget_board_members
- List members of a boardget_lists
- Get all lists in a boardcreate_list
- Create a new list in a boardupdate_list
- Update list properties (name, position)get_cards
- Get cards from a board or listcreate_card
- Create a new cardupdate_card
- Update card properties (name, description, due date)move_card
- Move card to different listdelete_card
- Delete a cardadd_card_member
- Add member to a cardremove_card_member
- Remove member from a cardget_labels
- Get available labels for a boardadd_card_label
- Add label to a cardremove_card_label
- Remove label from a cardget_card_checklists
- Get checklists on a cardcreate_checklist
- Create a new checklist on a cardadd_checklist_item
- Add item to a checklistupdate_checklist_item
- Update checklist item (mark complete/incomplete)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
npm run build
- Build TypeScript to JavaScriptnpm run dev
- Run in development mode with auto-reloadnpm run start
- Start the MCP servernpm run test
- Run tests# Install the MCP Inspector for testing
npm install -g @modelcontextprotocol/inspector
# Test the server
mcp-inspector node dist/index.js
Once integrated with Claude Desktop, you can use natural language to interact with Trello:
The server includes comprehensive error handling for:
MIT License - see LICENSE file for details
For issues and questions:
Time and timezone conversion capabilities
Reads EndNote .enl libraries and exposes their contents through the MCP interface.
Provides current date and time with configurable formats and timezones.
An optimized, read-only MCP server for the Notion API with asynchronous processing.
Integrates with the Productboard API, offering 49 specialized tools to manage all major Productboard functionalities.
Interact with task, doc, and project data in Dart, an AI-native project management tool
A sound tool for MCP-compatible IDEs like Cursor. Plays sounds for events like completion, error, and notification.
Access and manage your Roam Research graph via its API.
Create Anki flashcards using natural language by connecting to the AnkiConnect add-on.
An MCP server for managing tasks with the command-line tool TaskWarrior.