A Model Context Protocol (MCP) server that provides programmatic access to Trello's API. Manage boards, lists, cards, and organizations directly from any MCP-compatible client.
# Using uvx (recommended)
uvx trello-mcp-server
# Using uv
uv tool install trello-mcp-server
# Using pip
pip install trello-mcp-serverVisit https://trello.com/power-ups/admin/new and create a Power-Up to get your API key (free, takes seconds).
Add to your MCP settings configuration file:
{
"mcpServers": {
"trello": {
"command": "uvx",
"args": ["trello-mcp-server"],
"env": {
"TRELLO_API_KEY": "your_api_key_here"
}
}
}
}On first use, the server automatically opens your browser to authorize access. Click "Allow" and you're done!
- Boards: List and get board details
- Lists: List and create board lists
- Cards: List, create, and update cards (including moving between lists)
- Card Members: Add, remove, and list members assigned to cards
- Card Labels: Add, remove, and list labels on cards
- Board Members: Add, remove, update, and invite board members
- Organizations: Manage workspaces, boards, and team members
list_boards- List all accessible boardsget_board- Get board detailslist_board_lists- Get all lists on a boardlist_board_cards- Get all cards on a boardlist_board_labels- List all available labels on a board
create_list- Create a new list on a board
create_card- Create a new card on a listget_card- Get card detailsupdate_card- Update card properties (name, description, move to list)
add_card_member- Add a member to a cardremove_card_member- Remove a member from a cardlist_card_members- List all members assigned to a card
add_card_label- Add a label to a cardremove_card_label- Remove a label from a cardlist_card_labels- List all labels on a cardfilter_cards_by_label- Filter cards on a board by label
list_board_members- List all board members with permissionsadd_board_member- Add an existing user to a boardremove_board_member- Remove a member from a boardupdate_board_member- Update member permission levelinvite_board_member- Invite a new member via email
list_organizations- List all organizations/workspacesget_organization- Get organization detailslist_organization_boards- Get all boards in an organizationlist_organization_members- Get all organization membersadd_organization_member- Add a member to an organizationremove_organization_member- Remove a member from an organization
# Quick setup
./setup.sh
# Or manually
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt# Interactive (opens browser)
python -m trello_mcp_server.auth --interactive
# Manual (copy-paste token)
python -m trello_mcp_server.auth --manual
# Check status
python -m trello_mcp_server.auth --check# Run tests
python -m pytest
# Test organization tools
python test_organizations.py- docs/AUTHENTICATION.md - Detailed authentication flows
- docs/ORGANIZATIONS.md - Organization management guide
- docs/STARTUP_FLOW.md - Server startup process
- docs/FUTURE_FEATURES.md - Planned features
- CHANGELOG.md - Version history
- Language: Python 3.8+
- Protocol: MCP with stdio transport
- Authentication: OAuth 1.0a with automatic token caching
- Token Storage:
~/.trello_mcp_token.json(600 permissions)
- API keys stored in MCP configuration (safe to share within team)
- Tokens stored in home directory (never committed)
- Automatic file permissions (600) on token cache
- Tokens never expire unless manually revoked
- Trello API: https://developer.atlassian.com/cloud/trello/
- Get API Key: https://trello.com/power-ups/admin/new
- Manage Tokens: https://trello.com/my/account
Contributions are welcome! Please feel free to submit a Pull Request.
git clone https://github.com/cargom98/gm-trello-mcp.git
cd gm-trello-mcp
./setup.shpython -m pytest
python test_auth.py
python test_organizations.pySee RELEASING.md for detailed release instructions.
Quick release:
./release.shSee LICENSE file for details.