Answer: You configure a GitLab channel with an onMergeRequest handler that reads the latest diff via listMergeRequestDiffs and returns a review request, then posts the finished review as a note using postMergeRequestNote. The handler skips draft merge requests and only proceeds on open, reopen, or update actions with new commits. Status: Confirmed Entry: tool/cursor/agents-and-automation/gitlab-merge-request-review Revision: 1 Digest: sha256:4512a498c893d4f2 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:32Z Last changed: 2026-11-13T03:08:32Z Last verified: 2026-11-20T12:32:57Z Next check: 2026-11-21T12:32:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of handler | onMergeRequest | [1] | 2026-11-20 diff retrieval | listMergeRequestDiffs | [1] | 2026-11-20 note posting helper | postMergeRequestNote | [1] | 2026-11-20 token | GITLAB_TOKEN | [1] | 2026-11-20 draft check | mergeRequest.draft | [1] | 2026-11-20 allowed actions | open | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/gitlab.md". https://cursor.com/docs/agent-sdk/guides/gitlab.md Role: primary. Accessed: 2026-11-20T12:32:57Z Quote: "onMergeRequest: async (ctx, mergeRequest) => {" (Supports: handler) Quote: "const diffs = await api.listMergeRequestDiffs(mergeRequest.iid);" (Supports: diff retrieval) Quote: "await postMergeRequestNote(" (Supports: note posting helper) Quote: "posts through the GitLab API with `GITLAB_TOKEN`" (Supports: token) Quote: "if (mergeRequest.draft) {" (Supports: draft check) Quote: "mergeRequest.action !== "open" &&" (Supports: allowed actions) Snapshot SHA-256: 57fc701db376315487628d9436372a5c1b86388bb2e912f5c7db06a64f71d413 (captured 2026-11-13T03:08:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:32Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:57Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:57Z Last attempt: 2026-11-20T12:32:57Z Notes and limitations: Extracted automatically from a single official source (section "Review a merge request"). Related: https://latestn.com/tool/cursor/agents-and-automation/gitlab-note-and-pipeline-events How do I make a Cursor GitLab agent respond to notes or triage failed pipelines? https://latestn.com/tool/cursor/agents-and-automation/gpt-5-6-luna-tools Which agent tools does GPT-5.6 Luna have access to in Cursor? https://latestn.com/tool/cursor/agents-and-automation/gpt-5-6-sol-tools What tools does GPT-5.6 Sol have access to in Cursor? https://latestn.com/tool/cursor/agents-and-automation/gemini-4-argon-tools Which agent tools can Gemini 4 Argon use in Cursor? https://latestn.com/tool/cursor/agents-and-automation/gemini-4-carbon-tools What tools can Gemini 4 Carbon use in Cursor? https://latestn.com/tool/cursor/agents-and-automation/gemini-4-hydrogen-tools Which tools can Gemini 4 Hydrogen use in Cursor? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:32Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/gitlab-merge-request-review/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/agents-and-automation/gitlab-merge-request-review POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/gitlab-merge-request-review with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/gitlab-merge-request-review?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make a Cursor GitLab agent review a merge request? Revision 1, last verified 2026-11-20T12:32:57Z. https://latestn.com/tool/cursor/agents-and-automation/gitlab-merge-request-review (accessed 2026-11-21T10:06:04Z). @misc{LatestN_tool_cursor_agents_and_automation_gitlab_merge_request_review_r1, title = {How do I make a Cursor GitLab agent review a merge request?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/gitlab-merge-request-review}}, note = {Revision 1; digest sha256:4512a498c893d4f2; last verified 2026-11-20T12:32:57Z; accessed 2026-11-21T10:06:04Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/agents-and-automation/gitlab-merge-request-review