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
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
name required | string | Name of the runner. Must be between 1 and 64 characters and may only contain… |
image required | object | The image of runner. To list all available images, use GET… |
size required | string | The machine size of the runner. To list available sizes, use GET… |
runner_group_id required | 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 created with a static public IP. Note limit on… |
image_gen | boolean | Whether 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:
{
"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:
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 ….