glab-mcp — Claude Code skill: what it does, how to install
Guidance on the deprecated glab CLI MCP server. Helps maintain legacy stdio setups and plan migrations to the GitLab MCP Server.
MIT 124 installs ★ 51 updated 2026-10-20
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a claude-codeWhat glab-mcp does
This skill documents the legacy behavior of glab mcp and glab mcp serve. Upstream GitLab CLI maintainers marked this implementation experimental and deprecated, directing users to the standalone GitLab MCP Server while tracking feedback in work item 8618.
It details how the stdio transport executes. The glab mcp serve process automatically enables JSON output without requiring CLI flags. Commands lacking explicit MCP annotations do not register as tools, which prevents unannotated operations from appearing in agent tool manifests.
Because upstream officially deprecated glab mcp serve, this skill is unsuitable for starting new integrations. Use it specifically to debug schema nuances, such as passing parent flags like --repo via normalized schema keys.
What it helps with
- inspect deprecated
glab mcp servestdio transport behavior - pass inherited flags like
--repousing normalized schema names - plan transitions from built-in CLI servers to GitLab MCP Server
Example prompts for the agent
- Explain why a specific GitLab CLI command is missing from glab mcp tools
- How should I structure the
--repoflag in the glab mcp tool schema? - Show how to transition from
glab mcp serveto the official GitLab MCP Server
How to install glab-mcp
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a claude-code2Manually: put the files in place
~/.claude/skills/glab-mcp/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/glab-mcp/
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a codex2Manually: put the files in place
.agents/skills/glab-mcp/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a cursor2Manually: put the files in place
.cursor/skills/glab-mcp/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vince-winkintel/gitlab-cli-skills glab-mcp2Manually: put the files in place
.github/skills/glab-mcp/SKILL.md1Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a gemini-cli2Platform CLI
gemini skills install https://github.com/vince-winkintel/gitlab-cli-skills --path glab-mcpManually: put the files in place
.devin/skills/glab-mcp/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about glab-mcp
How to install glab-mcp in Claude Code?
Run npx skills add vince-winkintel/gitlab-cli-skills --skill glab-mcp -a claude-code.
What does glab-mcp do?
It gives the assistant documentation on legacy glab mcp stdio behavior, unannotated command filtering, and flag inheritance.
Is glab mcp recommended for new workflows?
No. Upstream deprecated glab mcp and recommends adopting the dedicated GitLab MCP Server instead.
Source text
SKILL.md · MIT
---
name: glab-mcp
description: Deprecated glab MCP server compatibility guidance. For new AI assistant integrations use the GitLab MCP Server (https://docs.gitlab.com/user/model_context_protocol/mcp_server/) instead. Use this skill only when maintaining or migrating existing glab mcp serve integrations. Triggers on deprecated glab MCP, Model Context Protocol, glab mcp serve migration.
---
# glab mcp
## Deprecation
`glab mcp` and `glab mcp serve` are deprecated. Upstream directs users to the [GitLab MCP Server](https://docs.gitlab.com/user/model_context_protocol/mcp_server/) and collects feedback in [work item 8618](https://gitlab.com/gitlab-org/cli/-/work_items/8618). Existing stdio behavior is documented below for compatibility; do not treat it as a recommended new integration. Help output may omit the runtime deprecation warning.
## Overview
> Capture key `d43ccacec`: checksum-verified macOS arm64 release binary, source commit `d43ccacecb043b0c060dd13224cf993140db6c2b`, binary archive SHA-256 `04aad4d989d98cb030318e09359f02e0ba2637ede682ec0dee1f5974dedd44c1`. Marked help preserves all renderer output except trailing spaces/tabs; unmarked blocks retain their stated older provenance.
> Capture `d43ccacec` (key above).
```text
Manage Model Context Protocol server features for GitLab integration.
The MCP server exposes GitLab features as tools for use by
AI assistants (like Claude Code) to interact with GitLab projects, issues,
merge requests, pipelines, and other resources.
This feature is an experiment and is not ready for production use.
It might be unstable or removed at any time.
For more information, see
https://docs.gitlab.com/policy/development_stages_support/.
USAGE
glab mcp <command> [--flags]
EXAMPLES
glab mcp serve
COMMANDS
serve Start a MCP server with stdio transport. (EXPERIMENTAL)
FLAGS
-h --help Show help for this command.
```
## Quick start
```bash
glab mcp --help
```
## Current behavior
### Auto-enabled JSON output
`glab mcp serve` automatically enables JSON output format when running — no manual flag needed. This improves parsing reliability for AI assistants consuming the MCP server's tool responses.
### Unannotated commands excluded
Commands that lack MCP annotations are not registered as MCP tools. This means only explicitly supported commands are exposed to AI assistants, reducing noise and improving reliability. If a GitLab operation you expect isn't available as an MCP tool, it may lack MCP annotations.
### Inherited flags advertised
MCP tool schemas include visible inherited flags accepted from parent commands, such as `--repo` on project-scoped operations. Pass these through the tool's `flags` object using the schema's underscore-normalized names (for example, `repo`); do not assume a flag is unavailable merely because it is registered on a parent command.
## Subcommands
See [references/commands.md](references/commands.md) for full `--help` output.
© vince-winkintel · MIT · vince-winkintel/gitlab-cli-skills