Labsco
MCP SERVER

GitLab MR & Confluence Linker

by CodeByWaqas

Turn a GitLab merge request into a written analysis and file it in Confluence, in one pass.

Git Hosting & Code Review
Summary
The merge request write-up nobody gets round to.

Documenting an MR in Confluence is the step that gets skipped because it happens after the review is over. This fetches the merge request, analyses the diff and writes the page in a single run.

What it is

A bridge between GitLab merge requests and Confluence. It pulls the merge request, analyses what changed, and writes the resulting report to a Confluence page.

What you get
  • Merge request details fetched from GitLab by project and merge request id
  • The code changes analysed: change statistics, file-type breakdown and per-file detail
  • A report combining the basic merge request information with that analysis
  • The report stored in the Confluence space you configured
  • Logging throughout, for the runs that do not do what you expected
Requirements

Python 3.8 or higher, your GitLab URL, a GitLab personal access token with api scope, and the project it should read. Confluence is optional and only needed to store results: its URL, an account and token, and the space to write into.