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
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
name required | string | The name of the new runner. |
runner_group_id required | integer | The ID of the runner group to register the runner to. |
labels required | array | The names of the custom labels to add to the runner. **Minimum items**: 1.… |
work_folder | string | The 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:
{
"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:
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 ….