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.
curl -O https://raw.githubusercontent.com/jmrplens/gitlab-mcp-server/main/AGENTS.mdgit clone --depth 1 https://github.com/jmrplens/gitlab-mcp-serverWrote 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.
[](https://agentmods.dev/instructions/jmrplens/gitlab-mcp-server/agents-md)<a href="https://agentmods.dev/instructions/jmrplens/gitlab-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/jmrplens/gitlab-mcp-server/agents-md/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.
<a href="https://agentmods.dev/instructions/jmrplens/gitlab-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/jmrplens/gitlab-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04072 | $0.04072 |
| Opus 5.5 | $0.01629 | $0.01629 |
| Sonnet 5.5 | $0.00814 | $0.00814 |
| Haiku 4.5 | $0.00407 | $0.00407 |
Grade A, and why
gitlab-mcp-server AGENTS.md 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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gitlab-mcp-server — Agent Quick Reference
MCP server in Go that exposes GitLab REST + GraphQL as MCP tools, resources, and prompts. Communicates via stdio (default) or HTTP. Catalog-first tool registration: 182 sub-packages under
internal/tools/, with three runtime surfaces (dynamicdefault,meta,individual).
Read first
| Where | Why |
|---|---|
CLAUDE.md |
Project rules and context, ADR list, agents/skills catalog, docs/development index |
.github/copilot-instructions.md |
Auto-loaded by VS Code Copilot; has the language policy, env var table, E2E recipes |
.github/instructions/*.md |
Auto-applied coding standards (go, MCP, OWASP, comments, code review) |
docs/development/tool-surfaces-and-action-core.md |
Surface ownership and catalog projection rules |
docs/development/adr |
Architectural Decision Records (catalog-first is ADR-0004) |
site/src/content/docs/ |
User documentation: one page per slug, each with its Spanish twin under es/ |
That site, published at https://docs.jmrp.io/gitlab-mcp-server/, is the only
home of the user documentation; docs/ keeps docs/development, for
contributors (ADR-0025).
The canonical agents live under .github/agents/ and the skills under
.github/skills/; .claude/agents/ and .claude/skills/ hold a symbolic
link to each for Claude Code. OpenCode wiring is per developer: opencode.json and
.opencode/ are git-ignored and never committed.
Hard invariants
- Catalog-first registration. For ordinary GitLab API actions, add or
update domain-local
ActionSpecs and handlers. Do not add package-localRegisterToolsfunctions or ad hocmcp.AddToolcalls. The catalog ininternal/tools/action_catalog.goprojects everything into meta, dynamic,gitlab://tools, audits, LLM files, and individual tool surfaces. (ADR-0004.) - English-only artifacts. Every file committed to this repo must be
in English, including doc comments, ADRs, branches, commits, and MCP
tool descriptions. The exceptions are the Spanish half of the user
documentation: the twin pages under
site/src/content/docs/es/, and the Spanish text the site and the generators that write it keep beside the English (anesfield, alabelEs,site/src/content/i18n/es.json); and the server's Spanish message catalog,internal/i18n/catalog_es.go, with the Spanish the tests compare its renders against (issue 1547), which translates the English catalog key by key. Chat with the developer in any language you want. - Conventional commits.
feat:,fix:,docs:,test:,refactor:,chore:. Use thegit-commitskill (.claude/skills/git-commit/) for auto-detected type/scope. - A copyright and license header in every source file. Each source
file opens with
Copyright (c) 2026 José M. Requena PlensandSPDX-License-Identifier: MITas comments of its language, a Go file with a blank line before its package clause or build constraint.make fix-file-headerswrites them into a new file andmake check-file-headersis the gate; which files carry them and where is indocs/development/file-headers.md. - Coverage target: maximum possible, 100% when feasible. CI fails
below 90% total coverage (
COVERAGE_MINin.github/workflows/ci.yml); in practice the team pushes per-package coverage to 100% unless there is a hard blocker (generated code, third-party interfaces). When you cannot reach 100% on a function, add a documented reason at the call site and prefer table-driven tests that exercise both happy and error paths.
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.
- 14d ago Changed · -3 lines · -52 tokens per session d1091af2ceee
- 19d ago Changed befc253eafd6
- 20d ago Changed · -11 tokens per session 6ab00590db33
- 23d ago Changed · +1 lines · +7 tokens per session 41660486e5f7
- 1mo ago Changed ae2d1adcb6fe
- 1mo ago Changed · +2 lines · +32 tokens per session 45deb4dc5d72
- 1mo ago Changed 41eaea4d5045
- 1mo ago Changed 93fe0b28da36
- 1mo ago Changed · +10 lines · +161 tokens per session ea8b44296cc4
- 1mo ago First seen · 261 lines · 3,935 tokens per session scan A a2dac97bc86b
gitlab-mcp-server AGENTS.md is an instructions file published in the GitHub repository jmrplens/gitlab-mcp-server (58 stars, last pushed today), licensed MIT. It adds 4,072 tokens to every session, about $0.0163 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.
gitlab-mcp-server AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gitlab-mcp-server AGENTS.mdjmrplens/gitlab-mcp-server | Instructions file | 58 | today | MIT | A | 4,072 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,951 | Codex, OpenCode |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 291k | yesterday | MIT | A | 4,396 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |