GitLab MCP Server

create_merge_request

Create a new merge request in a GitLab project

Input Schema

NameRequiredDescriptionDefault
allow_collaborationNoAllow commits from upstream members
descriptionNoMerge request description
draftNoCreate as draft merge request
project_idYesProject ID or URL-encoded path
source_branchYesBranch containing changes
target_branchYesBranch to merge into
titleYesMerge request title

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "allow_collaboration": { "description": "Allow commits from upstream members", "type": "boolean" }, "description": { "description": "Merge request description", "type": "string" }, "draft": { "description": "Create as draft merge request", "type": "boolean" }, "project_id": { "description": "Project ID or URL-encoded path", "type": "string" }, "source_branch": { "description": "Branch containing changes", "type": "string" }, "target_branch": { "description": "Branch to merge into", "type": "string" }, "title": { "description": "Merge request title", "type": "string" } }, "required": [ "project_id", "title", "source_branch", "target_branch" ], "type": "object" }