Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_get_merge_request_changes

Retrieve detailed file changes in a GitLab merge request, including diffs, file paths, addition/deletion counts, and change types (added/modified/deleted).

Instructions

Get detailed file changes in an MR including full diffs, file paths, addition/deletion counts, and change types (added/modified/deleted). Similar to commit diff but for entire MR.

Input Schema

NameRequiredDescriptionDefault
mr_iidYesMerge request internal ID (integer). Project-specific MR number (e.g., !456). Not the global MR ID
project_idNoProject ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided

Input Schema (JSON Schema)

{ "properties": { "mr_iid": { "description": "Merge request internal ID (integer). Project-specific MR number (e.g., !456). Not the global MR ID", "type": "integer" }, "project_id": { "description": "Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided", "type": "string" } }, "required": [ "mr_iid" ], "type": "object" }

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/Vijay-Duke/mcp-gitlab'

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