Labels
Generated automatically at build time from the madtea repository - do not edit here. Source: docs/reference/labels.md.
Create, update, and delete repository labels, and assign or clone them across issues and repositories.
CLI Commands
madtea labels add
Add labels to an issue (keeps existing labels)
madtea labels clone
Clone labels from a source repository
| Flag | Type | Default | Description |
|---|---|---|---|
--force | bool | false | on create: update an existing same-named label; on clone: update existing instead of skipping |
madtea labels create
Create a label
| Flag | Type | Default | Description |
|---|---|---|---|
--color | string | cccccc | hex color, without leading # |
--description | string | Optional label description — a short note explaining what the label means (e.g. ‘Something is not working’). | |
--exclusive | bool | false | mark exclusive (only one label per group) |
--force | bool | false | on create: update an existing same-named label; on clone: update existing instead of skipping |
--is-archived | bool | false | archive the label (hidden from selectors) |
--name | string | Label name (alternative to positional argument) |
madtea labels delete
Delete a label
madtea labels get
Get label details
madtea labels list
List repository labels
| Flag | Type | Default | Description |
|---|---|---|---|
--limit | int | 0 | Maximum number of items to return (0 = server default) |
--page | int | 0 | Page 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.