claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] Add GitLab Integration (Repository Connection, MRs, Mobile Access)

Open rogi-sh opened this issue 2 months ago • 2 comments

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

Currently, Claude Code only supports GitHub as a repository platform. This limits users who work with GitLab (self-hosted or gitlab.com) from utilizing Claude Code's full potential.

Specific limitations:

  • Cannot connect GitLab repositories directly to Claude Code
  • No way to create Merge Requests (MRs) through Claude Code like with GitHub PRs (gh pr create)
  • No browser-based/mobile workflow for GitLab users (GitHub users can use Codespaces + Claude Code on mobile)
  • Many enterprises and open-source projects use GitLab as their primary platform

Users who want to use Claude Code with GitLab are currently forced to:

  1. Clone repositories locally
  2. Work only from desktop machines
  3. Manually create MRs through the GitLab web interface
  4. Miss out on seamless CI/CD integration that GitHub users enjoy

Proposed Solution

Add first-class GitLab support to Claude Code, similar to the existing GitHub integration:

  1. GitLab Repository Connection - claude connect gitlab command to link GitLab accounts - Support for both gitlab.com and self-hosted GitLab instances
  2. Merge Request Support - Native gl mr create command (similar to gh pr create) - View and respond to MR comments - CI/CD pipeline status integration
  3. Mobile/Remote Access - GitLab Web IDE integration or partnership with Gitpod - Enable Claude Code usage from any device via browser

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

Similar to what is possible now with GitHub

Additional Context

No response

rogi-sh avatar Nov 25 '25 09:11 rogi-sh

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 25 '25 10:12 github-actions[bot]

While a first class connection matching GitHub would be great here, I've personally had success instructing Claude to use The glab cli to create and manage merge requests.

writercoder avatar Jan 02 '26 09:01 writercoder