Add MCP get_merge_request_pipelines_service

What does this MR do and why?

This change adds a new tool to retrieve pipeline information for merge requests in GitLab. The tool allows users to fetch a list of all pipelines (automated build and test processes) associated with a specific merge request by providing the project ID and merge request number.

The implementation includes input validation to ensure required fields are provided, support for pagination to handle large numbers of pipelines, and formats the response to show pipeline status, branch information, and commit details in both human-readable text and structured data formats. The tool integrates with GitLab's API and includes comprehensive tests covering various scenarios like successful responses, empty results, different pipeline statuses, and error handling for missing required parameters.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chance Feick

Merge request reports

Loading