Logo di trellio-mcp

trellio-mcp

Community
scaratec

MCP server for Trello — 38 tools, 2 resources, 3 prompts. Built on trellio.

Autorescaratec
Repositorytrellio-mcp
LinguaPython
Fork
0
Stelle
0
Strumenti disponibili
20
Tipo di trasportostdio
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    trellio-mcp mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 20 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    0 stelle e 0 fork nel repository collegato.

trellio-mcp — MCP Server for Trello

License: GPL v3 Python 3.10+ MCP

An MCP server that gives Claude Desktop, Claude Code, and Gemini CLI full access to the Trello API. Built on the trellio async client library and the official Python MCP SDK. Developed following the BDD Guidelines v1.8.0.

Features

  • 48 MCP tools — 1:1 mapping to trellio methods, plus one composite get_board_overview tool
  • 2 resource templates — trello://board/{id} and trello://card/{id} for rich context loading
  • 3 prompts — summarize_board, create_sprint, daily_standup as workflow shortcuts
  • Built-in auth flow — python -m trello_mcp auth opens the browser, user clicks "Allow", token stored securely
  • Structured error handling — Trello API errors are translated into clear, actionable MCP error messages
  • stdio transport — runs as a local subprocess, no network surface

Tools

CategoryToolsCount
Discoverylist_boards, search2
Boardsget_board_overview, create_board, get_board, update_board, delete_board5
Listslist_lists, create_list, update_list, archive_list4
Cardslist_cards, create_card, get_card, update_card, archive_card, unarchive_card, delete_card, add_label_to_card, remove_label_from_card9
Labelslist_board_labels, create_label, update_label, delete_label4
Checklistslist_card_checklists, create_checklist, delete_checklist, create_check_item, update_check_item, delete_check_item6
Commentslist_comments, add_comment, update_comment, delete_comment4
Membersget_me, list_board_members, get_member3
Attachmentslist_attachments, create_attachment, get_attachment, upload_attachment, download_attachment, delete_attachment6
Webhookslist_webhooks, create_webhook, get_webhook, update_webhook, delete_webhook5

Card tools support pos (top/bottom), idLabels (comma-separated), due (ISO 8601), and dueComplete (true/false) on create and update.

Prerequisites

  • Python 3.10+
  • A Trello API Key (add http://localhost:8095 to Allowed Origins)

Installation

Using pipx (recommended)

To install globally so the trellio-mcp command is available in your PATH:

bash
pipx install trellio-mcp

Alternatively, you can run it on-the-fly without installing:

bash
pipx run trellio-mcp

(Note: If you use pipx run, your MCP client configuration must also use pipx as the command and run trellio-mcp as arguments.)

Using pip

bash
pip install trellio-mcp

From source

bash
git clone https://github.com/scaratec/trellio-mcp.git
cd trellio-mcp
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"

Authentication

Interactive (recommended)

Run the auth command on each machine to connect your Trello account:

If you installed globally (pipx install or pip install):

bash
TRELLO_API_KEY=your_api_key trellio-mcp auth

If using on-the-fly execution (pipx run):

bash
TRELLO_API_KEY=your_api_key pipx run trellio-mcp auth

This opens a browser where you authorize the app. The token is captured automatically and stored in ~/.config/trellio-mcp/credentials.json (permissions 0600).

After auth, no environment variables are needed — the server reads stored credentials on startup.

Environment Variables (fallback)

If no stored credentials are found, the server falls back to environment variables:

bash
export TRELLO_API_KEY=your_api_key
export TRELLO_TOKEN=your_token

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "trello": {
      "command": "pipx",
      "args": ["run", "trellio-mcp"]
    }
  }
}

If using env var auth instead of stored credentials, add:

json
"env": {
  "TRELLO_API_KEY": "your_api_key",
  "TRELLO_TOKEN": "your_token"
}

Claude Code

Add to ~/.claude/settings.json or project .claude/settings.json:

json
{
  "mcpServers": {
    "trello": {
      "command": "pipx",
      "args": ["run", "trellio-mcp"]
    }
  }
}

Gemini CLI

Add to ~/.gemini/settings.json:

json
{
  "mcpServers": {
    "trello": {
      "command": "pipx",
      "args": ["run", "trellio-mcp"]
    }
  }
}

Architecture

MCP Client (Claude / Gemini)
    │ stdio (JSON-RPC)
    ▼
trellio-mcp (FastMCP)
    │ async/await
    ▼
trellio (httpx)
    │ HTTPS
    ▼
Trello API

Key decisions (documented in docs/adr/):

ADRDecision
001Python MCP SDK for language alignment with trellio
002stdio transport — no network attack surface
003Stored credentials with env var fallback
0041:1 tool mapping — one tool per trellio method
005trellio as PyPI dependency (>=1.4.0)
006Tools + Resources + Prompts as MCP capabilities
007isError=true + structured error content

Accepted weaknesses are recorded separately in docs/limitations/. A limitation there has already been weighed against the clean solution and declined — check the register before proposing a fix for a known-imperfect behaviour.

Testing

The project uses BDD with behave, following the BDD Guidelines v1.8.0.

bash
PYTHONPATH=src .venv/bin/python -m behave
18 features passed, 0 failed, 0 skipped
182 scenarios passed, 0 failed, 0 skipped
1103 steps passed, 0 failed, 0 skipped

dependency_compatibility.feature needs network access: it builds a wheel, installs it into throwaway environments at both ends of the declared mcp range, and drives the resulting server over stdio. It is the only feature that sees a broken dependency declaration — the others import the tool functions against the local .venv. It carries no opt-in tag on purpose: a dependency guard that has to be asked for is not a guard. To run the suite offline, exclude it explicitly:

bash
PYTHONPATH=src .venv/bin/python -m behave \
  --exclude dependency_compatibility

Test architecture:

  • AsyncMock(spec=TrellioClient) — mock at the client boundary, not HTTP
  • Persistence validation via mock call records (§4.3)
  • Anti-hardcoding via Scenario Outlines with >= 2 variants (§2.3)
  • Layer-by-layer failure path enumeration (§4.5)
  • Independent spec audit per §13

See Case Study for a detailed account of the BDD-driven development process.

Project Structure

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/              # 18 BDD feature files
│   └── steps/             # Step definitions
├── docs/
│   ├── adr/               # 7 Architecture Decision Records
│   ├── limitations/       # Limitation Records (accepted weaknesses)
│   ├── tool-design.md     # Scenario-driven tool analysis
│   └── case-study-bdd-mcp-server.md
└── pyproject.toml

Publishing

PyPI

bash
uv build
twine upload dist/trellio_mcp-<version>*

Smithery

Namespace is gupta. Update the release after a new PyPI version:

bash
npx @smithery/cli mcp publish "https://github.com/scaratec/trellio-mcp" -n gupta/trellio-mcp

Also update the pinned version in smithery.yaml commandFunction.

The resulting listing stays empty. Smithery populates an external entry by scanning the server over HTTP; this server is stdio-only (ADR 002), so the scan fails and the entry carries no connection or tool list — even though the publish command reports success. See LIM 0001. Install via pipx or uvx instead.

MCP registry

server.json describes the server for the official MCP registry by static declaration rather than introspection. Keep its two version fields in step with pyproject.toml.

License

This project is licensed under the GNU General Public License v3.0 — see the LICENSE file for details.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "trello": {
      "command": "uvx",
      "args": [
        "trellio-mcp"
      ],
      "env": {
        "TRELLO_API_KEY": "<YOUR_TRELLO_API_KEY>"
      }
    }
  }
}

Strumenti disponibili

  • list_boards

    List all accessible Trello boards

  • search

    Search for boards, cards, and other Trello objects

  • get_board_overview

    Get comprehensive board information including lists and cards

  • create_board

    Create a new Trello board

  • get_board

    Get detailed information about a specific board

  • update_board

    Update board properties like name and description

  • delete_board

    Delete a board permanently

  • list_lists

    Get all lists on a board

  • create_list

    Create a new list on a board

  • update_list

    Update list properties

  • archive_list

    Archive a list

  • list_cards

    Get all cards from a list or board

  • create_card

    Create a new card with support for labels, due dates, and positioning

  • get_card

    Get detailed information about a specific card

  • update_card

    Update card properties including name, description, labels, and due date

  • archive_card

    Archive a card

  • unarchive_card

    Unarchive a card

  • delete_card

    Delete a card permanently

  • add_label_to_card

    Add a label to a card

  • remove_label_from_card

    Remove a label from a card

Usa MCP trellio-mcp con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso trellio-mcp, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi trellio-mcp come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di trellio-mcp.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "trellio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "trellio-mcp"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di trellio-mcp, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di trellio-mcp.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare trellio-mcp per aiutarmi con questa attività?
trellio-mcp
Certo. Ho letto.
Ecco cosa ho trovato con trellio-mcp.

Domande frequenti

A cosa serve il server MCP trellio-mcp?

trellio-mcp è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare trellio-mcp MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare trellio-mcp con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP trellio-mcp con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando trellio-mcp, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego trellio-mcp MCP a TypingMind?

trellio-mcp funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre trellio-mcp MCP in TypingMind?

trellio-mcp mette a disposizione 20 strumenti MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare trellio-mcp MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se trellio-mcp richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇