Implement create_merge_request MCP Tool and service
Proposal
Add support for new MCP tool: create_merge_request which maps to Merge requests API - Create MR
- Add a new API mapping following our framework/annotation approach
- Allow the following arguments from the API documentation
id(required) - The ID or URL-encoded path of the projectsource_branch(required) - The source branchtarget_branch(required) - The target branchtitle(required) - Title of MRallow_collaboration(optional) - Allow commits from members who can merge to the target branchassignee_id(optional) - Assignee user IDassignee_ids(optional) - The ID of the users to assign the merge request todescription(optional) - Description of the merge request. Limited to 1,048,576 characterslabels(optional) - Labels for the merge request, as a comma-separated listmilestone_id(optional) - The ID of a milestone to assign the merge request toremove_source_branch(optional) - Flag indicating if a merge request should remove the source branch when mergingreviewer_ids(optional) - The ID of the users to request a review fromsquash(optional) - Flag indicating if the merge request should squash commits when mergingtarget_project_id(optional) - The ID of the target project
route_setting :mcp, tool_name: :create_merge_request, params: [:id]Edited by 🤖 GitLab Bot 🤖