gitlab-mr-mcp

gitlab-mr-mcp

3.5

If you are the rightful owner of gitlab-mr-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for interacting with GitLab merge requests and issues.

GitLab MR MCP is a server implementation using the Model Context Protocol (MCP) that facilitates AI agents' interaction with GitLab repositories. It provides a suite of tools to manage and interact with GitLab projects, merge requests, and issues. The server allows users to list available GitLab projects, fetch details and comments on merge requests, get diffs, and add comments to merge requests, including line-specific comments in code diffs. Additionally, it supports fetching detailed information about issues. This server is particularly useful for developers and AI agents looking to automate and streamline their workflow with GitLab.

Features

  • Listing available GitLab projects
  • Fetching merge request details and comments
  • Getting merge request diffs
  • Adding comments to merge requests
  • Fetching issue details

Tools

  1. get_projects

    Get an accessible list of GitLab projects

  2. list_open_merge_requests

    List all open merge requests in the specified project

  3. get_merge_request_details

    Get detailed information about a specific merge request

  4. get_merge_request_comments

    Get comments for merge requests

  5. add_merge_request_comment

    Add general comments to merge requests

  6. add_merge_request_diff_comment

    Add line-level comments to code differences for merge requests

  7. get_merge_request_diff

    Get the difference in merge requests

  8. get_issue_details

    Get detailed information about a specific question