GitLab Operations
编码与调试by jarecsni
Manage GitLab resources including webhooks, CI/CD variables, and protected branches. Automate administrative tasks like creating project access tokens and managing group structures. Streamline repository settings and pipeline triggers to improve DevOps workflows.
Tools (22)
create_webhookCreate a project-level webhook with configurable event subscriptions (push, tag, MR, pipeline, etc.) and optional secret token verification
list_webhooksList all webhooks configured on a GitLab project, including their URLs, event subscriptions, and SSL verification status
update_webhookUpdate an existing webhook's URL, secret token, event subscriptions, or SSL settings
delete_webhookRemove a webhook from a GitLab project
test_webhookTrigger a test event (push, tag_push, etc.) against a webhook to verify it is receiving and processing events correctly
create_ci_variableCreate a project-level CI/CD variable with optional protection (only exposed to protected branches), masking (hidden in job logs), environment scoping, and file type support
list_ci_variablesList all CI/CD variables for a project, including their keys, protection status, masking, and environment scopes
update_ci_variableUpdate an existing CI/CD variable's value, protection, masking, environment scope, or type
delete_ci_variableRemove a CI/CD variable from a project by key
protect_branchProtect a branch (or wildcard pattern) with configurable push/merge access levels and force-push settings to enforce merge-only workflows
list_protected_branchesList all protected branches for a project, including their push/merge access levels and force-push settings
unprotect_branchRemove protection rules from a branch, restoring default push and merge permissions
update_project_settingsUpdate project-level settings: merge strategy (merge/rebase/fast-forward), squash policy, pipeline requirements, source branch cleanup, Auto DevOps, shared runners, and container registry
create_groupCreate a new GitLab group or subgroup with configurable visibility and description for namespace isolation
list_groupsList GitLab groups with optional search, ownership, and minimum access level filters
delete_groupDelete a GitLab group and all projects within it (cascading delete)
create_project_access_tokenCreate a scoped, rotatable access token for a project with configurable scopes (api, read_api, read/write_repository, read/write_registry), access level, and expiry date
list_project_access_tokensList all access tokens for a project, including their scopes, access levels, and expiry dates
revoke_project_access_tokenRevoke a project access token, immediately invalidating it for all future API requests
create_pipeline_triggerCreate a pipeline trigger token for cross-project pipeline triggering via the GitLab API
list_pipeline_triggersList all pipeline trigger tokens for a project, including their descriptions and ownership
delete_pipeline_triggerRemove a pipeline trigger token, preventing any further pipeline triggers using it