Home / Servers / GitHub API / actions_create_self_hosted_runner_group_for_org

Create a self-hosted runner group for an organization

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

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

Name on the gateway: github_api__actions_create_self_hosted_runner_group_for_org · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
name requiredstringName of the runner group.
visibilityselected | all | privateVisibility of a runner group. You can select all repositories, select…
selected_repository_idsarrayList of repository IDs that can access the runner group.
runnersarrayList of runner IDs to add to the runner group.
allows_public_repositoriesbooleanWhether the runner group can be used by public repositories.
restricted_to_workflowsbooleanIf true, the runner group will be restricted to running only the workflows…
selected_workflowsarrayList of workflows the runner group should be allowed to run. This setting will…
network_configuration_idstringThe 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:

call_tool arguments
{
  "name": "github_api__actions_create_self_hosted_runner_group_for_org",
  "arguments": {
    "org": "…",
    "name": "…"
  }
}

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 self-hosted runner group for an organization tool with org set to ….

More from GitHub API