[FEATURE] GitLab Integration
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Enhancement: Native GitLab Integration for Claude Code
Problem
Claude Code currently offers tight GitHub integration (MCP server, PR workflows, issue management, CI/CD status checks), but has no equivalent support for GitLab. Many teams and enterprises rely on GitLab as their primary platform for source control, code review, and CI/CD, and are unable to leverage Claude Code’s collaborative workflow features.
Proposed Solution
Proposed Enhancement
Add first-class GitLab support to Claude Code, on par with the existing GitHub integration. This would include:
∙ Merge Request workflows: Reading, creating, reviewing, and commenting on GitLab MRs
∙ Issue management: Creating, updating, searching, and commenting on GitLab issues
∙ CI/CD integration: Viewing pipeline status, job logs, and triggering pipelines
∙ Repository browsing: Fetching file contents, branches, tags, and commits via the GitLab API
∙ Webhook support: Subscribing to MR and pipeline activity for real-time feedback loops
∙ Self-hosted GitLab support: Many enterprises run self-managed GitLab instances; supporting configurable instance URLs is critical for adoption
Why This Matters
∙ GitLab has a significant market share, especially in enterprise and regulated environments
∙ Teams using GitLab are currently locked out of Claude Code’s most powerful collaborative features
∙ Supporting both platforms would make Claude Code a truly platform-agnostic development tool
∙ GitLab’s API is well-documented and follows similar REST/GraphQL patterns to GitHub, making implementation feasible
Suggested Approach
A GitLab MCP server (analogous to the existing GitHub MCP server) would be the most natural integration path, keeping the architecture consistent and extensible.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
I work on multiple GitLab repositories and need access from the native Claude app to continue my work from the Desktop or phone app.
Additional Context
GitLab is a major player in the enterprise market and deserves an appropriately tight integration.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗