原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

GitLab MCP Server

作者:jmrplens版本 3.4.0i★ –i电脑或云端
注册名称io.github.jmrplens/gitlab-mcp-server

安装

概览

作者提供的说明(英文原文)

Go MCP server for GitLab: 2 dynamic tools reach ~876 actions on Free/CE, up to ~1103 on Ultimate.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 开发者工具
  • 你需要填写:GITLAB_TOKEN, Authorization

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: GITLAB_URL, GITLAB_TOKEN, GITLAB_MCP_SKIP_TLS_VERIFY, GITLAB_MCP_TOOL_SURFACE, GITLAB_MCP_CAPABILITY_SURFACE, GITLAB_MCP_META_PARAM_SCHEMA, GITLAB_MCP_TIER, GITLAB_MCP_READ_ONLY, GITLAB_MCP_SAFE_MODE, GITLAB_MCP_EMBEDDED_RESOURCES, GITLAB_MCP_EXCLUDE_TOOLS, GITLAB_MCP_IGNORE_SCOPES, GITLAB_MCP_UPLOAD_MAX_FILE_SIZE, GITLAB_MCP_ALLOWED_UPLOAD_DIRS, GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS, GITLAB_MCP_ALLOWED_IMPORT_DIRS, GITLAB_MCP_RATE_LIMIT_RPS, GITLAB_MCP_RATE_LIMIT_BURST, GITLAB_MCP_LOG_LEVEL, GITLAB_MCP_LANGUAGE, Authorization

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

或者在你的电脑上运行

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

claude mcp add --transport http gitlab https://mcp.jmrp.io/gitlab --header 'Authorization: your-value'

或者在你的电脑上运行

claude mcp add gitlab --env GITLAB_URL=your-value --env GITLAB_TOKEN=your-value --env GITLAB_MCP_SKIP_TLS_VERIFY=your-value --env GITLAB_MCP_TOOL_SURFACE=your-value --env GITLAB_MCP_CAPABILITY_SURFACE=your-value --env GITLAB_MCP_META_PARAM_SCHEMA=your-value --env GITLAB_MCP_TIER=your-value --env GITLAB_MCP_READ_ONLY=your-value --env GITLAB_MCP_SAFE_MODE=your-value --env GITLAB_MCP_EMBEDDED_RESOURCES=your-value --env GITLAB_MCP_EXCLUDE_TOOLS=your-value --env GITLAB_MCP_IGNORE_SCOPES=your-value --env GITLAB_MCP_UPLOAD_MAX_FILE_SIZE=your-value --env GITLAB_MCP_ALLOWED_UPLOAD_DIRS=your-value --env GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS=your-value --env GITLAB_MCP_ALLOWED_IMPORT_DIRS=your-value --env GITLAB_MCP_RATE_LIMIT_RPS=your-value --env GITLAB_MCP_RATE_LIMIT_BURST=your-value --env GITLAB_MCP_LOG_LEVEL=your-value --env GITLAB_MCP_LANGUAGE=your-value -- npx -y @jmrp.io/gitlab-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "gitlab": {
      "url": "https://mcp.jmrp.io/gitlab",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@jmrp.io/gitlab-mcp-server"
      ],
      "env": {
        "GITLAB_URL": "your-value",
        "GITLAB_TOKEN": "your-value",
        "GITLAB_MCP_SKIP_TLS_VERIFY": "your-value",
        "GITLAB_MCP_TOOL_SURFACE": "your-value",
        "GITLAB_MCP_CAPABILITY_SURFACE": "your-value",
        "GITLAB_MCP_META_PARAM_SCHEMA": "your-value",
        "GITLAB_MCP_TIER": "your-value",
        "GITLAB_MCP_READ_ONLY": "your-value",
        "GITLAB_MCP_SAFE_MODE": "your-value",
        "GITLAB_MCP_EMBEDDED_RESOURCES": "your-value",
        "GITLAB_MCP_EXCLUDE_TOOLS": "your-value",
        "GITLAB_MCP_IGNORE_SCOPES": "your-value",
        "GITLAB_MCP_UPLOAD_MAX_FILE_SIZE": "your-value",
        "GITLAB_MCP_ALLOWED_UPLOAD_DIRS": "your-value",
        "GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS": "your-value",
        "GITLAB_MCP_ALLOWED_IMPORT_DIRS": "your-value",
        "GITLAB_MCP_RATE_LIMIT_RPS": "your-value",
        "GITLAB_MCP_RATE_LIMIT_BURST": "your-value",
        "GITLAB_MCP_LOG_LEVEL": "your-value",
        "GITLAB_MCP_LANGUAGE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "gitlab": {
      "type": "http",
      "url": "https://mcp.jmrp.io/gitlab",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "gitlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jmrp.io/gitlab-mcp-server"
      ],
      "env": {
        "GITLAB_URL": "your-value",
        "GITLAB_TOKEN": "your-value",
        "GITLAB_MCP_SKIP_TLS_VERIFY": "your-value",
        "GITLAB_MCP_TOOL_SURFACE": "your-value",
        "GITLAB_MCP_CAPABILITY_SURFACE": "your-value",
        "GITLAB_MCP_META_PARAM_SCHEMA": "your-value",
        "GITLAB_MCP_TIER": "your-value",
        "GITLAB_MCP_READ_ONLY": "your-value",
        "GITLAB_MCP_SAFE_MODE": "your-value",
        "GITLAB_MCP_EMBEDDED_RESOURCES": "your-value",
        "GITLAB_MCP_EXCLUDE_TOOLS": "your-value",
        "GITLAB_MCP_IGNORE_SCOPES": "your-value",
        "GITLAB_MCP_UPLOAD_MAX_FILE_SIZE": "your-value",
        "GITLAB_MCP_ALLOWED_UPLOAD_DIRS": "your-value",
        "GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS": "your-value",
        "GITLAB_MCP_ALLOWED_IMPORT_DIRS": "your-value",
        "GITLAB_MCP_RATE_LIMIT_RPS": "your-value",
        "GITLAB_MCP_RATE_LIMIT_BURST": "your-value",
        "GITLAB_MCP_LOG_LEVEL": "your-value",
        "GITLAB_MCP_LANGUAGE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GITLAB_URL env
    GitLab instance URL (default: https://gitlab.com; set for self-managed instances)
  • GITLAB_TOKEN 机密 必填 env
    GitLab Personal Access Token (glpat-...)
  • GITLAB_MCP_SKIP_TLS_VERIFY env
    Skip TLS certificate verification for self-signed certs (default: false)
  • GITLAB_MCP_TOOL_SURFACE env
    Tool catalog selector: dynamic, meta, or individual (default: dynamic)
  • GITLAB_MCP_CAPABILITY_SURFACE env
    Resource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
  • GITLAB_MCP_META_PARAM_SCHEMA env
    Meta-tool input schema detail: opaque, compact, or full (default: opaque)
  • GITLAB_MCP_TIER env
    GitLab tier: free/ce, premium or ultimate, used as given. When unset, detected from the instance license, then from the plans of the namespaces the token administers, then, on GitLab.com, from the to…
  • GITLAB_MCP_READ_ONLY env
    Read-only mode: removes every mutating action from the served surface; reads keep working (default: false)
  • GITLAB_MCP_SAFE_MODE env
    Safe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
  • GITLAB_MCP_EMBEDDED_RESOURCES env
    Append EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
  • GITLAB_MCP_EXCLUDE_TOOLS env
    Comma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
  • GITLAB_MCP_IGNORE_SCOPES env
    Skip the scope filter and the read_api narrowing and register all tools regardless of token permissions; a token carrying neither read_api nor api is still refused (default: false)
  • GITLAB_MCP_UPLOAD_MAX_FILE_SIZE env
    Largest local file an upload or file-reading action accepts, in bytes or with a KB, MB or GB suffix (e.g. 2GB); at most 1 TB (default: 2147483648, 2 GB)
  • GITLAB_MCP_ALLOWED_UPLOAD_DIRS env
    Extra OS path-list-separated directories an action may read a local file from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always all…
  • GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS env
    Extra OS path-list-separated directories an action may write a downloaded file into; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are alwa…
  • GITLAB_MCP_ALLOWED_IMPORT_DIRS env
    Extra OS path-list-separated directories a project or group import archive may be read from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory…
  • GITLAB_MCP_RATE_LIMIT_RPS env
    Rate limit per credential, in requests per second, on every call that reaches GitLab, with tools/list charged to a bucket of its own; 0, the default on stdio, disables it (default: 0)
  • GITLAB_MCP_RATE_LIMIT_BURST env
    Token-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
  • GITLAB_MCP_LOG_LEVEL env
    Logging verbosity (default: info)
  • GITLAB_MCP_LANGUAGE env
    Language of the elicitation questions, form field titles and progress messages a client shows the user: en or es (default: en). What the model reads stays English
  • Authorization 机密 HTTP header
    Bearer . The endpoint runs in OAuth mode: a client that speaks the OAuth flow needs no header at all and discovers the authorization server from the 401 challenge. A GitLab personal access token also…

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 jmrplens 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 1389 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1389 个服务器的 85% 更新
  • 基础检查结果等于或优于此分类中其他 1389 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

GitLab MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GITLAB_TOKEN, Authorization

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(3.4.0)于6天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

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

电脑或云端★ 34,245MIT3天前更新
安装

Desktop Commander

作者:wonderwhy-er

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

在你的电脑上运行★ 10,225MIT15天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

GitLab MCP Server

All of GitLab for your AI assistant. Up to 1,103 actions over GitLab's REST and GraphQL APIs, from Free to Ultimate and on GitLab.com, in one self-contained binary that works with Claude, Cursor, VS Code, Codex and any other MCP client. You ask in plain language; it does the GitLab work.

11,396 tokens of startup context by default, the same on every GitLab tier (1,994 with `GITLAB_MCP_CAPABILITY_SURFACE=minimal`). Two tools reach the whole catalog, where listing every tool as its own costs from 558,319 to 715,037 tokens. Measured with the cl100k_base tokenizer and checked in CI. How it is measured

"Review merge request !15: is it safe to merge?" · "Why did the last pipeline fail?" · "List open issues assigned to me" · "Generate release notes from v1.0 to v2.0"

Why this server

  • Every tier and every instance. Free/CE, Premium and Ultimate, self-managed or GitLab.com with its Orbit knowledge graph. The tier is detected and the catalog follows it.
  • The token you already have. A personal, project or group access token with api, or read_api for the actions GitLab accepts from it; a fine-grained token, judged action by action from its grant; OAuth in HTTP mode. Each action's tool reference entry says which scope and which fine-grained permissions it needs.
  • Guard rails. Read-only mode, safe mode (a preview of each write instead of the write), tools excluded by name, and a confirmation before anything destructive.
  • Three surfaces, two transports. Two discovery tools by default, one tool per domain or one per action; stdio for a desktop client, or HTTP for a shared deployment that keeps each credential apart. 45 resources and 37 prompts besides.
  • Releases you can verify. Signed checksums, an SBOM per binary and build provenance for every artifact.

Install

The buttons register the Docker image, so they need Docker; the Claude Desktop row downloads a native extension instead. Create a personal access token with the api scope (or read_api for the actions GitLab accepts from it; add GITLAB_MCP_READ_ONLY=true when nothing may be written).

Client One-click button Token step

VS Code

prompts you (masked)

Cursor

edit YOUR_GITLAB_TOKEN

LM Studio

edit YOUR_GITLAB_TOKEN

Kiro

edit YOUR_GITLAB_TOKEN

Claude Desktop

settings UI

Claude Code. The registration command never carries the token: -e GITLAB_TOKEN forwards it from the environment Claude Code hands docker.

export GITLAB_TOKEN=glpat-xxxx

claude mcp add gitlab --transport stdio \ -- docker run -i --rm -e GITLAB_TOKEN ghcr.io/jmrplens/gitlab-mcp-server:latest

Any other client runs one of these as the server's command, with GITLAB_TOKEN in the environment it passes:

npx -y @jmrp.io/gitlab-mcp-server                   # npm, nothing installed first

uvx jmrplens-gitlab-mcp-server # PyPI, nothing installed first dnx gitlab-mcp-server # NuGet (.NET 10 SDK), nothing installed first brew install jmrplens/tap/gitlab-mcp-server # Homebrew, macOS and Linux winget install --id jmrplens.gitlab-mcp-server -e # winget, Windows docker run -i --rm -e GITLAB_TOKEN ghcr.io/jmrplens/gitlab-mcp-server:latest

For a self-managed instance, set GITLAB_URL=https://gitlab.example.com beside the token; with the Docker image, also forward it by adding -e GITLAB_URL to the docker arguments, since the container receives only the variables named there (Docker install). Every channel, per-client configuration and verification step is in the installation guide, and an assistant installing it for you will find the same in llms.txt.

To try it first, a public instance runs at https://mcp.jmrp.io/gitlab, and the browser inspector calls it read-only after an OAuth sign-in. Your token and every request pass through that machine, so run it yourself to keep using it; the hosted endpoint page says what it is and is not.

Documentation

Everything else is at [docs.jmrp.io/gitlab-mcp-server](https://docs.jmrp.io/gitlab-mcp-server), in English and Spanish: getting started, configuration, tool surfaces, HTTP server mode, security, privacy and troubleshooting.

Packages and listings

Packages

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx