GitLab MR tools for Claude Code - fix failed CI, resolve comments, and more.
Fetches comprehensive MR state (comments + pipeline) and helps fix all issues:
- Failed CI Jobs - Analyzes job logs and fixes code issues
- Unresolved Comments - Reviews and addresses discussion threads
- Resolved Comments Verification - Checks for missed actionable feedback
Fetches comprehensive MR state and presents a clear status overview without taking any action.
Fetches only MR comments, analyzes them, and proposes what to do:
- Unresolved Comments - Reviews discussion threads and proposes actions
- Resolved Comments Verification - Checks for missed actionable feedback
Fetches only pipeline status and job logs, triages failures and proposes fixes.
- Claude Code 2.1.0 or newer (see Known Issue below)
glabCLI installed and authenticatedglab-discussionfor discussion handling (uv tool install glab-discussion)jqfor JSON processing
The plugin includes a bash script that:
- Auto-detects the MR from your current git branch
- Fetches MR info via
glab mr view - Delegates discussion fetching to
glab-discussion read --dump(per-thread files with incremental updates, bot detection, diff note positions) - Fetches pipeline status, job details, and logs in parallel with retry
Output:
mr-info.txt- Full MR details (in/tmp/glab-mr-<id>-<timestamp>/)/tmp/glab-discussion/<host>/mr-<iid>/*.txt- One file per discussion thread (managed byglab-discussion)full-pipeline-summary.txt- Pipeline status and all jobsjob-logs/- Individual log files for each job
claude plugin marketplace add fprochazka/claude-code-plugins --scope user
claude plugin install glab-mr@fprochazka-claude-code-plugins --scope userThis plugin requires Claude Code 2.1.0+ due to a bug in older versions where ${CLAUDE_PLUGIN_ROOT} was not properly substituted in plugin allowed-tools frontmatter.
If you see Error: Bash command permission check failed, upgrade Claude Code to 2.1.0 or newer.