Skip to content
MCP Servers
Skill

/gitlab-mcp

Use this skill when working with the GitLab MCP server tools for merge requests, issues, repositories, pipelines, work items, variables, dependency proxy, vulnerabilities, webhooks, search, CI catalog, and related GitLab workflows.

From plugin
gitlab-mcp
2.1k2 skills

Claude Code

$ npx -y skills add zereight/gitlab-mcp --skill gitlab-mcp --agent claude-code

SKILL.md

gitlab-mcp.SKILL.md
name: gitlab-mcp-skill
description: Use this skill when working with the GitLab MCP server tools for merge requests, issues, repositories, pipelines, work items, variables, dependency proxy, vulnerabilities, webhooks, search, CI catalog, and related GitLab workflows.

gitlab-mcp

GitLab MCP server providing 290 tools: 287 tools across 24 toolsets, plus `execute_graphql`, the always-available `discover_tools` meta-tool, and `help`.

For exact generated parameter tables, see `docs/tools/`. Use this file for workflow shape and high-signal parameter hints.

Toolsets

| Toolset | Default | Enable with | |---|---|---| | core (38 tools) | yes | default lean starter set | | merge_requests (46 tools) | no | `GITLAB_TOOLSETS=merge_requests` | | issues (27 tools) | no | `GITLAB_TOOLSETS=issues` | | repositories (7 tools) | no | `GITLAB_TOOLSETS=repositories` | | branches (16 tools) | no | `GITLAB_TOOLSETS=branches` | | projects (20 tools) | no | `GITLAB_TOOLSETS=projects` | | labels (5 tools) | no | `GITLAB_TOOLSETS=labels` | | ci (4 tools) | no | `GITLAB_TOOLSETS=ci` | | groups (1 tool) | no | `GITLAB_TOOLSETS=groups` | | users (7 tools) | no | `GITLAB_TOOLSETS=users` | | pipelines (58 tools) | no | `GITLAB_TOOLSETS=core,pipelines` (deprecated `USE_PIPELINE`; if `GITLAB_TOOLS` is unset, set `GITLAB_TOOLS=validate_ci_lint,validate_project_ci_lint`, otherwise append those tools instead of replacing the list) | | milestones (17 tools) | no | `GITLAB_TOOLSETS=core,milestones` (deprecated `USE_MILESTONE`) | | wiki (10 tools) | no | `GITLAB_TOOLSETS=core,wiki` (deprecated `USE_GITLAB_WIKI`) | | releases (7 tools) | no | `GITLAB_TOOLSETS=releases` | | tags (9 tools) | no | `GITLAB_TOOLSETS=tags` | | snippets (5 tools) | no | `GITLAB_TOOLSETS=snippets` | | workitems (18 tools) | no | `GITLAB_TOOLSETS=workitems` | | webhooks (6 tools) | no | `GITLAB_TOOLSETS=webhooks` | | search (3 tools) | no | `GITLAB_TOOLSETS=search` | | variables (10 tools) | no | `GITLAB_TOOLSETS=variables` | | dependency_proxy (4 tools) | no | `GITLAB_TOOLSETS=dependency_proxy` | | vulnerabilities (4 tools) | no | `GITLAB_TOOLSETS=vulnerabilities` | | orbit (4 tools) | no | `GITLAB_TOOLSETS=orbit` | | api (1 tool) | no | `GITLAB_TOOLSETS=api` only (not `all`, not `discover_tools`, not `GITLAB_TOOLS`) |

Prefer `discover_tools` to list and activate an opt-in category for this session (except `api`). Session-only; with `OAUTH_STATELESS_MODE=true` persist a named `GITLAB_TOOLSETS` list (include `core` to keep the default set). `GITLAB_TOOLSETS=all` loads every discoverable toolset except `api` and costs ~73k schema tokens — avoid it. Restore the pre-lean default with `GITLAB_TOOLSETS=merge_requests,issues,repositories,branches,projects,labels,ci,groups,users`. Use `GITLAB_TOOLS` to enable individual tools outside their toolset, except explicit-only tools such as `gitlab_api_request`. `execute_graphql` is not in a toolset; enable it explicitly with `GITLAB_TOOLS=execute_graphql`. `USE_GITLAB_WIKI`, `USE_MILESTONE`, and `USE_PIPELINE` are deprecated (removed in next major (v3.0.0)). If you already set `GITLAB_TOOLSETS`, append the toolset to your existing list instead of replacing it. If `GITLAB_TOOLS` is unset, set `GITLAB_TOOLS=validate_ci_lint,validate_project_ci_lint`. If it is already set, append those two tools instead of replacing that list.

`gitlab_api_request` bypasses `GITLAB_ALLOWED_GROUPS` and other group restrictions, project allowlists, tool-level restrictions (`GITLAB_TOOLS`, `GITLAB_DENIED_TOOLS_REGEX` on other tools), and individual tool safety checks. The full token permission scope is exposed. Prompt injection can drive this tool. Operators who rely on these restrictions must NOT enable it. With `GITLAB_ALLOWED_PROJECT_IDS` or a session project scope, only `/projects/:id` paths for an allowed project are accepted; `/search`, `/users`, `/groups/:id`, `/runners`, and other paths are rejected. Body and query parameters that name another project are not checked. `GITLAB_PROJECT_ID` and OAuth group allowlists are not enforced.

The per-toolset counts above sum to 327 because the 38 `core` tools are each also listed in their full category (`get_branch` and `list_branches` additionally appear in both `merge_requests` and `branches`); the unique tool count across all toolsets is 287.

Key Workflows

Code Review (see reference/code-review.md)

1. `list_merge_request_changed_files` - get file paths only (no diffs) 2. `get_merge_request_file_diff` - get diffs for 3-5 files per call (batch) 3. `create_merge_request_thread` or `create_draft_note` - leave review comments 4. `bulk_publish_draft_notes` - publish all drafts at once

MR Lifecycle (see reference/merge-requests.md)

`create_merge_request` -> review -> `approve_merge_request` -> `merge_merge_request`

Issue Management (see reference/issues.md)

`create_issue` -> `create_issue_link` -> `create_issue_note` -> `update_issue`

Use `update_issue_description_patch` for small edits to long issue descriptions instead of resending the full body.

Board order: `reorder_issue` with `move_after_id` / `move_before_id` (the neighbor issue's global `id`, not its `iid`).

History: `list_issue_label_events` / `list_issue_state_events` for label and state changes over time (flow of label-based board columns).

Projects & Namespaces

  • `get_project`, `list_projects`, `update_project` - inspect or change project settings
  • `list_project_members`, `list_group_members` - search members by name or username within a project or group
  • `list_namespaces`, `get_namespace`, `verify_namespace` - find target namespaces before creating projects/groups
  • `list_group_iterations`, `get_group_iteration`, `update_group_iteration`, `create_group_iteration`, `delete_group_iteration` - list, fetch, update, create, or delete a group iteration
  • `list_project_iterations` - list iterations available to a project
  • `list_group_iteration_cadences`, `create_group_iteration_cadence`, `u
Read more
@zereight
Ships withgitlab-mcp

📖 Documentation → · llms.txt · llms-full.txt Default: 40 tools (38 core + discover_tools + help). 290 tools exist in total (287 in toolsets + execute_graphql + discover_tools + help). Start lean; call discover_tools to activate more for this session.

Stars on GitHub

Momentum

stars in total
2.1k
Star history of zereight/gitlab-mcp on GitHub, a chart by star-history.com

Other skills on gitlab-mcp.

gl-cli

gl-cli

Use GitLab from the terminal without registering an MCP server. Covers authenticating the zereight-mcp-gitlab CLI (PAT or OAuth…

@zereight@zereightInstall Skill

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp3d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp3d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about gitlab-mcp.

Which coding agents can use gitlab-mcp?
gitlab-mcp installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.