Advanced GitLab MCP server

io.github.structured-world由 GitHub 账号 structured-world 发布v13.2.1更新于 Nov 8, 2026

66 tools, 241 typed actions, 27 registry groups

发布方自己的服务:Gitlab

概览

AI 生成的概览

本地运行的 MCP 服务器,让助手读写 GitLab 的项目、合并请求、流水线、工作项等资源。

可以做什么
  • 浏览项目、命名空间、用户、动态、待办、标签、里程碑和代码片段
  • 读取并管理合并请求,包括讨论、草稿评审意见和代码建议
  • 查看和管理仓库文件、提交、引用、Wiki 页面与工作项(议题、史诗、任务)
  • 监控并控制 CI/CD 流水线与作业,以及 CI/CD 变量、Webhook 和集成
  • 查看连接、账户资料与设置,并切换工具预设或工作范围
适用场景
适合让助手在对话中直接操作 GitLab:评审合并请求、处理议题与待办、阅读代码和流水线日志,或触发与重试 CI 作业。只读模式可用于在不写入的情况下查看生产项目。
运行要求
以本地 Node.js 进程运行(需 Node.js 24 或更高版本),可通过 npx 或 MCPB 包安装;也提供 Docker 镜像和 HTTP/SSE 传输。需要 GITLAB_TOKEN 中的 GitLab 个人访问令牌,具备 api 和 read_user 权限;自建实例需设置 GITLAB_API_URL。需要能访问 GitLab 实例的网络。
安装前请注意
该令牌拥有较宽的 API 权限;manage_* 工具可创建、修改和删除项目、文件、合并请求、变量、Webhook 等,并可合并 MR 或触发流水线。GITLAB_READ_ONLY_MODE 可禁用写操作。GitLab Duo 会话可能消耗额度并改动 GitLab。CI/CD 变量值和 Webhook 密钥会经过该服务器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Advanced GitLab MCP server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Advanced GitLab MCP server

[npm version] [npm downloads] [License] [Release] [Coverage] [Coverage Report]

Advanced GitLab MCP server: 66 tools across 27 registry groups, including 60 CQRS tools with 241 typed actions and 6 setup helpers. The tool catalog and parameters are filtered to each instance's GitLab version, tier, and token scopes, so the agent sees only what the connected instance actually supports.

[Install in Claude Desktop] [Set up in Codex] [Install in VS Code] [Install in VS Code Insiders]

Packages

This is a monorepo with two npm packages:

Quick Start

json
{  "mcpServers": {    "gitlab": {      "command": "npx",      "args": ["-y", "@structured-world/gitlab-mcp"],      "env": {        "GITLAB_TOKEN": "your_gitlab_token",        "GITLAB_API_URL": "https://gitlab.com"      }    }  }}

Requirements: Node.js >= 24

GitLab Duo sessions

GitLab Duo sessions are also supported: discover agents and flows, inspect progress and outputs, and explicitly start or answer asynchronous CI sessions. Commands can consume credits and change GitLab. See the Duo session guide.

Supported clients

The Codex plugin can be installed before configuring a target. Its connection panel supports a GitLab instance with a locally started core server, or an existing HTTP MCP server. The local plugin requires Node.js 24+; credentials are entered in its private panel. See the installation guide for marketplace setup and authentication.

The shared sw.foundation marketplace lists verified releases. Add it once with codex plugin marketplace add structured-world/repo --sparse .agents/plugins, then install GitLab MCP from that catalog after its first configurable plugin release.

Download the ready-made Codex marketplace ZIP and its SHA-256 checksum from GitHub Releases. It includes the local runtime and dependencies, separately from the Claude Desktop MCPB bundles. Add the extracted marketplace once, then install through Codex. An install link requires an already configured marketplace; downloading the ZIP does not install it automatically. Older releases may not contain these assets.

With the Codex CLI installed and GITLAB_API_URL and GITLAB_TOKEN set in your environment, run npx @structured-world/gitlab-mcp install --codex to register a local server. For Antigravity, add the server to .agents/mcp_config.json in your workspace. Follow the linked guides for authentication, remote-server setup and client-specific configuration.

Codex and Claude Code can be configured side by side. Antigravity CLI 1.4.10 is qualified against the installed core package on macOS and Linux, including empty and single-MR lists. See the client overview for all setup guides.

Highlights

  • 66 tools across 27 registry groups: projects, merge requests, pipelines, work items, wiki, and more
  • CQRS architecture — browse_* for queries, manage_* for commands
  • Connection resilience — Bounded startup, auto-reconnect with exponential backoff, disconnected mode when GitLab is unreachable
  • Multi-instance support — Connect to GitLab.com, self-managed, and self-hosted instances with per-instance OAuth and rate limiting; one connection can link several accounts, such as a company GitLab and a personal GitLab.com account, and each chat switches between them
  • Multiple transports — stdio, SSE, StreamableHTTP
  • OAuth 2.1 — Per-user authentication via Claude Custom Connector
  • Read-only mode — Safe operation for production environments
  • Auto-discovery — Detects GitLab config from git remotes
  • Fine-grained control — Enable/disable tool groups, filter actions, customize descriptions
  • Docker support — ghcr.io/structured-world/gitlab-mcp:latest

Tool model

GitLab exposes hundreds of API operations. Giving each its own MCP tool floods an agent's context; a thin API wrapper pushes that complexity back onto the agent. This server takes a third path: 60 CQRS tools expose 241 typed actions, with 6 additional helpers for account, connection and settings work. The complete catalog contains 66 tools across 27 registry groups. This total includes core and account/context tools. Settings expose a different set of configurable tool groups: core and context tools are always available, and CI job tokens and deploy keys share one switch.

  • browse_* tools are read-only queries; manage_* tools are writes.
  • Sub-resources fold into actions rather than new tools — browse_pipelines covers pipelines, jobs, and logs in a single tool.
  • The tool list, actions, and parameters are resolved at schema-generation time against GitLab version, tier, token scopes, admin-mode, feature flags, and profiles.

Examples:

  • browse_pipelines — list, get, jobs, job, logs, triggers
  • manage_pipeline — create, retry, cancel
  • browse_environments — list, get, list_deployments
  • manage_environment — create, update, stop, delete, update_deployment_status
  • browse_deploy_keys / manage_deploy_key — list, get / add, enable, update, delete

Documentation

Full documentation is available at gitlab-mcp.sw.foundation

SectionDescription
Installationnpm, Docker, VS Code, Codex
ConfigurationEnvironment variables, feature flags
Multi-InstanceConnect to multiple GitLab instances
Tool ReferenceAll 66 tools with parameters
OAuth SetupTeam authentication with Claude
TLS/HTTPSProduction deployment with SSL
CustomizationTool descriptions, action filtering
CLI ToolsBrowse and export tool documentation

Auto-generated Tool Reference

For the complete tool reference with parameters:

bash
# View locallyyarn list-tools --detail
# Generate documentationyarn list-tools --export --toc > docs/tools/api-reference.md

See the Full API Reference for the auto-generated tool documentation.

Docker

bash
# HTTP modedocker run -e PORT=3002 -e GITLAB_TOKEN=your_token -p 3333:3002 \  ghcr.io/structured-world/gitlab-mcp:latest
# stdio modedocker run -i --rm -e GITLAB_TOKEN=your_token \  ghcr.io/structured-world/gitlab-mcp:latest

Connection Resilience

The server handles GitLab connectivity issues gracefully:

  • Bounded startup — Server starts within GITLAB_INIT_TIMEOUT_MS (default 5s) regardless of GitLab availability
  • Disconnected mode — When GitLab is unreachable (disconnected/failed state), only the manage_context tool is exposed, with local actions such as whoami, switch_preset, and set_scope for diagnostics. During active reconnect (connecting state), the full tool list remains available so MCP clients don't lose their tool catalog during brief outages. MCP clients are notified of tool availability changes via tools/list_changed
  • Auto-reconnect — Exponential backoff reconnection (5s → 60s) with ±10% jitter
  • Error classification — Transient errors (network, 5xx, timeouts) trigger auto-reconnect. Auth/config errors at startup transition to failed state (no auto-reconnect). Mid-session token revocation is detected via an authenticated HEAD /api/v4/user check that runs alongside each periodic health check (static token mode only; skipped in OAuth mode). A 401 or 403 on this check transitions the instance to failed state immediately.
  • Instance health monitor — Each monitored instance URL has its own XState state machine. Untracked OAuth URLs currently pass through as reachable.
VariableDefaultDescription
GITLAB_INIT_TIMEOUT_MS5000Max time to wait for GitLab during startup
GITLAB_RECONNECT_BASE_DELAY_MS5000Initial reconnect delay (doubles each attempt)
GITLAB_RECONNECT_MAX_DELAY_MS60000Maximum reconnect delay
GITLAB_HEALTH_CHECK_INTERVAL_MS60000Health check interval when connected
GITLAB_FAILURE_THRESHOLD3Consecutive transient failures before disconnecting
GITLAB_TOOL_TIMEOUT_MS120000Max time for tool/bootstrap execution before timeout
GITLAB_RESPONSE_WRITE_TIMEOUT_MS10000Max time to flush a non-SSE response before destroying zombie connection (0 to disable; SSE uses heartbeat)
GITLAB_INSTANCE_CACHE_MAX100Max number of per-URL instance states kept in memory (OAuth multi-tenant; LRU eviction when exceeded)
GITLAB_INSTANCE_TTL_MS3600000TTL for idle per-URL instance states in ms; evicted on next insert (OAuth multi-tenant)

Feature Flags

FlagDefaultTools Enabled
USE_LABELStrueLabel management
USE_MRStrueMerge requests
USE_FILEStrueFile operations
USE_VARIABLEStrueCI/CD variables
USE_WORKITEMStrueIssues, epics, tasks
USE_WEBHOOKStrueWebhook management
USE_SNIPPETStrueCode snippets
USE_INTEGRATIONStrue50+ integrations
USE_GITLAB_WIKItrueWiki pages
USE_MILESTONEtrueMilestones
USE_PIPELINEtruePipelines & CI/CD
USE_RELEASEStrueRelease management
USE_REFStrueBranch & tag management
USE_MEMBERStrueTeam members
USE_SEARCHtrueCross-project search
USE_ITERATIONStrueIteration planning (sprints)
USE_CI_TOKENStrueCI access credentials: job token scope and deploy keys
USE_ENVIRONMENTStrueEnvironments and deployments
USE_RUNNERStrueCI runner management
USE_REGISTRYtrueContainer registry repositories and tags
USE_ACCESS_TOKENStrueProject/group/personal access token management
USE_AUDIT_EVENTStrueAudit events (Premium+)
USE_VULNERABILITIEStrueVulnerability management (Ultimate)

Contributing

See CONTRIBUTING.md for development setup, testing, and PR guidelines.

Support the Project

[USDT TRC-20 Donation QR Code]

USDT (TRC-20): TFDsezHa1cBkoeZT5q2T49Wp66K8t2DmdA

License

Apache License 2.0 — see LICENSE for details.

Based on zereight/gitlab-mcp (MIT). See LICENSE.MIT.

来源:README.md,提交 0a0eb24

工具

66

browse_projects

Browse projects

Find, list, or inspect GitLab projects. Actions: search (find by name/topic across GitLab), list (browse accessible projects or group projects), get (retrieve full project details). Related: manage_project to create/update/delete projects.

输入参数qpagesortownedaction必填activesearchsimplelicensestarredarchivedgroup_id另有 11 个

browse_namespaces

Browse namespaces

Explore GitLab groups and user namespaces. Actions: list (discover available namespaces), get (retrieve details with storage stats), verify (check if path exists). Related: manage_namespace to create/update/delete groups.

输入参数pageaction必填searchper_page必填owned_onlynamespace_idtop_level_onlywith_statisticsmin_access_level

browse_commits

Browse commits

Explore repository commit history and diffs. Actions: list (browse commits with filters), get (retrieve commit metadata and stats), diff (view code changes). Related: browse_refs for branch/tag info.

输入参数allshapagepathordersincestatsuntilaction必填authorunidiffper_page必填另有 5 个

browse_events

Browse events

Track GitLab activity and events. Actions: user (your activity across all projects), project (specific project activity feed). Filter by date range, action type, or target type.

输入参数pagesortafteraction必填beforeper_page必填project_idtarget_typeevent_action

browse_users

Browse users

Find GitLab users with smart pattern detection. Actions: search (find users by name/email/username with transliteration support), get (retrieve specific user by ID). Related: browse_members for project/group membership.

输入参数pageaction必填activehumanssearchblockeduser_idexternalper_page必填usernamepublic_emailsmart_search另有 7 个

browse_todos

Browse todos

View your GitLab todo queue (notifications requiring action). Actions: list (filter by state, action type, target type). Todos are auto-created for assignments, mentions, reviews, and pipeline failures. Related: manage_todos to mark done/restore.

输入参数pagetypestateaction必填group_idper_page必填author_idproject_idtodo_action

manage_project

Manage project

Create, update, or manage GitLab projects. Actions: create (new project with settings), fork (copy existing project), update (modify settings, including GitLab Duo settings such as automatic Duo code review; any Duo setting GitLab could not apply is listed in not_applied with what it requires), delete (remove permanently), restore (recover a soft-deleted project before purge), archive/unarchive (toggle read-only), transfer (move to different namespace). Related: browse_projects for discovery.

输入参数nameaction必填fork_namefork_pathnamespaceproject_idvisibilitydescriptionlfs_enabledjobs_enabledwiki_enableddefault_branch另有 20 个

manage_namespace

Manage namespace

Create, update, or delete GitLab groups/namespaces. Actions: create (new group with visibility/settings), update (modify group settings, including automatic GitLab Duo code review cascading to subgroups and projects; a Duo setting GitLab could not apply is listed in not_applied with what it requires), delete (remove permanently), restore (recover a soft-deleted group before purge; on GitLab Free needs 18.0+). Related: browse_namespaces for discovery.

输入参数namepathaction必填avatargroup_idparent_idvisibilitydescriptionlfs_enabledmembership_lockwiki_access_levelip_restriction_ranges另有 5 个

manage_todos

Manage todos

Manage your GitLab todo queue. Actions: mark_done (complete a single todo), mark_all_done (clear entire queue), restore (undo completion). Related: browse_todos to view your todo list.

输入参数id必填action必填

manage_context

Manage context

View and manage runtime session configuration. Actions: show (current host/preset/scope/mode), list_presets (available tool configurations), whoami (token introspection with live refresh - detects permission changes and updates available tools), switch_preset (change active preset), set_scope (restrict to namespace), clear_scope (work everywhere in this session, keeping its preset and read-only mode), reset (restore initial state), list_accounts (GitLab accounts of this connection, on one or several instances), switch_account (work with another listed account in this chat), link_account (sign in with another account, e.g. a personal GitLab.com account next to a company instance, and link it), unlink_account (remove a linked account). Use whoami to diagnose access issues and verify token permissions.

输入参数action必填presetaccountinstancenamespaceincludeSubgroups

get_profile

GitLab account

Identify the GitLab account this connection uses: a stable account id, display name, email when GitLab provides it, and the username with its instance.

无需输入参数。

get_settings

GitLab settings

Show this account's settings, which apply to all of its chats except where a chat chose otherwise: working preset, read-only mode, default project or group, and which tool groups are on, with what each can be set to.

无需输入参数。

update_settings

Change GitLab settings

Change this account's settings, at once for all of its chats except where a chat chose otherwise. Pass only the settings to change, by the names get_settings lists; the others keep their value. Nothing is saved when any value is invalid. Returns the saved values.

输入参数set必填

check_connection

Check connection

Check the GitLab connection: which account it uses, whether GitLab answers, the restrictions in effect, and what to do about problems.

无需输入参数。

open_settings_panel

GitLab connection panel

Open the GitLab connection panel to search projects and groups, choose where this chat or all chats of the account work, and check the connection.

无需输入参数。

find_scope_targets

Find projects and groups

Find projects you are a member of and groups you can see by name or path, to choose a working scope.

输入参数query必填

browse_labels

Browse labels

List and inspect project or group labels. Actions: list (all labels with search filtering), get (single label by ID or name). Related: manage_label to create/update/delete.

输入参数pageaction必填searchlabel_idper_page必填namespace必填with_countsinclude_ancestor_groups

manage_label

Manage label

Create, update, or delete project/group labels. Actions: create (name + hex color required), update (modify properties), delete (remove permanently). Related: browse_labels for discovery.

输入参数namecoloraction必填label_idnew_nameprioritynamespace必填description

browse_merge_requests

Browse merge requests

Find and inspect merge requests. Actions: list (filter by state/author/reviewer/labels/branch), get (MR details by IID or source branch), closing_issues (one page of native issues that close on merge), diffs (file-level changes with inline suggestions), compare (diff between any two refs), versions (list diff versions from pushes), version (get specific version with diffs). Related: manage_merge_request to create/update/merge.

输入参数intonotwipfrompagesortviewscopestateaction必填labels另有 36 个

browse_mr_discussions

Browse mr discussions

Read discussion threads and draft review notes on merge requests. Actions: list (all threads with resolution status), drafts (unpublished draft notes), draft (single draft details). Related: manage_mr_discussion to comment, manage_draft_notes to create drafts.

输入参数pageaction必填per_page必填project_id必填draft_note_idmerge_request_iid必填

manage_merge_request

Manage merge request

Create, update, merge, or approve merge requests. Actions: create (new MR from source to target), update (title/description/assignees/reviewers/labels), merge (into target branch), approve/unapprove (review approval), get_approval_state (current approvals). Related: browse_merge_requests for discovery.

输入参数shatitleaction必填labelssquashadd_labelsproject_id必填assignee_iddescriptionstate_eventassignee_idsmilestone_id另有 14 个

manage_mr_discussion

Manage mr discussion

Post comments, start threads, and suggest code changes on merge requests. Actions: comment (simple note), thread (line-level discussion), reply (to existing thread), update (edit note text), resolve (toggle thread resolution), suggest (code suggestion block), apply_suggestion/apply_suggestions (accept code suggestions). Related: browse_mr_discussions to read threads.

输入参数body必填action必填commentnote_idpositionresolvedcommit_idcreated_atproject_id必填suggestionlines_abovelines_below另有 8 个

manage_draft_notes

Manage draft notes

Create and manage unpublished review comments on merge requests. Actions: create (new draft), update (modify text), publish (make single draft visible), publish_all (submit entire review), delete (discard draft). Related: browse_mr_discussions action 'drafts' to list existing drafts.

输入参数note必填action必填positioncommit_idproject_id必填draft_note_idmerge_request_iid必填in_reply_to_discussion_id

browse_files

Browse files

Explore project file structure and read source code. Actions: tree (list directory contents with recursive depth control), content (read file at specific ref/branch; UTF-8 text or base64 for binary data, with encoding and byte size), download_attachment (get uploaded file by secret+filename). Related: manage_files to create/update files.

输入参数refpagepathaction必填secretfilenameper_page必填file_pathrecursiveproject_id必填

manage_files

Manage files

Create, update, or upload repository files. Actions: single (create/update one file with commit message), batch (atomic multi-file commit), upload (add attachment returning markdown link). Related: browse_files to read existing files.

输入参数filefilesaction必填branch必填content必填encodingfilenamefile_path必填overwriteproject_id必填author_nameauthor_email另有 4 个

browse_milestones

Browse milestones

Track milestone progress with associated issues and MRs. Actions: list (filter by state/title/search), get (milestone details), issues (items in milestone), merge_requests (MRs targeting milestone), burndown (chart data for sprint tracking). Related: manage_milestone to create/update.

输入参数iidspagestatetitleaction必填searchper_page必填namespace必填milestone_idupdated_afterupdated_beforeinclude_ancestors

manage_milestone

Manage milestone

Create, update, or delete project/group milestones. Actions: create (title + optional dates/description), update (modify properties or close/activate), delete (remove permanently), promote (elevate project milestone to group). Related: browse_milestones for progress tracking.

输入参数titleaction必填due_datenamespace必填start_datedescriptionstate_eventmilestone_id

browse_pipelines

Browse pipelines

Monitor CI/CD pipelines and read job logs or individual artifact files. Actions: list (filter by status/ref/source/username), get (pipeline details), jobs (list pipeline jobs), triggers (bridge/trigger jobs), job (single job details), logs (job console output), artifact_file (bounded UTF-8 text with byte continuation). Related: manage_pipeline to trigger/retry/cancel pipelines and play/retry/cancel individual jobs.

输入参数refshanamepagesortscopestartaction必填job_idsourcestatusorder_by另有 13 个

manage_pipeline

Manage pipeline

Trigger, retry, or cancel CI/CD pipelines and individual jobs. Pipeline actions: create (run pipeline on ref with variables or typed inputs), retry (re-run failed jobs), cancel (stop running pipeline). Job actions: play_job (trigger a manual/delayed job with variables), retry_job (re-run a single job), cancel_job (stop a running job). Related: browse_pipelines actions 'job'/'logs' for job details.

输入参数ref必填forceaction必填inputsjob_idvariablesproject_id必填pipeline_idjob_variables_attributes

browse_variables

Browse variables

List and inspect CI/CD variables for projects or groups. Actions: list (all variables with pagination), get (single variable by key with environment scope filter). Related: manage_variable to create/update/delete.

输入参数keypageaction必填filterper_page必填namespace必填

manage_variable

Manage variable

Create, update, or delete CI/CD variables with environment scoping. Actions: create (key + value, set scope/protection/masking), update (modify value or settings), delete (remove permanently). Related: browse_variables for discovery.

输入参数key必填rawvalueaction必填filtermaskednamespace必填protecteddescriptionvariable_typeenvironment_scope

browse_wiki

Browse wiki

Read wiki pages in projects or groups. Actions: list (all pages with metadata), get (page content by slug). Related: manage_wiki to create/update/delete.

输入参数pageslugaction必填per_page必填namespace必填with_content

manage_wiki

Manage wiki

Create, update, or delete wiki pages. Actions: create (new page with title/content/format), update (modify content or title), delete (remove permanently). Related: browse_wiki to read pages.

输入参数slugtitleaction必填formatcontentnamespace必填

browse_work_items

Browse work items

Find and inspect issues, epics, tasks, and other work items. Actions: list (groups return epics, projects return issues/tasks, filter by type/state/labels), get (by numeric ID or namespace+iid from URL path). Related: manage_work_item to create/update/delete.

输入参数idiidafterfirst必填state必填typesaction必填simple必填namespace

manage_work_item

Manage work item

Create, update, delete, reorder, or link work items (issues, epics, tasks). Actions: create (epics need GROUP namespace, issues/tasks need PROJECT), update (widgets: dates, time tracking, weight, iterations, health, progress, hierarchy), reorder (issue card before/after other global IDs; board discovered internally), delete (permanent), delete_timelog (remove a time tracking entry by its global ID), add_link/remove_link (BLOCKS/BLOCKED_BY/RELATED). Related: browse_work_items for discovery.

输入参数idcolorstatetitleaction必填weightafterIddueDateisFixedbeforeIdlabelIdslinkType另有 20 个

browse_snippets

Browse snippets

Find and read code snippets with versioning support. Actions: list (personal/project/public scope with filtering), get (snippet metadata or raw file content). Related: manage_snippet to create/update.

输入参数idrawpagescope必填action必填per_page必填projectIdvisibilitycreated_aftercreated_before

manage_snippet

Manage snippet

Create, update, or delete code snippets with multi-file support. Actions: create (new snippet with files and visibility), update (modify content/metadata, file operations), delete (remove permanently). Related: browse_snippets for discovery.

输入参数idfilestitleaction必填projectIdvisibilitydescription

browse_webhooks

Browse webhooks

List and inspect webhook configurations for projects or groups. Actions: list (all webhooks with event types and status), get (webhook details by ID). Related: manage_webhook to create/update/delete/test.

输入参数pagescope必填action必填hookIdgroupIdper_page必填projectId

manage_webhook

Manage webhook

Create, update, delete, or test webhooks for event-driven automation. Actions: create (URL + event types + optional secret), update (modify settings), delete (remove), test (trigger delivery for specific event). Related: browse_webhooks for inspection.

输入参数urlnamescope必填tokenaction必填hookIdgroupIdtriggerprojectIdjob_eventsdescriptionnote_events另有 18 个

browse_integrations

Browse integrations

Discover active project integrations and their configuration. Actions: list (all active: Slack, Jira, Discord, Teams, Jenkins, etc.), get (specific integration settings by slug). Related: manage_integration to configure/disable.

输入参数pageaction必填per_page必填project_id必填integration

manage_integration

Manage integration

Configure or disable project integrations (50+ supported). Actions: update (enable/modify with integration-specific config), disable (deactivate integration). Note: gitlab-slack-application requires OAuth install from GitLab UI. Related: browse_integrations for discovery.

输入参数action必填activeconfigjob_eventsproject_id必填integration必填note_eventspush_eventsissues_eventspipeline_eventsreleases_eventstag_push_events另有 5 个

browse_releases

Browse releases

View project releases and asset download links. Actions: list (releases sorted by date), get (release details by tag name), assets (download link list for release). Related: manage_release to create/publish.

输入参数pagesortaction必填order_byper_pagetag_nameproject_id必填include_html_description

manage_release

Manage release

Create, update, or delete project releases with asset management. Actions: create (release from tag with notes/assets), update (modify metadata), delete (remove release, tag preserved), create_link (add asset URL), delete_link (remove asset). Related: browse_releases for discovery.

输入参数refurlnameaction必填assetslink_idtag_name必填link_typemilestonesproject_id必填descriptionreleased_at另有 2 个

browse_refs

Browse refs

Inspect branches, tags, and their protection rules. Actions: list_branches, get_branch, list_tags, get_tag, list_protected_branches, get_protected_branch, list_protected_tags (protection details and access levels). Related: manage_ref to create/delete/protect, browse_commits for commit history.

输入参数namepagesortregexaction必填branchsearchorder_byper_pagetag_nameproject_id必填

manage_ref

Manage ref

Create, delete, and protect branches and tags. Actions: create_branch (from ref), delete_branch, protect_branch (set allowed roles), unprotect_branch, update_branch_protection, create_tag (annotated or lightweight), delete_tag, protect_tag, unprotect_tag. Related: browse_refs for inspection.

输入参数ref必填nameaction必填branch必填messagetag_nameproject_id必填allowed_to_pushallow_force_pushallowed_to_mergeallowed_to_createpush_access_level另有 5 个

browse_members

Browse members

View team members and access levels in projects or groups. Actions: list_project, list_group, get_project, get_group (direct members), list_all_project, list_all_group (includes inherited). Levels: Guest(10), Reporter(20), Developer(30), Maintainer(40), Owner(50). Related: manage_member to add/remove, browse_users to find users by name.

输入参数pagequerystateaction必填user_idgroup_idper_page必填user_idsproject_id必填include_inherited

manage_member

Manage member

Add, remove, or update access levels for project/group members. Actions: add_to_project, add_to_group (with access level + optional expiry), remove_from_project, remove_from_group, update_project, update_group (change access level). Related: browse_members for current membership.

输入参数action必填user_id必填group_idexpires_atproject_id必填access_level必填member_role_idskip_subresourcesunassign_issuables

browse_iterations

Browse iterations

View group iterations for agile sprint planning. Actions: list (filter by state: current, upcoming, closed), get (retrieve specific iteration details). Related: browse_work_items for items in an iteration.

输入参数pagestateaction必填searchgroup_id必填per_page必填iteration_idinclude_ancestors

browse_job_token_scope

Browse job token scope

Inspect a project CI/CD job token inbound access scope. Actions: get (the inbound/outbound scope toggles), list_projects (projects allowed to reach this project via CI_JOB_TOKEN), list_groups (groups on the allowlist). Related: manage_job_token_scope to change the allowlist.

输入参数pageaction必填per_pageproject_id必填

manage_job_token_scope

Manage job token scope

Manage a project CI/CD job token inbound allowlist. Actions: set_enabled (turn allowlist enforcement on/off), add_project / remove_project (grant or revoke a project), add_group / remove_group (grant or revoke a group). Required to allow cross-project CI_JOB_TOKEN access once the legacy open-access mode is removed. Related: browse_job_token_scope to inspect.

输入参数action必填enabled必填project_id必填target_group_idtarget_project_id

browse_deploy_keys

Browse deploy keys

List and inspect deploy keys (SSH keys granting repo access to CI/automation). Actions: list (a project’s keys, or all instance keys when project_id is omitted — admin only), get (a single project key by ID). Related: manage_deploy_key to add/enable/update/delete.

输入参数pageaction必填key_idpublicper_page必填project_id

manage_deploy_key

Manage deploy key

Add, enable, update, or remove project deploy keys. Actions: add (register a new SSH public key with title and optional push access/expiry), enable (attach an existing key from another project), update (change title or can_push), delete (remove from this project). Related: browse_deploy_keys to inspect.

输入参数key必填titleaction必填key_idcan_pushexpires_atproject_id必填

browse_environments

Browse environments

Inspect project environments and their deployments. Actions: list (environments filtered by state/name), get (single environment with its last deployment), list_deployments (deployment history, filterable by environment and status). Related: manage_environment to create.

输入参数namepagesortaction必填searchstatesstatusorder_byper_page必填project_id必填environmentupdated_after另有 4 个

manage_environment

Manage environment

Create and control project environments and deployment status. Actions: create (new environment), update (external_url/tier/description), stop (required before delete), delete (stopped environment), update_deployment_status (set a non-pipeline deployment to running/success/failed/canceled). Related: browse_environments to list and inspect.

输入参数name必填tierforceaction必填statusproject_id必填descriptionexternal_urldeployment_idenvironment_id

browse_registry

Browse registry

Inspect the GitLab Container Registry. Actions: list_repositories (a project's image repositories), get_repository (single repository by ID), list_tags (tags of a repository), get_tag (single tag with manifest digest, size, and timestamps). Related: manage_registry to delete repositories and tags (including regex bulk cleanup).

输入参数nameafterfirstaction必填tag_nameproject_id必填repository_id

manage_registry

Manage registry

Delete GitLab Container Registry repositories and tags. Actions: delete_repository (remove a whole repository), delete_tag (remove one tag), delete_tags_bulk (regex cleanup with keep_n/older_than retention - destructive). Related: browse_registry to inspect before deleting.

输入参数action必填keep_ntag_nameolder_thanrepository_id必填name_regex_keepname_regex_delete

browse_access_tokens

Browse access tokens

Inspect access tokens (CI/automation credentials). Actions: list_personal (the current user's PATs; admins may filter by user_id), list_project / list_group (a project's or group's tokens), get (a single token by ID - pass project_id or group_id for project/group tokens, neither for personal). Related: manage_access_token to create.

输入参数pagestateaction必填searchrevokeduser_idgroup_idper_page必填token_idproject_id

manage_access_token

Manage access token

Create, rotate, or revoke access tokens. Actions: create_project / create_group (issue a new token with name + scopes, returns the value once), rotate (revoke the old token and return a new value), revoke (delete a token permanently). For rotate/revoke pass project_id or group_id for project/group tokens, neither for personal. Related: browse_access_tokens to discover token IDs.

输入参数name必填action必填scopes必填group_idtoken_idexpires_atproject_idaccess_level

browse_runners

Browse runners

Inspect CI runners. Actions: list_all (every runner on the instance - admin), list_owned (the current user's runners), list_project / list_group (runners available to a project/group), get (single runner by ID), list_jobs (jobs a runner has executed). Related: manage_runner to register.

输入参数typeafterfirstaction必填pausedsearchstatusgroup_idstatusestag_listrunner_idproject_id

manage_runner

Manage runner

Register and control CI runners. Actions: create_authentication_token (register a runner, GitLab 16+, returns a one-time token), update (settings), pause/resume (toggle job pickup), delete, reset_authentication_token (rotate the token). Related: browse_runners to discover runners.

输入参数action必填lockedpausedgroup_idtag_listrunner_idproject_iddescriptionrunner_type必填access_levelrun_untaggedmaximum_timeout另有 1 个

browse_audit_events

Browse audit events

Inspect audit events: the immutable record of who did what, when. Actions: list_instance (instance-wide, admin-only), list_group / list_project (a group or project audit trail), get (a single event by ID - pass project_id or group_id for group/project events, neither for an instance event). Premium/Ultimate feature; there is no write counterpart because audit events cannot be modified.

输入参数pageaction必填group_idper_page必填entity_idproject_identity_typecreated_afteraudit_event_idcreated_before

browse_vulnerabilities

Browse vulnerabilities

Inspect security vulnerabilities (Ultimate). Actions: list (a project, a group, or the whole instance when neither id is given; filter by state, severity, report_type), get (a single vulnerability by ID with full detail). Related: manage_vulnerability to dismiss.

输入参数sortafterfirststateaction必填group_idseverityproject_idreport_typevulnerability_id

manage_vulnerability

Manage vulnerability

Drive the vulnerability state machine (Ultimate). Actions: dismiss (with optional dismissal_reason + comment), confirm (genuine finding), resolve (fixed), revert (back to detected). Related: browse_vulnerabilities to discover vulnerability IDs.

输入参数action必填commentdismissal_reasonvulnerability_id必填

browse_duo_sessions

Browse duo sessions

Discover and inspect GitLab Duo sessions. Actions: agents_and_flows (project catalog and foundational agents; keep paging even after an empty filtered page), list (your sessions, optionally in a project), get (progress, pending input, latest answer and created objects). Reads do not start Duo or consume execution credits. Related: manage_duo_session.

输入参数afterfirst必填action必填item_typeproject_idworkflow_id

manage_duo_session

Manage duo session

Run GitLab Duo asynchronously in CI. Actions: start (select an enabled flow, configured consumer or foundational agent discovered in the project), send_input (answer, approve or reject a waiting session after its CI job finishes). Both actions can change repositories, create objects and consume credits. Execute only when the user requested the operation. Never automatically replay a timed-out or disconnected command; inspect sessions first.

输入参数flowgoal必填agentaction必填project_id必填consumer_idworkflow_idhuman_messagehuman_approval

版本历史

12
  1. v13.2.0Nov 5, 2026
  2. v13.1.0Nov 1, 2026
  3. v13.0.0Oct 31, 2026
  4. v12.1.0Oct 30, 2026
  5. v12.0.3Oct 29, 2026
  6. v12.0.1Oct 26, 2026
  7. v12.0.0Oct 25, 2026
  8. v11.0.0Oct 16, 2026
  9. v10.1.0Oct 9, 2026
  10. v10.0.1Sep 25, 2026
  11. v10.0.0Sep 25, 2026
  12. v9.1.4Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Gitlab 集成