Skip to main content
Glama

GitLab MCP Code Review

by ffpy

approve_merge_request

Approve GitLab merge requests to facilitate code integration by providing approval status and managing required approval thresholds for project collaboration.

Instructions

Approve a merge request. Args: project_id: The GitLab project ID or URL-encoded path merge_request_iid: The merge request IID (project-specific ID) approvals_required: Optional number of required approvals to set Returns: Dict containing the approval information

Input Schema

NameRequiredDescriptionDefault
project_idYes
merge_request_iidYes
approvals_requiredNo

Input Schema (JSON Schema)

{ "properties": { "approvals_required": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Approvals Required" }, "merge_request_iid": { "title": "Merge Request Iid", "type": "string" }, "project_id": { "title": "Project Id", "type": "string" } }, "required": [ "project_id", "merge_request_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/ffpy/gitlab-mcp-code-review'

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