Skip to main content
Glama

GitLab MCP Server

by Alosies

create_merge_request

Create a new merge request in GitLab by specifying source and target branches, title, description, assignees, reviewers, labels, and milestone for code review and integration.

Instructions

Create a new merge request

Input Schema

NameRequiredDescriptionDefault
assignee_idsNoArray of user IDs to assign
descriptionNoMerge request description
labelsNoComma-separated list of labels
milestone_idNoMilestone ID
project_idYesProject ID or path
reviewer_idsNoArray of user IDs to review
source_branchYesSource branch name
target_branchYesTarget branch name
titleYesMerge request title

Input Schema (JSON Schema)

{ "properties": { "assignee_ids": { "description": "Array of user IDs to assign", "items": { "type": "number" }, "type": "array" }, "description": { "description": "Merge request description", "type": "string" }, "labels": { "description": "Comma-separated list of labels", "type": "string" }, "milestone_id": { "description": "Milestone ID", "type": "number" }, "project_id": { "description": "Project ID or path", "type": "string" }, "reviewer_ids": { "description": "Array of user IDs to review", "items": { "type": "number" }, "type": "array" }, "source_branch": { "description": "Source branch name", "type": "string" }, "target_branch": { "description": "Target branch name", "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/Alosies/gitlab-mcp-server'

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