Skip to content
Agentmart
Submit a tool

gitlab-mcp-verification

Authoritative verification for @zereight/mcp-gitlab — mock GitLab, stdio MCP tool calls, npm test harness.

Skill by zereight

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/zereight-gitlab-mcp-verification

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Authoritative verification for @zereight/mcp-gitlab — mock GitLab, stdio MCP tool calls, npm test harness. Use when proving the MCP server works, after tool/auth/transport changes, or before claiming a GitLab MCP fix is done. Triggers on verify gitlab mcp, health_check proof, mock drive, or maintainer behavioral verify. Read references/ before driving.

Use cases: backend, testing, security, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gitlab-mcp-verification

What's inside

Skill name
gitlab-mcp-verification
Description
Authoritative verification for @zereight/mcp-gitlab — mock GitLab, stdio MCP tool calls, npm test harness. Use when proving the MCP server works, after tool/auth/transport changes, or before claiming a GitLab MCP fix is done. Triggers on verify gitlab mcp, health_check proof, mock drive, or maintainer behavioral verify. Read references/ before driving.
License
MIT
Metadata
style: launch-doctor-drive-evidence · target: zereight/gitlab-mcp · version: 1.1.0
Instructions
174 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (10)

  • README.md
  • SKILL.md
  • README.md · references/
  • health-check-mock.md · references/
  • list-issues-mock.md · references/
  • list-tools-mock.md · references/
  • cleanup-run.sh · scripts/
  • doctor.sh · scripts/
  • drive-health-check-mock.sh · scripts/
  • drive-health-check-mock.ts · scripts/

SKILL.md (first lines)

# GitLab MCP Verification

Agent-oriented verification for **zereight/gitlab-mcp**. The "user" is an MCP
client calling tools; proof is JSON tool results, exit codes, and test logs — not
a browser.

**Feature recipes:** `references/` next to this file

This skill is **global** — it lives outside the repo and verifies whatever clone
the working directory points at. Nothing in the repo needs to reference it.

## Repo resolution

Every script resolves the target clone the same way:

1. `GITLAB_MCP_REPO_ROOT` when set.
2. Otherwise `git rev-parse --show-toplevel` from the current directory.
3. Otherwise the current directory.

Doctor fails fast when the resolved root has no `@zereight/mcp-gitlab`
`package.json`, so a wrong root never looks like a product failure.

```bash
SKILL="$HOME/.agents/skills/gitlab-mcp-verification"
cd ~/Documents/gitlab-mcp   # any clone works
```

## Launch

1. Match Node: `nvm use` (see `.nvmrc`, currently Node 22.x).
2. Build once per verification run (or when `build/index.js` is stale):

   ```bash
   npm run build
   ```

3. **Mock-backed drives** start their own `MockGitLabServer` on an ephemeral port
   (`findMockServerPort()`). No long-lived MCP server is required for the default
   recipes; each drive spawns `node build/index.js` for stdio JSON-RPC (see
   `test/test-health-check.ts`).

4. **Live GitLab drives** (optional, destructive/read-only per tool) need
   `GITLAB_TOKEN_TEST` or `GITLAB_TOKEN` and `TEST_PROJECT_ID` — only when a
   reference file explicitly says `live`. Prefer mock recipes first.

**Ready signal:** `doctor` exits 0. For tool drives, mock server log line
`Mock GitLab API listening` then JSON `status: "ok"` for `health_check`.

**Teardown:** Mock drives call `mockGitLab.stop()` in `finally`. Never
`pkill zereight-mcp-gitlab` or kill by binary name — only stop processes this run
spawned (mock HTTP server PID, short-lived stdio child).

## Doctor

Read-only preflight. Run from the repo clone:

```bash
bash "$SKILL/scripts/doctor.sh"
```

Requires:

- resolved root is a `@zereight/mcp-gitlab` clone
- `node` satisfies `engines.node` in `package.json`
- `build/index.js` exists (script prints `npm run build` hint if missing)
- `tsx` available via devDependencies (`npm install` done)
- No write to GitLab

If doctor fails, fix build/install before any drive.

## Drive

Default harness: **stdio MCP** + **mock GitLab** (same pattern as
`test/test-health-check.ts`, `test/clients/stdio-client.ts`).

Before driving:

1. Run **doctor**.
2. Open `references/README.md` and pick the feature ID.
3. Set a disposable run id:

   ```bash
   export GITLAB_MCP_VERIFY_RUN_ID="${GITLAB_MCP_VERIFY_RUN_ID:-$(date +%s)}"
   export GITLAB_MCP_VERIFY_ARTIFACTS="${GITLAB_MCP_VERIFY_ARTIFACTS:-$HOME/.agents/verify-artifacts/gitlab-mcp-verification/${GITLAB_MCP_VERIFY_RUN_ID}}"
   mkdir -p "$GITLAB_MCP_VERIFY_ARTIFACTS"
   ```

**Bundled drives** (repo clone = CWD):

| Feature ID | Command |
|------------|---------|
| `health-check-mock` | `bash "$SKILL/scripts/drive-health-check-mock.sh"` |
| `mock-suite-smoke` | `npm run test:mock` (full mock/unit suite; slower) |

Prefer **one reference file** per proof unless the user asked for full CI parity.

Stable handles:

- Tool names: exact registry strings (`health_check`, `list_issues`, …)
- Mock token: `glpat-mock-token-12345` (see `test/test-health-check.ts`)
- Env: `GITLAB_API_URL`, `GITLAB_PERSONAL_ACCESS_TOKEN`, `GITLAB_TOOLSETS`

Do not drive a shared developer stdio session while verification runs; mock
ports are per-run.

## Evidence

Artifacts default **outside the repo** at
`~/.agents/verify-artifacts/gitlab-mcp-verification/<run-id>/` so a clone stays
clean. Point `GITLAB_MCP_VERIFY_ARTIFACTS` at the repo only when a PR wants
in-repo proof (then ignore that path locally).

| Artifact | Contents |
|----------|----------|
| `doctor.log` | doctor stdout/stderr |
| `health-check.json` | Parsed `health_check` tool payload |
| `health-check.meta.json` | run id, git HEAD, package version |

**Proof standards**

From zereight/skill, MIT.

More from zereight/skill

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 6, 2026 (22 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from zereight

Cite this page

gitlab-mcp-verification skill. Agent Mart. https://agentmart.dev/skills/zereight-gitlab-mcp-verification (last updated 2026-10-24)