MétaCan
Menu
Back to cohort
Record W4413838750 · doi:10.24908/iqurcp19850

A Model Context Protocol Server for GitLab: Exposing Flaky Job Signals and Merge-Request Metrics

2025· article· en· W4413838750 on OpenAlexaffvenue
Seyed Ebrahim Haghshenas

Bibliographic record

VenueInquiry Queen s Undergraduate Research Conference Proceedings · 2025
Typearticle
Languageen
FieldComputer Science
TopicDistributed and Parallel Computing Systems
Canadian institutionsQueen's University
Fundersnot available
KeywordsMerge (version control)Computer scienceProtocol (science)DatabaseOperating systemParallel computing

Abstract

fetched live from OpenAlex

The Model Context Protocol (MCP) is a resource-oriented standard that enables client applications to request structured contextual data from external systems. In simple terms, MCP functions as a consistent interface where client tools can “order” specific information items, and the server returns them in a structured format. This research project developed an MCP server that integrates with GitLab APIs to expose software engineering signals as consumable MCP resources, facilitating downstream analysis by model-driven clients such as Cline, Roo, or Claude Code. Two primary categories of MCP resources were implemented. The first identifies flaky jobs within continuous integration pipelines by detecting instances where jobs fail and later succeed on the same code revision, providing structured metadata including commit identifiers, pipeline context, and job logs. The second category extracts merge-request heuristics and metrics, such as time-to-first-review, time-to-merge, comment activity, reviewer overlap, and code change size, enabling consistent access to project-level development signals. Several limitations of MCP were observed. Straightforward improvements include extending GitLab endpoint coverage, refining caching strategies, introducing webhook-driven updates to reduce data staleness and hardening authentication for enterprise environments. Long-term challenges involve real-time event streaming at scale and exposing GitLab POST endpoints in a safe manner, possibly for use cases like code review (look at merge requests and approve or make suggestions) or even authoring new code. The findings indicate that MCP can effectively serve as a standardized interface for exposing targeted software engineering resources, while highlighting future directions in scalability, accuracy, and enterprise readiness.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.011
metaresearch head score (Gemma)0.051
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Not applicable · Consensus signal: none
GenreCandidate signal: Software · Consensus signal: Software
Teacher disagreement score0.011
Threshold uncertainty score0.060

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0110.051
Meta-epidemiology (narrow)0.0020.002
Meta-epidemiology (broad)0.0010.001
Bibliometrics0.0030.002
Science and technology studies0.0010.002
Scholarly communication0.0060.011
Open science0.0040.008
Research integrity0.0030.007
Insufficient payload (model declined to judge)0.0090.005

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.155
GPT teacher head0.405
Teacher spread0.250 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designNot applicable
Domainnot available
GenreSoftware

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2025
Admission routes2
Has abstractyes

Explore more

Same venueInquiry Queen s Undergraduate Research Conference ProceedingsSame topicDistributed and Parallel Computing SystemsFrench-language works237,207