Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_approve_merge_request

Approve merge requests on GitLab using project ID and merge request internal ID, ensuring compliance with approval rules. Returns approval status post-action.

Instructions

Add your approval to a merge request. Required for MRs with approval rules. Note: you cannot approve your own MRs. Returns approval status after action.

Input Schema

NameRequiredDescriptionDefault
mr_iidYesMerge request internal ID (integer). Project-specific MR number (e.g., !456). Not the global MR ID
project_idNoProject ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided

Input Schema (JSON Schema)

{ "properties": { "mr_iid": { "description": "Merge request internal ID (integer). Project-specific MR number (e.g., !456). Not the global MR ID", "type": "integer" }, "project_id": { "description": "Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided", "type": "string" } }, "required": [ "mr_iid" ], "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/Vijay-Duke/mcp-gitlab'

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