| name | gitlab-runners |
| description | Manages GitLab runners. Use for registering, updating, deleting runners at various levels. Triggers: CI infrastructure. |
Overview
Covers runner setup.
Available Tools
get_runners: Retrieve a list of runners in GitLab, optionally filtered by scope, type, status, or tags or Retrieve details of a specific GitLab runner..- Parameters:
runner_id(Optional[int]): Optional. - ID of the runner to retrievescope(Optional[str]): Optional. - Filter runners by scope (e.g., 'active')type(Optional[str]): Optional. - Filter runners by type (e.g., 'instance_type')status(Optional[str]): Optional. - Filter runners by status (e.g., 'online')tag_list(Optional[List[str]]): Optional. - Filter runners by tags
- Parameters:
update_runner_details: Update details for a specific GitLab runner.- Parameters:
runner_id(int): Optional. - ID of the runner to updatedescription(Optional[str]): Optional. - New description of the runneractive(Optional[bool]): Optional. - Whether the runner is activetag_list(Optional[List[str]]): Optional. - List of tags for the runnerrun_untagged(Optional[bool]): Optional. - Whether the runner can run untagged jobslocked(Optional[bool]): Optional. - Whether the runner is lockedaccess_level(Optional[str]): Optional. - Access level of the runner (e.g., 'ref_protected')maximum_timeout(Optional[int]): Optional. - Maximum timeout for the runner in secondsctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
pause_runner: Pause or unpause a specific GitLab runner.- Parameters:
runner_id(int): Optional. - ID of the runner to pause or unpauseactive(bool): Optional. - Whether the runner should be active (True) or paused (False)ctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
get_runner_jobs: Retrieve jobs for a specific GitLab runner, optionally filtered by status or sorted.- Parameters:
runner_id(int): Optional. - ID of the runner to retrieve jobs forstatus(Optional[str]): Optional. - Filter jobs by status (e.g., 'success', 'failed')sort(Optional[str]): Optional. - Sort jobs by criteria (e.g., 'created_at')
- Parameters:
get_project_runners: Retrieve a list of runners in a specific GitLab project, optionally filtered by scope.- Parameters:
project_id(str): Optional. - Project ID or pathscope(Optional[str]): Optional. - Filter runners by scope (e.g., 'active')
- Parameters:
enable_project_runner: Enable a runner in a specific GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathrunner_id(int): Optional. - ID of the runner to enablectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
delete_project_runner: Delete a runner from a specific GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathrunner_id(int): Optional. - ID of the runner to deletectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
get_group_runners: Retrieve a list of runners in a specific GitLab group, optionally filtered by scope.- Parameters:
group_id(str): Optional. - Group ID or pathscope(Optional[str]): Optional. - Filter runners by scope (e.g., 'active')
- Parameters:
register_new_runner: Register a new GitLab runner.- Parameters:
token(str): Optional. - Registration token for the runnerdescription(Optional[str]): Optional. - Description of the runnertag_list(Optional[List[str]]): Optional. - List of tags for the runnerrun_untagged(Optional[bool]): Optional. - Whether the runner can run untagged jobslocked(Optional[bool]): Optional. - Whether the runner is lockedctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
delete_runner: Delete a GitLab runner by ID or token.- Parameters:
runner_id(Optional[int]): Optional. - ID of the runner to deletetoken(Optional[str]): Optional. - Token of the runner to deletectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
verify_runner_authentication: Verify authentication for a GitLab runner using its token.- Parameters:
token(str): Optional. - Runner token to verifyctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
reset_gitlab_runner_token: Reset the GitLab runner registration token.- Parameters:
ctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
reset_project_runner_token: Reset the registration token for a project's runner in GitLab.- Parameters:
project_id(str): Optional. - Project ID or pathctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
reset_group_runner_token: Reset the registration token for a group's runner in GitLab.- Parameters:
group_id(str): Optional. - Group ID or pathctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
reset_token: Reset the authentication token for a specific GitLab runner.- Parameters:
runner_id(int): Optional. - ID of the runner to reset the token fortoken(str): Optional. - Current token of the runnerctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
Usage Instructions
- Use tokens for registration.
Examples
- Register:
register_new_runnerwith token="abc123". - Enable:
enable_project_runnerwith runner_id=1.
Error Handling
- Token invalid: Reset.