Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

MCP GitLab

von vish288Version 0.21.3i★ –iLäuft auf deinem Computer
Name in der Registryio.github.vish288/mcp-gitlab

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Entwicklertools
  • Das musst du eintragen: GITLAB_TOKEN, GITLAB_URL, GITLAB_OAUTH_CLIENT_SECRET, GITLAB_OAUTH_JWT_KEY, GITLAB_HTTP_BEARER_TOKEN

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: GITLAB_TOKEN, GITLAB_URL, GITLAB_READ_ONLY, MCP_READ_ONLY, GITLAB_AUTH, GITLAB_OAUTH_CLIENT_ID, GITLAB_OAUTH_CLIENT_SECRET, GITLAB_OAUTH_BASE_URL, GITLAB_OAUTH_SCOPES, GITLAB_OAUTH_JWT_KEY, GITLAB_HTTP_BEARER_TOKEN

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • PyPIuv für Python installiert (für den Befehl uvx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "gitlab": {
      "command": "uvx",
      "args": [
        "mcp-gitlab"
      ],
      "env": {
        "GITLAB_TOKEN": "your-value",
        "GITLAB_URL": "your-value",
        "GITLAB_READ_ONLY": "your-value",
        "MCP_READ_ONLY": "your-value",
        "GITLAB_AUTH": "your-value",
        "GITLAB_OAUTH_CLIENT_ID": "your-value",
        "GITLAB_OAUTH_CLIENT_SECRET": "your-value",
        "GITLAB_OAUTH_BASE_URL": "your-value",
        "GITLAB_OAUTH_SCOPES": "your-value",
        "GITLAB_OAUTH_JWT_KEY": "your-value",
        "GITLAB_HTTP_BEARER_TOKEN": "your-value"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add gitlab --env GITLAB_TOKEN=your-value --env GITLAB_URL=your-value --env GITLAB_READ_ONLY=your-value --env MCP_READ_ONLY=your-value --env GITLAB_AUTH=your-value --env GITLAB_OAUTH_CLIENT_ID=your-value --env GITLAB_OAUTH_CLIENT_SECRET=your-value --env GITLAB_OAUTH_BASE_URL=your-value --env GITLAB_OAUTH_SCOPES=your-value --env GITLAB_OAUTH_JWT_KEY=your-value --env GITLAB_HTTP_BEARER_TOKEN=your-value -- uvx mcp-gitlab

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "gitlab": {
      "command": "uvx",
      "args": [
        "mcp-gitlab"
      ],
      "env": {
        "GITLAB_TOKEN": "your-value",
        "GITLAB_URL": "your-value",
        "GITLAB_READ_ONLY": "your-value",
        "MCP_READ_ONLY": "your-value",
        "GITLAB_AUTH": "your-value",
        "GITLAB_OAUTH_CLIENT_ID": "your-value",
        "GITLAB_OAUTH_CLIENT_SECRET": "your-value",
        "GITLAB_OAUTH_BASE_URL": "your-value",
        "GITLAB_OAUTH_SCOPES": "your-value",
        "GITLAB_OAUTH_JWT_KEY": "your-value",
        "GITLAB_HTTP_BEARER_TOKEN": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "gitlab": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-gitlab"
      ],
      "env": {
        "GITLAB_TOKEN": "your-value",
        "GITLAB_URL": "your-value",
        "GITLAB_READ_ONLY": "your-value",
        "MCP_READ_ONLY": "your-value",
        "GITLAB_AUTH": "your-value",
        "GITLAB_OAUTH_CLIENT_ID": "your-value",
        "GITLAB_OAUTH_CLIENT_SECRET": "your-value",
        "GITLAB_OAUTH_BASE_URL": "your-value",
        "GITLAB_OAUTH_SCOPES": "your-value",
        "GITLAB_OAUTH_JWT_KEY": "your-value",
        "GITLAB_HTTP_BEARER_TOKEN": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • GITLAB_TOKEN geheim env
    GitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN
  • GITLAB_URL erforderlich env
    GitLab instance URL (e.g. https://gitlab.com)
  • GITLAB_READ_ONLY env
    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
  • MCP_READ_ONLY env
    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
  • GITLAB_AUTH env
    Authentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)
  • GITLAB_OAUTH_CLIENT_ID env
    Application ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)
  • GITLAB_OAUTH_CLIENT_SECRET geheim env
    Secret of the GitLab OAuth app (oauth mode)
  • GITLAB_OAUTH_BASE_URL env
    Public URL of this server, no trailing slash (oauth mode); redirect URI is /auth/callback
  • GITLAB_OAUTH_SCOPES env
    Space-separated GitLab scopes required on every request (oauth mode; default api)
  • GITLAB_OAUTH_JWT_KEY geheim env
    FastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)
  • GITLAB_HTTP_BEARER_TOKEN geheim env
    Bearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer ' (token mode; --auth oauth has its own sign-in)

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 6. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto vish288 bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Entwicklertoolsi

  • Mehr Sterne als 0 % der anderen 1387 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 94 % der anderen 1387 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 1387 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist MCP GitLab sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: GITLAB_TOKEN, GITLAB_URL, GITLAB_OAUTH_CLIENT_SECRET, GITLAB_OAUTH_JWT_KEY, GITLAB_HTTP_BEARER_TOKEN

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.21.3) kam vorgestern in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: GitHub, Desktop Commander, Cloudflare MCP

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

GitHub

von github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

Computer oder Cloud★ 34.245MITAktualisiert vor 3 Tagen
Installieren

Desktop Commander

von wonderwhy-er

MCP server for terminal commands, file operations, and process management

Läuft auf deinem Computer★ 10.225MITAktualisiert vor 15 Tagen
Installieren

Cloudflare MCP

von cloudflare

Cloudflare MCP servers

Läuft in der Cloud★ 4.446Apache-2.0Aktualisiert vor 14 Monaten
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

mcp-gitlab

mcp-gitlab is a Model Context Protocol (MCP) server for the GitLab REST API. It gives AI assistants 91 tools, 7 resources, and 6 prompts to manage projects, merge requests, pipelines, CI/CD variables, approvals, issues, and code reviews. Works with Claude Desktop, Claude Code, Cursor, Windsurf, VS Code Copilot, and any MCP-compatible client. Runs in one of two modes: with writes, or locked read-only (MCP_READ_ONLY=true) so the 57 write tools are never offered to the model.

Supports GitLab.com and self-hosted GitLab instances (CE/EE). No GitLab Duo or Premium required.

Supports the MCP 2026-07-28 specification, often called MCP 2.0, and stays compatible with 2025-11-25 clients.

Built with FastMCP 4.x, httpx, and Pydantic.

Install: uvx mcp-gitlab | PyPI | MCP Registry | Changelog

uvx mcp-gitlab                          # with writes

MCP_READ_ONLY=true uvx mcp-gitlab # locked read-only: write tools are not listed

1-Click Installation

💡 Tip: For other AI assistants (Claude Code, Windsurf, IntelliJ, Gemini CLI), visit the [GitLab MCP Installation Gateway](https://vish288.github.io/mcp-install?server=mcp-gitlab).

Manual Setup Guides (Click to expand)

Prerequisite: Install uv first (required for all uvx install flows). Install uv.

Claude Code
# with writes

claude mcp add gitlab -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx -- uvx mcp-gitlab

locked read-only

claude mcp add gitlab -e MCP_READ_ONLY=true -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx -- uvx mcp-gitlab

Windsurf & IntelliJ

Windsurf: Add to ~/.codeium/windsurf/mcp_config.json IntelliJ: Add to Settings | Tools | MCP Servers

Note: The actual server config starts at gitlab inside the mcpServers object. Remove MCP_READ_ONLY to allow writes.

{

"mcpServers": { "gitlab": { "command": "uvx", "args": ["mcp-gitlab"], "env": { "GITLAB_URL": "https://gitlab.example.com", "GITLAB_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx", "MCP_READ_ONLY": "true" } } } }

Gemini CLI
# with writes

gemini mcp add -s user -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx gitlab uvx mcp-gitlab

locked read-only

gemini mcp add -s user -e MCP_READ_ONLY=true -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx gitlab uvx mcp-gitlab

VS Code

Add to .vscode/mcp.json. Remove MCP_READ_ONLY to allow writes.

{

"servers": { "gitlab": { "type": "stdio", "command": "uvx", "args": ["mcp-gitlab"], "env": { "GITLAB_URL": "https://gitlab.example.com", "GITLAB_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx", "MCP_READ_ONLY": "true" } } } }

Codex
# with writes

codex mcp add gitlab --env GITLAB_URL=https://gitlab.example.com --env GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx -- uvx mcp-gitlab

locked read-only

codex mcp add gitlab --env MCP_READ_ONLY=true --env GITLAB_URL=https://gitlab.example.com --env GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx -- uvx mcp-gitlab

pip / uv
uv pip install mcp-gitlab

Drop MCP_READ_ONLY to allow writes. On a shared or hosted server put it in the deployer's env, not the client config.

Configuration

VariableRequiredDefaultDescription
GITLAB_URLYes-GitLab instance URL (e.g. https://gitlab.example.com)
GITLAB_TOKENYes, unless signed in with mcp-gitlab auth login-Authentication token (see below)
MCP_READ_ONLYNofalseShared name across the mcp-* servers. Any value other than false/0/no/off/empty locks the server read-only: the 57 write tools and write-workflow prompts are not listed, and nothing can turn it back off at runtime
GITLAB_READ_ONLYNofalsePer-server alias for MCP_READ_ONLY; either one locks the server read-only. --read-only can only raise the lock
GITLAB_HTTP_BEARER_TOKENNo-Bearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send Authorization: Bearer ; token mode only
GITLAB_TIMEOUTNo30Request timeout in seconds
GITLAB_SSL_VERIFYNotrueSet to false to skip SSL verification
GITLAB_AUTHNotokentoken (PAT from env) or oauth (OAuth 2.1 proxy; see below)
Supported Token Types

The server checks these environment variables in order — first match wins:

  1. GITLAB_TOKEN
  2. GITLAB_PAT
  3. GITLAB_PERSONAL_ACCESS_TOKEN
  4. GITLAB_API_TOKEN

These accept any of the following token types:

Token TypeFormatUse Case
Personal access tokenglpat-xxxUser-level access with api scope
OAuth2 tokenoauth-xxxOAuth app integrations
CI job token$CI_JOB_TOKENGitLab CI pipeline access

Sign in without a token

Use this when you run the server for yourself over stdio and have no personal access token. mcp-gitlab auth login signs you in to GitLab as a public OAuth client and stores the tokens locally. The server then reads them at startup and refreshes them on its own. This is not OAuth mode; the server stays in token mode and nothing on the MCP wire changes.

Three commands:

mcp-gitlab auth login     # device flow by default; add --web for the browser flow

mcp-gitlab auth status # show the stored account, scopes, and token freshness mcp-gitlab auth logout # revoke the token at GitLab and delete the local copy

auth login prints a code and a URL. Open the URL, enter the code, and approve. The server then works with GITLAB_URL set and no token.

Client ID

Each sign-in needs an OAuth application ID. Resolution order: --client-id, then GITLAB_OAUTH_CLIENT_ID, then a built-in default for https://gitlab.com.

The gitlab.com default is not registered yet. Until it is, set GITLAB_OAUTH_CLIENT_ID or pass --client-id for gitlab.com too.

Register an app (self-managed, or gitlab.com until the default ships)

Create an application under User Settings → Applications → Add new application with these settings:

FieldValue
Namemcp-gitlab
Redirect URIhttp://127.0.0.1/callback (loopback IP, no port)
Confidentialunchecked (public client)
Scopesapi, read_api

Use 127.0.0.1, not localhost. The device flow needs GitLab 17.9 or later; on older instances use mcp-gitlab auth login --web.

Storage and precedence

Credentials live in ~/.config/mcp-gitlab/credentials.json, one entry per GitLab URL, mode 0600. An environment token always wins: if GITLAB_TOKEN is set, the server uses it and ignores the stored credentials.

Pass --scopes read_api for a read-only session; the server then blocks write tools before any API call.

OAuth 2.1 (remote deployments)

For a server shared by several people, --auth oauth turns mcp-gitlab into an MCP 2026-07-28 resource server with GitLab as the upstream OAuth provider: each user signs in with their own GitLab account, every request runs with that user's token, and no personal access token is configured on the server. Use it when you host the server once and multiple users connect to it; keep the default --auth token for a single-user local setup.

OAuth mode requires --transport streamable-http (OAuth applies to HTTP only; stdio keeps using the environment token).

1. Register a GitLab OAuth application (User Settings → Applications, or a group/instance application). Set the redirect URI to /auth/callback (e.g. https://mcp.example.com/auth/callback), mark it confidential, and grant the api scope (or read_api for a read-only deployment). Copy the Application ID and Secret.

2. Configure the server:

VariableRequiredDefaultDescription
GITLAB_URLYes-GitLab instance; also the upstream authorization server
GITLAB_OAUTH_CLIENT_IDYes-Application ID (oauth mode, or local sign-in)
GITLAB_OAUTH_CLIENT_SECRETYes-Its secret
GITLAB_OAUTH_BASE_URLYes-Public URL of this server, no trailing slash (e.g. https://mcp.example.com). Resource URL is /mcp
GITLAB_OAUTH_SCOPESNoapiSpace-separated GitLab scopes required on every request. For a read-only OAuth deployment set read_api here *and* MCP_READ_ONLY=true, so write tools are hidden server-wide and per-user tokens lack write scope
GITLAB_OAUTH_JWT_KEYNoderivedFastMCP JWT signing key, ≥ 32 random chars. Set it in production so client registrations survive a client-secret rotation
FASTMCP_HOMENoplatform data dirThe encrypted token store lives at $FASTMCP_HOME/oauth-proxy/ /
GITLAB_URL=https://gitlab.com GITLAB_AUTH=oauth \

GITLAB_OAUTH_CLIENT_ID=... GITLAB_OAUTH_CLIENT_SECRET=... \ GITLAB_OAUTH_BASE_URL=https://mcp.example.com \ uvx mcp-gitlab --transport streamable-http

Point an MCP client (or the MCP Inspector, pnpm dlx @modelcontextprotocol/inspector) at /mcp; it discovers the authorization server, runs the OAuth flow, and each tool call then uses that user's GitLab token. A read_api-only token can read but is refused writes with an actionable hint.

Full guide, client setup and troubleshooting: docs/oauth.md.

Compatibility

ClientSupportedInstall Method
Claude DesktopYesclaude_desktop_config.json
Claude CodeYesclaude mcp add
CursorYesOne-click deeplink or .cursor/mcp.json
VS Code CopilotYesOne-click deeplink or .vscode/mcp.json
WindsurfYes~/.codeium/windsurf/mcp_config.json
Any MCP clientYesstdio or HTTP transport

Protocol support

mcp-gitlab implements the Model Context Protocol. It supports the 2026-07-28 specification, often called MCP 2.0. It stays compatible with 2025-11-25 clients.

  • **Speci

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen