Skip to main content
Glama

get_merge_request

Retrieve detailed information about a specific GitLab merge request using project ID and either merge request IID or source branch name to access code review status and changes.

Instructions

Get details of a merge request (Either mergeRequestIid or branchName must be provided)

Input Schema

NameRequiredDescriptionDefault
project_idYesProject ID or complete URL-encoded path to project
merge_request_iidNoThe IID of a merge request
source_branchNoSource branch name

Input Schema (JSON Schema)

{ "properties": { "merge_request_iid": { "description": "The IID of a merge request", "type": "number" }, "project_id": { "description": "Project ID or complete URL-encoded path to project", "type": "string" }, "source_branch": { "description": "Source branch name", "type": "string" } }, "required": [ "project_id" ], "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/harshmaur/gitlab-mcp'

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