Labels

Generated automatically at build time from the madtea repository - do not edit here. Source: docs/reference/labels.md.

CLI Commands

madtea labels add

Add labels to an issue (keeps existing labels)

madtea labels clone

Clone labels from a source repository

FlagTypeDefaultDescription
--forceboolfalseon create: update an existing same-named label; on clone: update existing instead of skipping

madtea labels create

Create a label

FlagTypeDefaultDescription
--colorstringcccccchex color, without leading #
--descriptionstringOptional label description — a short note explaining what the label means (e.g. ‘Something is not working’).
--exclusiveboolfalsemark exclusive (only one label per group)
--forceboolfalseon create: update an existing same-named label; on clone: update existing instead of skipping
--is-archivedboolfalsearchive the label (hidden from selectors)
--namestringLabel name (alternative to positional argument)

madtea labels delete

Delete a label

madtea labels get

Get label details

madtea labels list

List repository labels

FlagTypeDefaultDescription
--limitint0Maximum number of items to return (0 = server default)
--pageint0Page number for pagination (0 = first page)

madtea labels remove

Remove labels from an issue

madtea labels set

Replace the full label set on an issue or PR (overwrites all existing labels)

madtea labels update

Update a label’s fields

MCP Tools

madt_labels

Manage repository labels: CRUD, assign/set on issues, clone from another repo.

Output schema: declared

One tool, action-dispatched. Set action to one of:

action="assign"

Incrementally add or remove labels on an issue or PR (assign_mode=add|remove); preserves the other existing labels. Use action=set to replace the whole set.

Required: issue_number, labels, assign_mode

action="clone"

Clone labels from a source repository. Use force=true to update existing instead of skipping.

Required: source_repo

Optional: force

action="create"

Create a label. Use force=true to update an existing same-named label instead of erroring.

Required: name, color

Optional: description, exclusive, is_archived, force

action="delete"

Delete a label.

Required: id

action="get"

Get label details. Batch multiple in one call via ids (never loop single get calls).

One of: id | ids

action="list"

List repository labels.

Optional: limit, page

action="set"

Replace the full label set on an issue or PR (overwrites all existing labels). Use action=assign for incremental add/remove.

Required: issue_number, labels

action="update"

Update a label’s fields.

Required: id

Optional: name, color, description, exclusive, is_archived

Canonical source: docs/reference/labels.md in the madtea repo.