gitlab-integration
Capabilities
Merge-request automation for GitLab.com / self-managed.
| Tool | Role |
|---|---|
gitlab_get_mr | MR metadata |
gitlab_get_mr_diff | MR diff |
gitlab_get_mr_pipelines | Associated CI/CD pipeline status |
ask_user | Ambiguous cases |
Pipeline awareness
Unique to GitLab—Agents can fold CI evidence into reviews:
- Static analysis job health
- Unit-test / coverage gates
- Compliance scanner output
Agents may block merges on red pipelines or cite failure logs inside the report.
Typical flow
Security & compliance
- Credentials: personal, group, or project access tokens
- Scopes:
api+read_repository(tighten further if possible) - Audit: ledgered
Invocation
Examples:
- "What’s the pipeline for !256?"
- "Approve if tests are green"
- "Comment with findings"