Home / Servers / GitHub API / actions_set_custom_labels_for_self_hosted_runner_for_repo
Set custom labels for a self-hosted runner for a repository
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set custom labels for a self-hosted runner for a repository Remove all previous custom labels and set the new custom labels for a specific self-hosted runner configured in a repository. Authenticated users must have admin access to the repository to use this… [PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels]
Name on the gateway: github_api__actions_set_custom_labels_for_self_hosted_runner_for_repo · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
runner_id required | integer | Unique identifier of the self-hosted runner. |
labels required | array | The names of the custom labels to set for the runner. You can pass an empty… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__actions_set_custom_labels_for_self_hosted_runner_for_repo",
"arguments": {
"owner": "…",
"repo": "…",
"runner_id": 0,
"labels": []
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the set custom labels for a self-hosted runner for a repository tool with owner set to ….