Skip to main content
Glama

list_merge_request_diffs

Retrieve and compare code changes in GitLab merge requests with pagination support. View differences between branches or specific merge requests to analyze modifications before merging.

Instructions

List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID or complete URL-encoded path to project
merge_request_iidNoThe IID of a merge request
source_branchNoSource branch name
pageNoPage number for pagination (default: 1)
per_pageNoNumber of items per page (max: 100, default: 20)
unidiffNoPresent diffs in the unified diff format. Default is false. Introduced in GitLab 16.5.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zereight/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server