Skip to main content
Glama

gitlab mcp

create_merge_request

Initiate a merge request in a GitLab project by specifying source and target branches, project ID, title, and optional details like description or draft status.

Instructions

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" }

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

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