gitlab mcp

get_merge_request_diffs

Get the changes/diffs of a merge request

Input Schema

NameRequiredDescriptionDefault
merge_request_iidYesThe internal ID of the merge request
project_idYesProject ID or URL-encoded path
viewNoDiff view type

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "merge_request_iid": { "description": "The internal ID of the merge request", "type": "number" }, "project_id": { "description": "Project ID or URL-encoded path", "type": "string" }, "view": { "description": "Diff view type", "enum": [ "inline", "parallel" ], "type": "string" } }, "required": [ "project_id", "merge_request_iid" ], "type": "object" }