Skip to main content
Glama

trellio-mcp — Trello용 MCP 서버

License: GPL v3 Python 3.10+ 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

도구

카테고리

도구

개수

검색

list_boards, search

2

보드

get_board_overview, create_board, get_board, update_board, delete_board

5

리스트

list_lists, create_list, update_list, archive_list

4

카드

list_cards, create_card, get_card, update_card, archive_card, unarchive_card, delete_card, add_label_to_card, remove_label_from_card

9

라벨

list_board_labels, create_label, update_label, delete_label

4

체크리스트

list_card_checklists, create_checklist, delete_checklist, create_check_item, update_check_item, delete_check_item

6

댓글

list_comments, add_comment, update_comment, delete_comment

4

멤버

get_me, list_board_members, get_member

3

첨부파일

list_attachments, create_attachment, get_attachment, upload_attachment, download_attachment, delete_attachment

6

웹훅

list_webhooks, create_webhook, get_webhook, update_webhook, delete_webhook

5

카드 도구는 생성 및 업데이트 시 pos (top/bottom), idLabels (쉼표로 구분), due (ISO 8601), dueComplete (true/false)를 지원합니다.

사전 요구 사항

  • Python 3.10+

  • Trello API 키 (http://localhost:8095를 허용된 출처에 추가)

설치

Smithery

npx @smithery/cli install gupta/trellio-mcp --client claude

pipx 사용 (권장)

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_token

MCP 클라이언트 구성

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 메서드당 하나의 도구

005

PyPI 종속성으로 trellio 사용 (>=1.4.0)

006

MCP 기능으로서의 도구 + 리소스 + 프롬프트

007

isError=true + 구조화된 오류 콘텐츠

테스트

이 프로젝트는 behave를 사용한 BDD를 따르며, BDD 가이드라인 v1.8.0을 준수합니다.

PYTHONPATH=src .venv/bin/python -m behave
17 features passed, 0 failed, 0 skipped
163 scenarios passed, 0 failed, 0 skipped
970 steps passed, 0 failed, 0 skipped

테스트 아키텍처:

  • AsyncMock(spec=TrellioClient) — HTTP가 아닌 클라이언트 경계에서 모의(mock) 수행

  • 모의 호출 기록을 통한 지속성 검증 (§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 일반 공중 사용 허가서 v3.0에 따라 라이선스가 부여됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.

Available Tools

48 tools
add_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

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

    A3.5/5.0

    Scored across 48 tools

    Disambiguation4/5

    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).

    Naming Consistency5/5

    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.

    Tool Count3/5

    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.

    Completeness5/5

    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

    ActivityStale
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers