Loading
Add create_merge_request_pipeline MCP tool
What does this MR do and why?
Exposes POST /projects/:id/merge_requests/:merge_request_iid/pipelines as the create_merge_request_pipeline MCP tool in the :merge_requests toolset so MCP clients and agents can trigger pipelines properly associated with a merge request instead of creating detached ref pipelines.
- Adds
requires :merge_request_iid, type: Integerandroute_setting :mcp(tool_name: :create_merge_request_pipeline,toolset: :merge_requests,params: [:id, :merge_request_iid, :async]) onPOST ':id/merge_requests/:merge_request_iid/pipelines'. - Updates
SavePipelineServicedescription to direct callers tocreate_merge_request_pipelinewhen creating a pipeline linked to a merge request.
Closes #604238