KosmoKrator

productivity

Trello CLI for Shell Scripts

Use the Trello CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Bearer token auth

Trello CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. The Trello CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Trello CLI for Shell Scripts
kosmokrator integrations:configure trello --set access_token="$TRELLO_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call trello.trello_list_boards '{"filter":"example_filter","fields":"example_fields","limit":1}' --json

Discovery Before Execution

Agents and scripts can inspect Trello docs and schemas before choosing a function.

kosmo integrations:docs trello --json
kosmo integrations:docs trello.trello_list_boards --json
kosmo integrations:schema trello.trello_list_boards --json
kosmo integrations:search "Trello" --json
kosmo integrations:list --json

Useful Trello CLI Functions

FunctionTypeParametersDescription
trello.trello_list_boards Read filter, fields, limit List all boards for the authenticated Trello member. Supports filtering by status and field selection.
trello.trello_get_board Read id Get detailed information about a Trello board by ID.
trello.trello_list_lists Read board_id List all lists on a Trello board.
trello.trello_get_list Read id Get detailed information about a Trello list by ID.
trello.trello_list_cards Read list_id, limit, before List all cards in a Trello list. Supports limit and before cursor for pagination.
trello.trello_create_card Write name, id_list, desc, id_labels, id_members, due, pos Create a new card on a Trello list.
trello.trello_get_current_user Read none Get the profile of the currently authenticated Trello user. Useful for verifying credentials and displaying account information.

Automation Notes

Related Trello CLI Pages