mcp-server-gitlab

by ZephyrDeng
Verified

Gitlab Create MR Tool

Generate new Merge Requests in GitLab, assign users, and add reviewers for streamlined code collaboration. Simplify project management by specifying branches, titles, and labels.

Instructions

创建新的 Merge Request,支持指派 assignee 和 reviewers。

Input Schema

NameRequiredDescriptionDefault
assigneeIdNo指派的用户 ID
descriptionNo描述
fieldsNo需要返回的字段路径数组
labelsNo标签数组
projectIdYes项目 ID
reviewerIdsNoReviewer 用户 ID 列表
sourceBranchYes源分支
targetBranchYes目标分支
titleYes标题

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "assigneeId": { "description": "指派的用户 ID", "type": "number" }, "description": { "description": "描述", "type": "string" }, "fields": { "description": "需要返回的字段路径数组", "items": { "type": "string" }, "type": "array" }, "labels": { "description": "标签数组", "items": { "type": "string" }, "type": "array" }, "projectId": { "description": "项目 ID", "type": "string" }, "reviewerIds": { "description": "Reviewer 用户 ID 列表", "items": { "type": "number" }, "type": "array" }, "sourceBranch": { "description": "源分支", "type": "string" }, "targetBranch": { "description": "目标分支", "type": "string" }, "title": { "description": "标题", "type": "string" } }, "required": [ "projectId", "sourceBranch", "targetBranch", "title" ], "type": "object" }
ID: x6a0een21s