Enhanced GitLab Integration for Cursor

Feature Request: Enhanced GitLab Integration for Cursor

Current State:

  • GitLab MCP server provides basic repository operations
  • Cannot fetch merge request details (open, closed, or merged)
  • Missing parity with GitHub PR integration

Requested Features:

  1. Fetch GitLab Merge Request Details

    • View MR diffs, metadata, comments
    • Access merged/closed MRs for context
    • Similar functionality to existing GitHub PR tool
  2. Enhanced GitLab MCP Tools

    • Get MR by number/ID
    • List MRs with filters (status, author, etc.)
    • Access MR discussions and approvals
  3. Parity with GitHub Integration

    • Same level of PR/MR access across platforms
    • Consistent developer experience

Use Case:

  • Developer workflows often reference historical MRs
  • Code reviews and context from merged MRs
  • Understanding recent changes and their rationale

Business Value:

  • Improved developer productivity
  • Better code context and decision-making
  • Reduced context switching between tools

Technical Context:

  • Current GitLab MCP server lacks fetch_merge_request equivalent
  • GitHub integration already provides comprehensive PR access
  • Would enable AI assistants to provide better code context
6 Likes

We are also in desperate need of gitlab integration with all the new features. Can’t justify a costly migration of all our team workflows to github for the cursor features, may end up considering other options.

1 Like

We also need this feature

1 Like

I’d also love to see support for Background agents with Gitlab connected repos.

You can use gitlab-mcp-server, which I recently released. It’s a GitLab-compatible MCP server that allows you to view and add comments directly from tools like Cursor, without needing to jump back into the GitLab UI.