Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/kevinlin/gitlab-mr-mcp/agents-mdgit clone --depth 1 https://github.com/kevinlin/gitlab-mr-mcpWrote 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/kevinlin/gitlab-mr-mcp/agents-md)<a href="https://agentmods.dev/instructions/kevinlin/gitlab-mr-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/kevinlin/gitlab-mr-mcp/agents-md.svg" alt="Measured on agentmods" 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 | $0.00361 | $0.00361 |
| Opus 5 | $0.00180 | $0.00180 |
| Sonnet 5 | $0.00072 | $0.00072 |
| Haiku 4.5 | $0.00036 | $0.00036 |
Grade A, and why
gitlab-mr-mcp 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 3d 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.
What it actually says
AGENTS.md - GitLab MR MCP Server
Build/Test Commands
- Build:
npm run build- Compile TypeScript to JavaScript - Start:
npm start- Run compiled JavaScript from dist/ - Dev:
npm run dev- Build and run in one command - Typecheck:
npm run typecheck- Type check without emitting files - Test with Inspector:
npx -y @modelcontextprotocol/inspector npm start
Environment Variables
MR_MCP_GITLAB_TOKEN(required) - GitLab API token with api/read_api scopesMR_MCP_GITLAB_HOST(optional) - GitLab host URLMR_MCP_MIN_ACCESS_LEVEL(optional) - Minimum project access level filterMR_MCP_PROJECT_SEARCH_TERM(optional) - Project search term filter
TypeScript Code Style Guidelines
- Strict TypeScript: Enabled with exactOptionalPropertyTypes and noUncheckedIndexedAccess
- Interfaces vs Types: Use interfaces for object definitions, types for unions/mapped types
- Naming: PascalCase for types/interfaces, camelCase for variables/functions
- Imports: Use explicit file extensions (
.jsfor compiled output) - Error handling: Typed errors with custom error types and
formatErrorResponse()helper - Immutability: Use
readonlyfor immutable properties and parameters - Type safety: Avoid
any, preferunknownfor unknown types - API responses: Strictly typed
MCPResponseinterface - Validation: Zod schemas with TypeScript integration for runtime type checking
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.
- 3d ago First seen · 25 lines · 361 tokens per session scan A 0710f804c6fe
gitlab-mr-mcp AGENTS.md is an instructions file published in the GitHub repository kevinlin/gitlab-mr-mcp (0 stars, last pushed 1y ago), licensed MIT. It adds 361 tokens to every session, about $0.0018 per session on Opus 5. A static security scan graded it A with 0 findings. It comes from a forked repository.
Other instructions, from other repositories
blockrun-mcp AGENTS.md
AGENTS.md instructions for BlockRunAI/blockrun-mcp, covering blockrun mcp, commands, project structure, key dependencies and install in codex.
openrouter-mcp-multimodal AGENTS.md
AGENTS.md instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).
intervals-icu-mcp CLAUDE.md
Instructions for hhopke/intervals-icu-mcp, covering claude.md, project overview, development commands, architecture (quick reference) and tool categories.
ai-toolkit AGENTS.md
AGENTS.md instructions for pipefy/ai-toolkit, covering repository guidelines, documentation map, project structure, import namespace migration: pipefysdk → pipefy and src/pipefysdk/init.py (transitional shim).
flyto-core CLAUDE.md
Claude Code instructions for flytohub/flyto-core, covering claude notes, cross-agent handoff and shared code intelligence.
Plonk AGENTS.md
AGENTS.md instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.