Home / Servers / GitHub API / actions_create_hosted_runner_for_org

Create a GitHub-hosted runner for an organization

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Create a GitHub-hosted runner for an organization Creates a GitHub-hosted runner for an organization. OAuth tokens and personal access tokens (classic) need the manage_runners:org scope to use this endpoint. [POST /orgs/{org}/actions/hosted-runners]

Name on the gateway: github_api__actions_create_hosted_runner_for_org · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
name requiredstringName of the runner. Must be between 1 and 64 characters and may only contain…
image requiredobjectThe image of runner. To list all available images, use GET…
size requiredstringThe machine size of the runner. To list available sizes, use GET…
runner_group_id requiredintegerThe 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 created with a static public IP. Note limit on…
image_genbooleanWhether this runner should be used to generate custom images.

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_create_hosted_runner_for_org",
  "arguments": {
    "org": "…",
    "name": "…",
    "image": "…",
    "size": "…",
    "runner_group_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 create a github-hosted runner for an organization tool with org set to ….

More from GitHub API