Home / Servers / GitHub API / actions_update_self_hosted_runner_group_for_org
Update a self-hosted runner group for an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Update a self-hosted runner group for an organization Updates the name and visibility of a self-hosted runner group in an organization. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. [PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}]
Name on the gateway: github_api__actions_update_self_hosted_runner_group_for_org · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
runner_group_id required | integer | Unique identifier of the self-hosted runner group. |
name required | string | Name of the runner group. |
visibility | selected | all | private | Visibility of a runner group. You can select all repositories, select… |
allows_public_repositories | boolean | Whether the runner group can be used by public repositories. |
restricted_to_workflows | boolean | If true, the runner group will be restricted to running only the workflows… |
selected_workflows | array | List of workflows the runner group should be allowed to run. This setting will… |
network_configuration_id | string | The identifier of a hosted compute network configuration. |
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_update_self_hosted_runner_group_for_org",
"arguments": {
"org": "…",
"runner_group_id": 0,
"name": "…"
}
}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 update a self-hosted runner group for an organization tool with org set to ….