Home / Servers / GitHub API / actions_update_hosted_runner_for_org
Update a GitHub-hosted runner for an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Update a GitHub-hosted runner for an organization Updates a GitHub-hosted runner for an organization. OAuth app tokens and personal access tokens (classic) need the manage_runners:org scope to use this endpoint. [PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}]
Name on the gateway: github_api__actions_update_hosted_runner_for_org · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
hosted_runner_id required | integer | Unique identifier of the GitHub-hosted runner. |
name | string | Name of the runner. Must be between 1 and 64 characters and may only contain… |
runner_group_id | integer | The existing runner group to add this runner to. |
maximum_runners | integer | The maximum amount of runners to scale up to. Runners will not auto-scale… |
enable_static_ip | boolean | Whether this runner should be updated with a static public IP. Note limit on… |
size | string | The machine size of the runner. To list available sizes, use GET… |
image_source | github | partner | custom | The source type of the runner image to use. Must match the source of the image… |
image_id | string | The unique identifier of the runner image. To list available images, use GET… |
image_version | string | The version of the runner image to deploy. This is relevant only for runners… |
image_gen | boolean | Whether to enable image generation for this runner pool. When enabled, the… |
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_hosted_runner_for_org",
"arguments": {
"org": "…",
"hosted_runner_id": 0
}
}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 github-hosted runner for an organization tool with org set to ….