GitLab and Claude Code: Fix a C++ bug with GitLab MCP in Claude Code
Key Takeaways
Shows Claude Code fixing a C++ bug with GitLab MCP and creating a merge request
Original Description
Claude Code works smarter when it has the full GitLab context — not just local files. In this demo, the GitLab MCP Server connects Claude Code to the actual issue, including the bug description, discussion, and history. Claude fetches the issue, analyzes the C++ sensor code, applies a fix, and creates the merge request directly from the terminal — no browser needed.
Presented by Michael Friedrich, Principal Developer Advocate at GitLab.
What you'll learn:
- How to add the GitLab MCP Server to Claude Code
- How to let Claude fetch and work from a GitLab issue directly
- How to create a merge request using MCP tools without leaving the terminal
- How to check MR pipeline status from Claude Code
Part of the tutorial: Claude Code and GitLab: Three Workflows That Ship: https://about.gitlab.com/blog/claude-code-and-gitlab/
- https://www.youtube.com/watch?v=JH4Sae3eDpw
- https://www.youtube.com/watch?v=q8XWnmdIaI0
- https://www.youtube.com/watch?v=Tw0wNet1HCc
Questions? Join https://forum.gitlab.com/
AI explanation not available for this lesson yet
This lesson is still being prepared for the AI tutor. In the meantime, explore lessons that are ready.
Browse explainer-ready lessons →
More on: AI-Assisted Code Review
View skill →
🎓
Tutor Explanation
DeepCamp AI