Skip to main content
Glama

merge_merge_request

Merge a GitLab merge request with options for auto-merging after pipeline success, custom commit messages, branch cleanup, and commit squashing.

Instructions

Merge a merge request in a GitLab project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID or complete URL-encoded path to project
merge_request_iidNoThe IID of a merge request
auto_mergeNoIf true, the merge request merges when the pipeline succeeds.
merge_commit_messageNoCustom merge commit message
merge_when_pipeline_succeedsNoIf true, the merge request merges when the pipeline succeeds.in GitLab 17.11. Use
should_remove_source_branchNoRemove source branch after merge
squash_commit_messageNoCustom squash commit message
squashNoSquash commits into a single commit when merging

Latest Blog Posts

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