Trellio-MCP
trellio-mcp — Trello用MCPサーバー
Claude Desktop、Claude Code、およびGemini CLIにTrello APIへのフルアクセスを提供するMCPサーバーです。trellio非同期クライアントライブラリと公式Python MCP SDKに基づいて構築されています。BDDガイドライン v1.8.0に従って開発されました。
機能
48個のMCPツール — trellioメソッドと1:1で対応し、さらに複合的な
get_board_overviewツールを提供2つのリソーステンプレート — リッチなコンテキスト読み込みのための
trello://board/{id}およびtrello://card/{id}3つのプロンプト — ワークフローのショートカットとして
summarize_board、create_sprint、daily_standupを提供組み込みの認証フロー —
python -m trello_mcp authでブラウザを開き、ユーザーが「許可」をクリックするとトークンが安全に保存されます構造化されたエラーハンドリング — Trello APIエラーを明確で実行可能なMCPエラーメッセージに変換
stdioトランスポート — ローカルのサブプロセスとして実行され、ネットワークの露出面はありません
Related MCP server: Trello MCP Server
ツール
カテゴリ | ツール | 数 |
探索 |
| 2 |
ボード |
| 5 |
リスト |
| 4 |
カード |
| 9 |
ラベル |
| 4 |
チェックリスト |
| 6 |
コメント |
| 4 |
メンバー |
| 3 |
添付ファイル |
| 6 |
Webhook |
| 5 |
カードツールは、作成および更新時にpos(top/bottom)、idLabels(カンマ区切り)、due(ISO 8601)、およびdueComplete(true/false)をサポートしています。
前提条件
Python 3.10以上
Trello APIキー(
http://localhost:8095をAllowed Originsに追加してください)
インストール
Smithery
npx @smithery/cli install gupta/trellio-mcp --client claudepipxを使用する場合(推奨)
trellio-mcpコマンドがPATHで利用できるようにグローバルにインストールするには:
pipx install trellio-mcpまたは、インストールせずにその場で実行することも可能です:
pipx run trellio-mcp(注:pipx runを使用する場合、MCPクライアントの設定でもコマンドとしてpipxを、引数としてrun trellio-mcpを使用する必要があります。)
pipを使用する場合
pip install trellio-mcpソースからインストールする場合
git clone https://github.com/scaratec/trellio-mcp.git
cd trellio-mcp
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"認証
インタラクティブ(推奨)
Trelloアカウントを接続するために、各マシンで認証コマンドを実行してください:
グローバルにインストールした場合(pipx installまたはpip install):
TRELLO_API_KEY=your_api_key trellio-mcp authその場で実行する場合(pipx run):
TRELLO_API_KEY=your_api_key pipx run trellio-mcp authこれによりブラウザが開き、アプリを承認します。トークンは自動的に取得され、~/.config/trellio-mcp/credentials.json(パーミッション0600)に保存されます。
認証後は環境変数は不要です。サーバーは起動時に保存された資格情報を読み取ります。
環境変数(フォールバック)
保存された資格情報が見つからない場合、サーバーは環境変数にフォールバックします:
export TRELLO_API_KEY=your_api_key
export TRELLO_TOKEN=your_tokenMCPクライアントの設定
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)または%APPDATA%\Claude\claude_desktop_config.json(Windows)に追加してください:
{
"mcpServers": {
"trello": {
"command": "pipx",
"args": ["run", "trellio-mcp"]
}
}
}保存された資格情報の代わりに環境変数認証を使用する場合は、以下を追加してください:
"env": {
"TRELLO_API_KEY": "your_api_key",
"TRELLO_TOKEN": "your_token"
}Claude Code
~/.claude/settings.jsonまたはプロジェクトの.claude/settings.jsonに追加してください:
{
"mcpServers": {
"trello": {
"command": "pipx",
"args": ["run", "trellio-mcp"]
}
}
}Gemini CLI
~/.gemini/settings.jsonに追加してください:
{
"mcpServers": {
"trello": {
"command": "pipx",
"args": ["run", "trellio-mcp"]
}
}
}アーキテクチャ
MCP Client (Claude / Gemini)
│ stdio (JSON-RPC)
▼
trellio-mcp (FastMCP)
│ async/await
▼
trellio (httpx)
│ HTTPS
▼
Trello API重要な決定事項(docs/adr/に文書化されています):
ADR | 決定事項 |
001 | trellioとの言語整合性のためのPython MCP SDK |
002 | stdioトランスポート — ネットワーク攻撃対象領域なし |
003 | 環境変数フォールバック付きの保存された資格情報 |
004 | 1:1ツールマッピング — trellioメソッドごとに1つのツール |
005 | PyPI依存関係としてのtrellio (>=1.4.0) |
006 | MCP機能としてのツール + リソース + プロンプト |
007 |
|
テスト
このプロジェクトは、BDDガイドライン v1.8.0に従い、behaveを使用したBDDを採用しています。
PYTHONPATH=src .venv/bin/python -m behave17 features passed, 0 failed, 0 skipped
163 scenarios passed, 0 failed, 0 skipped
970 steps passed, 0 failed, 0 skippedテストアーキテクチャ:
AsyncMock(spec=TrellioClient)— HTTPではなくクライアント境界でモック化モック呼び出し記録による永続性の検証 (§4.3)
2つ以上のバリエーションを持つシナリオアウトラインによるハードコーディングの回避 (§2.3)
レイヤーごとの失敗パスの列挙 (§4.5)
§13に基づく独立した仕様監査
BDD駆動開発プロセスの詳細については、ケーススタディを参照してください。
プロジェクト構造
trellio-mcp/
├── src/trello_mcp/
│ ├── __init__.py # Tool registration
│ ├── __main__.py # Entry point (server + auth)
│ ├── server.py # FastMCP instance + client mgmt
│ ├── auth.py # OAuth flow + credential storage
│ ├── errors.py # Error translation (ADR 007)
│ ├── tools/ # 10 modules, 48 tools
│ ├── resources.py # 2 resource templates
│ └── prompts.py # 3 prompts
├── features/ # 17 BDD feature files
│ └── steps/ # Step definitions
├── docs/
│ ├── adr/ # 7 Architecture Decision Records
│ ├── tool-design.md # Scenario-driven tool analysis
│ └── case-study-bdd-mcp-server.md
└── pyproject.toml公開
PyPI
uv build
twine upload dist/trellio_mcp-<version>*Smithery
名前空間はguptaです。新しいPyPIバージョンが出た後にリリースを更新してください:
npx @smithery/cli mcp publish "https://github.com/scaratec/trellio-mcp" -n gupta/trellio-mcpまた、smithery.yamlのcommandFunctionで固定されたバージョンも更新してください。
ライセンス
このプロジェクトはGNU General Public License v3.0の下でライセンスされています。詳細はLICENSEファイルを参照してください。
Available Tools
48 toolsadd_commentB
Add a comment to a Trello card. Returns the created comment with id and text.
Inputs: text (required), card_id (required). Returns: result
add_label_to_cardC
Add an existing label to a Trello card.
Inputs: card_id (required), label_id (required). Returns: result
archive_cardA
Archive a Trello card (set closed=true). The card is hidden from the board but preserved with its history, attachments and comments. Reversible via unarchive_card. For permanent removal use delete_card.
Inputs: card_id (required). Returns: result
archive_listB
Archive a Trello list (set closed=true). This hides the list from the board.
Inputs: list_id (required). Returns: result
create_attachmentB
Create an attachment on a Trello card by URL. Returns the created attachment with id, name, and url.
Inputs: url (required), card_id (required), name. Returns: result
create_boardB
Create a new Trello board. Returns the created board with id and name.
Inputs: name (required), description. Returns: result
create_cardA
Create a new card in a Trello list. Optionally set position (top/bottom), labels (comma-separated label IDs), due date (ISO 8601), and dueComplete (true/false). Returns the created card with id and name.
Inputs: name (required), list_id (required), due, pos, +3 more. Returns: result
create_check_itemA
Create a check item in a Trello checklist. Optionally set position (top/bottom/numeric). Returns the created item with id, name, and state.
Inputs: name (required), checklist_id (required), pos. Returns: result
create_checklistB
Create a checklist on a Trello card. Returns the created checklist with id and name.
Inputs: name (required), card_id (required). Returns: result
create_labelC
Create a label on a Trello board. Returns the created label with id, name, and color.
Inputs: name (required), color (required), board_id (required). Returns: result
create_listB
Create a new list on a Trello board. Returns the created list with id and name.
Inputs: name (required), board_id (required). Returns: result
create_webhookB
Create a Trello webhook. Returns the created webhook with id and callbackURL.
Inputs: id_model (required), callback_url (required), description. Returns: result
delete_attachmentC
Delete an attachment from a Trello card.
Inputs: card_id (required), attachment_id (required). Returns: result
delete_boardA
Delete a Trello board permanently. This action cannot be undone.
Inputs: board_id (required). Returns: result
delete_cardA
Delete a Trello card permanently. This action cannot be undone. To hide a card while preserving it, use archive_card instead.
Inputs: card_id (required). Returns: result
delete_check_itemB
Delete a check item from a checklist.
Inputs: checklist_id (required), check_item_id (required). Returns: result
delete_checklistB
Delete a Trello checklist permanently.
Inputs: checklist_id (required). Returns: result
delete_commentC
Delete a Trello comment permanently.
Inputs: comment_id (required). Returns: result
delete_labelB
Delete a Trello label permanently.
Inputs: label_id (required). Returns: result
delete_webhookC
Delete a Trello webhook permanently.
Inputs: webhook_id (required). Returns: result
download_attachmentC
Download a Trello card attachment to a local file. Returns the attachment metadata and the local file path.
Inputs: card_id (required), target_path (required), attachment_id (required). Returns: result
get_attachmentC
Get metadata for a single attachment on a Trello card. Returns the attachment with id, name, and url.
Inputs: card_id (required), attachment_id (required). Returns: result
get_boardA
Get a Trello board by ID. Returns board details including id, name, description, and closed status.
Inputs: board_id (required). Returns: result
get_board_overviewB
Get a complete board overview with all lists and their cards in a single call. Returns board details, lists, and nested cards.
Inputs: board_id (required). Returns: result
get_cardA
Get a Trello card by ID. Returns card details including id, name, desc, idList, and idBoard.
Inputs: card_id (required). Returns: result
get_meA
Get the authenticated Trello user. Returns id, username, and fullName.
Inputs: no named parameters. Returns: result
get_memberA
Get a Trello member by ID. Returns id, username, and fullName.
Inputs: member_id (required). Returns: result
get_webhookB
Get a Trello webhook by ID. Returns webhook details including id, description, callbackURL, and active.
Inputs: webhook_id (required). Returns: result
list_attachmentsA
List all attachments on a Trello card. Returns a JSON array with id, name, and url.
Inputs: card_id (required). Returns: result
list_board_labelsB
List all labels on a Trello board. Returns a JSON array with id, name, and color for each label.
Inputs: board_id (required). Returns: result
list_board_membersA
List all members of a Trello board. Returns a JSON array with id, username, and fullName.
Inputs: board_id (required). Returns: result
list_boardsA
List all open Trello boards. Returns a JSON array of boards with id, name, and closed status.
Inputs: no named parameters. Returns: result
list_card_checklistsA
List all checklists on a Trello card. Returns a JSON array with id and name for each checklist.
Inputs: card_id (required). Returns: result
list_cardsB
List all cards in a Trello list. Returns a JSON array with id, name, and desc for each card.
Inputs: list_id (required). Returns: result
list_commentsB
List all comments on a Trello card. Returns a JSON array with id and text for each comment.
Inputs: card_id (required). Returns: result
list_listsA
List all lists on a Trello board. Returns a JSON array with id and name for each list.
Inputs: board_id (required). Returns: result
list_webhooksA
List all Trello webhooks. Returns a JSON array with id, description, callbackURL, and active status.
Inputs: no named parameters. Returns: result
remove_label_from_cardC
Remove a label from a Trello card.
Inputs: card_id (required), label_id (required). Returns: result
searchA
Search Trello for boards and cards by keyword. Optional id_board scopes the search to a single board. Returns matching boards and cards (cards include idList, desc, idLabels).
Inputs: query (required), limit, id_board. Returns: result
unarchive_cardA
Unarchive a Trello card (set closed=false). Restores the card to its list.
Inputs: card_id (required). Returns: result
update_boardA
Update a Trello board. Provide board_id and any fields to update (name, description). Returns the updated board.
Inputs: board_id (required), name, description. Returns: result
update_cardA
Update a Trello card. Provide card_id and fields to update: name, desc, idList, pos (top/bottom/number), idLabels (comma-separated label IDs), due (ISO 8601), dueComplete (true/false). Returns the updated card.
Inputs: card_id (required), due, pos, desc, +4 more. Returns: result
update_check_itemA
Update a check item. Provide card_id, check_item_id, and at least one of: state (complete/incomplete), name, pos (top/bottom/numeric).
Inputs: card_id (required), check_item_id (required), pos, name, +1 more. Returns: result
update_commentB
Update a Trello comment. Returns the updated comment with id and text.
Inputs: text (required), comment_id (required). Returns: result
update_labelA
Update a Trello label. Provide label_id and fields to update (name, color). Returns the updated label.
Inputs: label_id (required), name, color. Returns: result
update_listA
Update a Trello list. Provide list_id and fields to update: name, pos (top/bottom/number). Returns the updated list.
Inputs: list_id (required), pos, name. Returns: result
update_webhookB
Update a Trello webhook. Provide webhook_id and fields to update (description, active).
Inputs: webhook_id (required), active, description. Returns: result
upload_attachmentC
Upload a local file as an attachment to a Trello card. Returns the created attachment with id, name, and url.
Inputs: card_id (required), file_path (required), name. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 48 tools
Most tools target distinct resources and actions (boards, lists, cards, labels, checklists, comments, attachments, webhooks). Minor overlap exists between create_attachment and upload_attachment (both create attachments, one by URL and one by local file), and between get_board and get_board_overview (overview returns more but both fetch board data).
Tool names consistently follow a verb_noun pattern (list_, create_, get_, update_, delete_, archive_, unarchive_, add_, remove_, upload_, download_). The pattern is uniform across all resource types, making the API predictable.
48 tools is on the heavy side for a Trello MCP server, but the breadth reflects the full Trello API surface (boards, lists, cards, labels, checklists, comments, members, attachments, webhooks, search). It feels comprehensive rather than bloated, though it exceeds the typical well-scoped range.
The tool surface covers the full lifecycle for boards, lists, cards, labels, checklists, comments, attachments, and webhooks, including archive/unarchive and upload/download. Missing operations like moving cards between lists are handled via update_card's idList field, and search covers cross-resource discovery.
Maintenance
Related MCP Connectors
Manage Timequip projects, tasks, comments, members, and dashboards through MCP.
Remote MCP for Kanban AI boards—manage projects, tasks, and comments from AI tools.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Unofficial community ClickUp MCP via personal API token. Not affiliated with ClickUp.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceThis is an MCP Server for Trello that enables interaction with Trello's API through natural language, allowing management of boards, cards, lists, and other Trello resources.-
- FlicenseNot gradedqualityDmaintenanceProvides programmatic access to Trello's API to manage boards, lists, cards, and organizations via MCP.1-
- AlicenseNot gradedqualityDmaintenanceMCP server for Trello integration, enabling management of workspaces, boards, lists, cards, and checklists through natural language.MIT
- AlicenseNot gradedqualityCmaintenanceEnables managing Trello boards, lists, cards, labels, and members through natural language from any MCP-compatible client.1MIT