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

Open 💬 47 comments Opened Nov 25, 2025 by rogi-sh

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
  1. Merge Request Support
  • Native gl mr create command (similar to gh pr create)
  • View and respond to MR comments
  • CI/CD pipeline status integration
  1. 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_

View original on GitHub ↗

47 Comments

github-actions[bot] · 6 months ago

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.

writercoder · 6 months ago

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.

jrtdawgs · 5 months ago

I second this request

nicolaskudeba · 5 months ago

We're rolling out Claude Code at our organization (Tulip) and our repositories are on GitLab. The current Claude Code Slack integration only supports GitHub, which means we can't use the "tag @Claude in Slack to kick off coding tasks" workflow that's one of the most compelling features for team adoption.
Specific ask: Extend the Claude Code Slack app to support GitLab repositories, not just GitHub. This would allow:

Selecting GitLab repos from the "Select repository" dropdown in Claude Code web
@mentioning Claude in Slack to work on GitLab-hosted code
Creating Merge Requests (not just PRs) from Slack sessions

This is a blocker for enterprises using GitLab as their primary source control platform.

jangel97 · 4 months ago

From my perspective, many orgs are heavily invested in gitlab so I think it would make sense that there is more integration.

jled5000 · 4 months ago

Upvoting and adding context: we’re a media organization running 60+ AWS accounts with GitLab as our core SCM platform across several teams. We’re actively evaluating Claude Code for team-wide adoption, and the GitHub-only integration is the single biggest gap we’re working around. We’d love to see full gitlab support.

kaldown · 4 months ago

Upvoting. This will be huge especially with current /remote

dannyyy · 4 months ago

I also maintain all private repos on GitLab. GitHub is currently not an alternarive due to many major design flaws e.g. the entire PR workflow

swizzlevixen · 4 months ago

Upvoting as well. I want to work on my projects on the go, and if the iOS app were able to connect to GitLab, that would enable me to keep working from anywhere.

jangel97 · 4 months ago

https://github.com/anthropics/claude-code/pull/34951 adds support for gitlab in code-review skill.

lghamie · 4 months ago

Upvoting

swirly · 3 months ago

Upvoting also.
Would be great as many non-profit organizations have their own Gitlab instance for projects.

DanielTucan · 3 months ago

Upvote, gitlab gives us the freedom to self host which is a major advantage for persons which are tech savy. It will be huge if Claude will address us.

wiljdaws · 3 months ago

Upvoting

busbyjon · 3 months ago

Upvoting.

Right now, the way Claude Code handles non-GitHub repos during setup (e.g., creating a scheduled task) is basically a failure state. It looks like it’ll work, but when it runs you just get blank output and no debug info.

GitLab needs to be a first-class citizen here, and the current situation feels anti-competitive.

juicemia · 3 months ago

Please add this. Given Github's reliability issues over the past months, I get the sense many people are moving to alternative platforms and Gitlab seems to be the premier alternative to Github.

AntGeorge · 3 months ago

Upvoted.

renx123 · 3 months ago

gitlab really needed. upvote

victor-jx · 3 months ago

+1

claudiunicolaa · 3 months ago

+1

mwelner-kitopi · 2 months ago

+1

dalessioluca · 2 months ago

'+ 1'

lucasoarruda · 2 months ago

+1

GuillaumeDesforges · 2 months ago

+1

mifraburneo · 2 months ago

Upvoting as well.

TRUEVORO · 2 months ago

Upvoted

gengue · 2 months ago

While we can use glab cli in local, this is essential to run claude code web or routines

croaky · 2 months ago

+1. Could plain Git remote support be the unifying solution here? It would cover GitHub, GitLab, Bitbucket, and self-hosted setups at once. My use case: moving off GitHub to a self-hosted server, and I'd love this in the iPhone app.

Evey-Vendetta · 2 months ago

+1

Aylr · 2 months ago

+1 While the gitlab cli is great for desktop work an official plugin would allow the same incredible mobile-first experience that you can with GitHub repos.

MIbtehajNasar · 2 months ago

+1

webchick · 1 month ago

Echoing this request as well (and in Claude.ai too, which seems to outright refuse to grab repos from GitLab due to an Anthropic backend guardrails limitation, according to it).

The recent reliability issues with GitHub are causing open source projects to ponder alternatives (examples: Ghostty, Zig) and GitLab has a powerful feature set and is already in use by major open source projects such as Drupal (100K+ developers).

charlesbaynham · 1 month ago

Yes please! This is a frustrating limitation

antonov-a · 1 month ago

+1

davesz-hx · 1 month ago

+1

johnpwhite · 1 month ago

+1 I have a number of clients who self host, some use gitlab.com others use bitbucket! maybe general approach, however, happy to settle as gitlab (x2) for now.

raphaelblum · 1 month ago

+1

kaufmo · 1 month ago

+1

schmitch · 1 month ago

This would be really great especially self hosted gitlab. Especially when triggers, environments etc would be supported

torresfred · 1 month ago

+1

mathieucollet · 1 month ago

+1

gbevin · 24 days ago

+1

jacekzwroclawia · 23 days ago

+1

jonathanribas · 21 days ago

+1

mreditor97 · 11 days ago

+1

hertz1 · 1 day ago

Anthropic, just use claude to build this. How hard can it be? 😅

joshk0 · 1 day ago

Are you guys being paid by Microsoft to only support GitHub? I'm sure GitLab might even pay _you_ to support the integration we're all asking for :-)