gh_create_label
Create a new GitHub label in a repository. Specify owner, repo, name, and color; optionally force overwrite or add a description.
Instructions
Create a new label in a repository.
color: 6-character hex color code (e.g. 'ff0000' for red). force: overwrite existing label's color and description if it exists.
This tool is disabled unless MCP_GH_ALLOW_WRITE_COMMANDS=true. With the default MCP_GH_CONFIRM_WRITE_COMMANDS=true, MCP asks a human to approve the command before executing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| repo | Yes | ||
| color | Yes | ||
| force | No | ||
| owner | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| color | No | ||
| message | Yes | ||
| description | No |