mcp-gitlab

mcp-gitlab is a plugin for Gemini CLI from vish288/mcp-gitlab. Its token cost is not measured, scanned A, original, MIT.

An MCP server that lets an AI agent work with GitLab through its API. GitLab is a service for hosting code, merge requests, automated builds, and project settings.

In plain words
What is it for?
Use it to access projects, merge requests, pipelines, CI/CD variables, and approval information in GitLab.
Why use it?
It avoids handling GitLab separately when an agent needs project information or CI/CD details. CI/CD means automated jobs that build, test, and deploy code.

Plugin for Gemini CLI

Written for Gemini CLI: a Gemini CLI extension manifest.

Good fit Use it to access projects, merge requests, pipelines, CI/CD variables, and approval information in GitLab.

Compare 6 plugins from other repositories ↓
Install with agentmods
npx agentmods add plugins/vish288/mcp-gitlab/gemini-extension
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/vish288/mcp-gitlab

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-gitlab

README.md
[![agentmods](https://agentmods.dev/badge/plugins/vish288/mcp-gitlab/gemini-extension/github.svg)](https://agentmods.dev/plugins/vish288/mcp-gitlab/gemini-extension)
Your own site
<a href="https://agentmods.dev/plugins/vish288/mcp-gitlab/gemini-extension"><img src="https://agentmods.dev/badge/plugins/vish288/mcp-gitlab/gemini-extension/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-gitlab

Your own site · 80×15
<a href="https://agentmods.dev/plugins/vish288/mcp-gitlab/gemini-extension"><img src="https://agentmods.dev/badge/plugins/vish288/mcp-gitlab/gemini-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

mcp-gitlab scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads gemini-extension.json. This mod also ships 4 executable files (scripts/ci/reconcile.sh, scripts/ci/retry.sh, scripts/ci/state.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

gemini-extension.json · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "name": "mcp-gitlab",
  "version": "0.20.2",
  "description": "GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only",
  "mcpServers": {
    "mcp-gitlab": {
      "command": "uvx",
      "args": [
        "mcp-gitlab"
      ]
    }
  },
  "settings": [
    {
      "name": "GITLAB_TOKEN",
      "description": "GitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN",
      "required": false,
      "sensitive": true
    },
    {
      "name": "GITLAB_URL",
      "description": "GitLab instance URL (e.g. https://gitlab.com)",
      "required": true,
      "sensitive": false
    },
    {
      "name": "GITLAB_READ_ONLY",
      "description": "Alias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock",
      "required": false,
      "sensitive": false
    },
    {
      "name": "MCP_READ_ONLY",
      "description": "Locks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's env",
      "required": false,
      "sensitive": false
    },
    {
      "name": "GITLAB_AUTH",
      "description": "Authentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)",
      "required": false,
      "sensitive": false
    },
    {
      "name": "GITLAB_OAUTH_CLIENT_ID",
      "description": "Application ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)",
      "required": false,
      "sensitive": false
    },
    {
      "name": "GITLAB_OAUTH_CLIENT_SECRET",
      "description": "Secret of the GitLab OAuth app (oauth mode)",
      "required": false,
      "sensitive": true
    },
    {
      "name": "GITLAB_OAUTH_BASE_URL",
      "description": "Public URL of this server, no trailing slash

Read the full file on GitHub · 82 lines

Files

What ships with it

4 files beside gemini-extension.json in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 8d20a810fcf6
  2. 2d ago Changed · +12 lines c92cae967909
  3. 3d ago Changed 175db330502c
  4. 4d ago Changed 0145f8728b8f
  5. 5d ago Changed 546f27068f55
  6. 9d ago Changed f245502d5842
  7. 10d ago Changed · +36 lines 3636cca79d31
  8. 12d ago Changed 7baaf77e8cb3
  9. 18d ago Changed · +6 lines 2ed5f3cfffe0
  10. 19d ago First seen · 28 lines scan A 7199f62d7731

Subscribe to this mod's changes

mcp-gitlab is a plugin published in the GitHub repository vish288/mcp-gitlab (6 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-20.