Trelly
FreeNot checkedtrelly — fast Trello CLI with multi-profile auth, MCP server, and kanban TUI
About
trelly — fast Trello CLI with multi-profile auth, MCP server, and kanban TUI
README
Trelly — Trello CLI and MCP server
Manage Trello from a terminal or an AI agent. Trelly includes a human-friendly CLI, an interactive kanban UI, structured JSON output, and a local MCP server.

Install
npm install -g trelly
# or
brew install brandonkramer/tap/trelly
Node.js 22+ is required. You can also run Trelly without installing it with
npx trelly or bunx trelly.
To run from source:
git clone https://github.com/brandonkramer/trelly.git
cd trelly
bun install
./bin/trelly --help
Authenticate
trelly auth setup
trelly auth login
trelly boards list
auth setup opens Trello's Power-Up admin page so you can create an API key.
auth login then opens Trello in your browser to authorize your account.
Credentials are stored with mode 600 in ~/.config/trelly/config.json. Trelly
supports multiple profiles; use trelly auth login --profile work and pass
--profile work to commands.
Run trelly auth --help for manual login, full-access tokens, environment variables,
and profile management.
Use the CLI
trelly boards list
trelly boards lists BOARD_ID
trelly cards create --list LIST_ID --name "Ship feature"
trelly cards move CARD_ID --list LIST_ID
trelly cards comment CARD_ID --text "Shipped"
trelly cards add-attachment CARD_ID --file screenshot.png
trelly search "customer onboarding"
Human-readable output is the default. Use --json for scripts:
trelly --json --pretty boards list | jq '.data'
JSON responses use { ok, profile, data }; errors use { ok: false, error, ... }
and exit with status 1. Colors automatically turn off when output is piped.
Trelly covers boards, lists, cards, comments, attachments, checklists, labels,
custom fields, members, organizations, actions, search, and webhooks. The raw
trelly api command is available for endpoints without a dedicated command.
Run trelly --help or trelly <group> --help for the complete command reference.
Prefer archive commands, which are reversible, over permanent delete commands.
Open the kanban UI
trelly # choose a board
trelly ui BOARD_ID # open a board directly
Use arrow keys or hjkl to navigate, Enter to open a card, r to refresh, and
q or Esc to go back. Card detail supports comments, replies, and attachments.
Connect AI agents
Install the Trelly plugin for your local agent hosts:
trelly install # choose detected hosts
trelly install --cursor
trelly install --claude
trelly install --codex
trelly install --all --yes # non-interactive
trelly install --check # inspect only
The installer configures the plugin and MCP server, then prints the required reload instructions. See skills/README.md for platform-specific setup, verification, and troubleshooting.
Check or apply updates with:
trelly update --check
trelly update # asks before changing anything
trelly update --yes # non-interactive
Updates use the package manager that owns the installation and refresh only detected plugins. Dirty source checkouts are not changed automatically.
Configure MCP directly
If you do not want the plugin, add Trelly to your MCP configuration:
{
"mcpServers": {
"trelly": {
"command": "trelly-mcp",
"env": { "TRELLO_PROFILE": "default" }
}
}
}
See mcp.example.json for a complete example. From a source clone,
use the absolute path to bin/trelly-mcp.
The server provides 30 focused tools for profiles, boards, lists, cards, comments, attachments, checklists, labels, search, webhooks, ID resolution, and raw REST calls. Context tools combine common reads so agents need fewer requests.
Successful GET requests use bounded, short-lived caches: in-process for MCP and on disk
for the CLI at $XDG_CACHE_HOME/trelly/responses (or ~/.cache/trelly/responses).
Cards are cached for 15 seconds, comments and attachments for 10 seconds, search for 20
seconds, and boards, lists, and labels for 1 minute. MCP also deduplicates concurrent
requests. Pass fresh: true to an MCP read or the global CLI flag --fresh for a network
read. Set TRELLO_CACHE=0 to disable caching. Errors and mutations are never cached;
successful mutations invalidate related reads.
See the MCP skill for tool details, safety guidance, and when to use MCP instead of the CLI.
Trello Power-Up
The optional companion Power-Up at tr3lly.dev adds card-link, card-ID, snapshot, attachment, and badge actions inside Trello. It is separate from the local CLI and MCP server and does not request their credentials.
See PRIVACY.md for its data handling and hosting details.
Documentation
Development
bun install
bun run typecheck
bun test
bun run lint
See AGENTS.md for repository conventions.
License
MIT
Install Trelly in Claude Desktop, Claude Code & Cursor
unyly install trellyInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add trelly -- npx -y trellyFAQ
Is Trelly MCP free?
Yes, Trelly MCP is free — one-click install via Unyly at no cost.
Does Trelly need an API key?
No, Trelly runs without API keys or environment variables.
Is Trelly hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Trelly in Claude Desktop, Claude Code or Cursor?
Open Trelly on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Notion
Read and write pages in your workspace
by NotionLinear
Issues, cycles, triage — from Claude
by LinearGoogle Drive
Search and read your Drive files
by Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
by mindsdbCompare Trelly with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All productivity MCPs
