gitlab-mcp
Use this skill when working with the GitLab MCP server tools for merge requests, issues, repositories, pipelines, work items,…
Use GitLab from the terminal without registering an MCP server. Covers authenticating the zereight-mcp-gitlab CLI (PAT or OAuth device flow) and reading merge requests, diffs, discussions, issues, and pipelines. Use when the user asks about a GitLab MR/issue/pipeline and no
Claude Code
$ npx -y skills add zereight/gitlab-mcp --skill gl-cli --agent claude-code
Codex
$ npx skills add zereight/gitlab-mcp --skill gl-cli -a codex -y
Cursor
$ npx skills add zereight/gitlab-mcp --skill gl-cli -a cursor -y
Gemini CLI
$ npx skills add zereight/gitlab-mcp --skill gl-cli -a gemini-cli -y
GitHub Copilot
$ npx skills add zereight/gitlab-mcp --skill gl-cli -a github-copilot -y
OpenCode
$ npx skills add zereight/gitlab-mcp --skill gl-cli -a opencode -y
Windsurf
$ npx skills add zereight/gitlab-mcp --skill gl-cli -a windsurf -y
name: gl-cli description: Use GitLab from the terminal without registering an MCP server. Covers authenticating the zereight-mcp-gitlab CLI (PAT or OAuth device flow) and reading merge requests, diffs, discussions, issues, and pipelines. Use when the user asks about a GitLab MR/issue/pipeline and no GitLab MCP tools are available, or wants CLI-only setup.
`zereight-mcp-gitlab` (alias `mcp-gitlab`) is both the MCP server and a GitLab CLI. Run it with a command and it prints the result and exits. No MCP client is involved.
Full guide: `docs/getting-started/cli-without-mcp.md`.
Run this before anything else and read the result:
zereight-mcp-gitlab user whoami
Never invent, guess, or echo a token. Ask the user to run the command themselves, since it needs their secret.
**A. Personal Access Token** (fastest; scope `read_api`, or `api` to write)
read -rs GITLAB_PERSONAL_ACCESS_TOKEN && export GITLAB_PERSONAL_ACCESS_TOKEN export GITLAB_API_URL=https://gitlab.example.com/api/v4 # omit for gitlab.com
`GITLAB_PERSONAL_ACCESS_TOKEN_FILE` can point at a token file instead. The process reads it once at startup and trims surrounding whitespace. If `GITLAB_PERSONAL_ACCESS_TOKEN` is already non-empty, the file is ignored and a warning is written to stderr.
**B. OAuth device flow** (needs a GitLab OAuth application ID)
export GITLAB_OAUTH_CLIENT_ID=YOUR_APP_ID zereight-mcp-gitlab auth # open the printed URL, enter the code export GITLAB_USE_OAUTH=true # needed on every later CLI call
Do not pass the token with `--token`; arguments are visible in `ps`.
| Goal | Command | | --- | --- | | List open MRs | `mr list --project-id <path\|id> --state opened` | | MR summary | `mr view --project-id <p> --mr-iid <n>` | | Changed file paths only | `mr files --project-id <p> --mr-iid <n>` | | Full diff | `mr diff --project-id <p> --mr-iid <n>` | | Review threads | `mr discussions --project-id <p> --mr-iid <n>` | | MR pipelines | `mr pipelines --project-id <p> --mr-iid <n>` | | Approval state | `mr approvals --project-id <p> --mr-iid <n>` | | Anything else | `tool <tool_name> --project-id <p> --args-json '{...}'` |
Prefix every command with `zereight-mcp-gitlab`. Add `--output json` when parsing the result. For large MRs use `mr files` first, then diff only the files you need.
Never use placeholders like `<project>` or `42` from this table in a real call. If the project or MR number is missing, get it from the user, or discover it with `mr list` or `git remote -v`.
For the MCP tool catalog and workflows, use the `gitlab-mcp` skill. This skill is the CLI route only.
📖 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.
Use this skill when working with the GitLab MCP server tools for merge requests, issues, repositories, pipelines, work items,…
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…
Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…
Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…
小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…