gitlab-mcp-server: Skill for Claude Code

.github/skills/create-mcp-tool/SKILL.md

create-mcp-tool is a skill for Claude Code, Codex from jmrplens/gitlab-mcp-server. It costs 52 tokens per session (6,806 once invoked), scanned A, original, MIT.

A development workflow for adding a new MCP tool, an interface that lets an AI client call a server function backed by a GitLab API endpoint.

In plain words
What is it for?
Use it when adding a new GitLab REST or GraphQL operation to a Go MCP server.
Why use it?
It provides the project-specific pieces needed for a complete tool, including the handler, metadata, output formatting, tests, and documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

This is jmrplens/gitlab-mcp-server's own configuration. It tells Claude Code and Codex how to work on gitlab-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gitlab-mcp-server configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go test -tags e2e -c -o /dev/null ./test/e2e/gitlab/....

Reuse

Borrowing it

Nothing to install: this file belongs to jmrplens/gitlab-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jmrplens/gitlab-mcp-server/main/.github/skills/create-mcp-tool/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jmrplens/gitlab-mcp-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-mcp-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/create-mcp-tool/github.svg)](https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/create-mcp-tool)
Your own site
<a href="https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/create-mcp-tool"><img src="https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/create-mcp-tool/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-mcp-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmrplens/gitlab-mcp-server/create-mcp-tool"><img src="https://agentmods.dev/badge/skills/jmrplens/gitlab-mcp-server/create-mcp-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,806 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 377
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.06806
Opus 5.5 $0.00021 $0.02722
Sonnet 5.5 $0.00010 $0.01361
Haiku 4.5 $0.00005 $0.00681

Measured 20d ago against content hash df5e8458a7be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-mcp-tool scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/create-mcp-tool/SKILL.md · 442 lines

How it starts

The opening of the file, as written. The whole thing — 442 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create MCP Tool — GitLab

Step-by-step workflow for creating a new MCP tool that wraps a GitLab REST/GraphQL API endpoint.

Prerequisites

  • Identify the GitLab API endpoint(s) (REST v4 or GraphQL)
  • Confirm the client-go library supports the endpoint — if not, consider the upstream-contribution skill
  • Decide the domain name (e.g., tags, branches, pipelines)

File Structure

Create a new sub-package under internal/tools/{domain}/:

{domain}/
├── doc.go              # Package comment (the one `// Package {domain} ...` comment)
├── {domain}.go         # Input/Output structs + handler logic
├── action_specs.go     # Canonical ActionSpec route metadata
├── markdown.go         # Markdown formatters + init() registry
├── shapes.go           # Optional: nested output shapes mirrored from client-go sub-objects
└── {domain}_test.go    # Tests with httptest (plus action_specs_test.go, markdown_test.go as needed)

A multi-word domain separates the words with underscores in its file names only: merge_requests.go and merge_requests_test.go in package mergerequests. Go's convention and the stylecheck/revive naming rules refuse underscores in a package identifier, and the directory follows the package.

Every file opens with the copyright and license header and a blank line, as in the templates below, doc.go and the test files included; make check-file-headers fails a file without it and make fix-file-headers writes it (Copyright and License Headers).

Step 1: Define Input/Output Structs

In {domain}.go:

// Copyright (c) 2026 José M. Requena Plens
// SPDX-License-Identifier: MIT

package {domain}

import "github.com/jmrplens/gitlab-mcp-server/v3/internal/toolutil"

type ListInput struct {
    toolutil.PaginationInput
    toolutil.KeysetPaginationInput // only when the endpoint supports keyset pagination
    ProjectID toolutil.StringOrInt `json:"project_id" jsonschema:"Project ID or URL-encoded path,required"`
}

type Output struct {
    toolutil.HintableOutput
    ID     int    `json:"id"`
    Name   string `json:"name"`
    WebURL string `json:"web_url"`
}

type ListOutput struct {
    toolutil.HintableOutput
    Items      []Output                 `json:"items"`
    Pagination toolutil.PaginationOutput `json:"pagination"`
}

Read the full file on GitHub · 442 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed · +1 lines df5e8458a7be
  2. 1mo ago Changed e1942a181439
  3. 1mo ago Changed ab613b39cda8
  4. 1mo ago Changed · +18 lines 176c84b28db6
  5. 1mo ago Changed · +1 lines 67fce4a044c2
  6. 1mo ago Changed · +1 lines 5d85b4c76623
  7. 1mo ago Changed 99b8b9cfa0b6
  8. 1mo ago Changed 41dde3b4a77e
  9. 2mo ago Changed · +2 lines eca0e596ea2f
  10. 2mo ago First seen · 419 lines · 52 tokens per session scan A d1b9286dd5a2

Subscribe to this mod's changes

create-mcp-tool is a skill published in the GitHub repository jmrplens/gitlab-mcp-server (58 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 6,806 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

create-mcp-tool compared with skills from other repositories

create-mcp-tool next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-mcp-tooljmrplens/gitlab-mcp-serverSkill58todayMITA52Claude Code, Codex
x402browser-use/browser-useSkill123ktodayMITA166Claude Code
open-sourcebrowser-use/browser-useSkill123ktodayMITA101Claude Code
cloudbrowser-use/browser-useSkill123ktodayMITB177Claude Code
manifold-apiintelligencedev/manifoldSkill5051mo agoMITA35Claude Code, Codex
nornweave-apiDataCovey/nornweaveSkill326d agoApache-2.0A77Claude Code, Codex
gitlab-api-developmentKnuckles-Team/gitlab-apiSkill102d agoMITA49Claude Code, Codex