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

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
hosted_runner_id requiredintegerUnique identifier of the GitHub-hosted runner.
namestringName of the runner. Must be between 1 and 64 characters and may only contain…
runner_group_idintegerThe existing runner group to add this runner to.
maximum_runnersintegerThe maximum amount of runners to scale up to. Runners will not auto-scale…
enable_static_ipbooleanWhether this runner should be updated with a static public IP. Note limit on…
sizestringThe machine size of the runner. To list available sizes, use GET…
image_sourcegithub | partner | customThe source type of the runner image to use. Must match the source of the image…
image_idstringThe unique identifier of the runner image. To list available images, use GET…
image_versionstringThe version of the runner image to deploy. This is relevant only for runners…
image_genbooleanWhether 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from GitHub API