Home / Servers / GitHub API / actions_generate_runner_jitconfig_for_repo

Create configuration for a just-in-time runner for a repository

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

Create configuration for a just-in-time runner for a repository Generates a configuration that can be passed to the runner application at startup. The authenticated user must have admin access to the repository. OAuth tokens and personal access tokens (classic)… [POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig]

Name on the gateway: github_api__actions_generate_runner_jitconfig_for_repo · may change things.

Parameters

NameTypeDescription
owner requiredstringThe account owner of the repository. The name is not case…
repo requiredstringThe name of the repository without the .git extension. The…
name requiredstringThe name of the new runner.
runner_group_id requiredintegerThe ID of the runner group to register the runner to.
labels requiredarrayThe names of the custom labels to add to the runner. **Minimum items**: 1.…
work_folderstringThe working directory to be used for job execution, relative to the runner…

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_generate_runner_jitconfig_for_repo",
  "arguments": {
    "owner": "…",
    "repo": "…",
    "name": "…",
    "runner_group_id": 0,
    "labels": []
  }
}

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 configuration for a just-in-time runner for a repository tool with owner set to ….

More from GitHub API