Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_get_merge_request

Retrieve detailed GitLab merge request data by IID, including diff stats, approvals, pipeline and merge status, conflicts, and metadata. Automatically detects project context for streamlined MR tracking and management.

Instructions

Get comprehensive details of a specific merge request by IID. Returns complete MR data including diff stats, approval status, pipeline status, merge status, conflicts, and all metadata.

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