mcp-server: Instructions file for Codex

AGENTS.md

mcp-server AGENTS.md is an instructions file for Codex, OpenCode from abap2UI5/mcp-server. It costs 27,910 tokens per session, scanned A, original, MIT.

A set of project instructions for agents working on the abap2UI5 MCP server. It documents the workflow for validating, previewing, building, and running ABAP applications, including which checks are fast and which require a full build.

In plain words
What is it for?
Use it when modifying or testing the abap2UI5 MCP server, especially when validating views, taking screenshots, building the backend, or running an app.
Why use it?
It helps agents choose quick source checks before expensive runtime builds and avoid known project mistakes. It also records project-specific language and maintenance rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is abap2UI5/mcp-server's own configuration. It tells Codex and OpenCode how to work on 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 mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to abap2UI5/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/abap2UI5/mcp-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/abap2UI5/mcp-server

Made for: Codex, OpenCode.

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 mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/abap2ui5/mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/abap2ui5/mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/abap2ui5/mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/abap2ui5/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.

agentmods 80×15 button for mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/abap2ui5/mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/abap2ui5/mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27,910 This file is loaded in full into every session.
When invoked 27,910 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.27910 $0.27910
Opus 5.5 $0.11164 $0.11164
Sonnet 5.5 $0.05582 $0.05582
Haiku 4.5 $0.02791 $0.02791

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

Security

Grade A, and why

mcp-server AGENTS.md scanned grade A with 1 finding 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 8d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { spawn } = require("child_process");
AGENTS.md · 1,505 lines

How it starts

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

AGENTS.md — mcp-server

Single source of truth for agents working on the abap2UI5 MCP server — the app_guide → validate_view/screenshot_view → deploy_app → build_backend → run_app loop exposed to MCP clients, no SAP system required.

The loop has a cheap half and an expensive half, and keeping them apart is the point. validate_view and screenshot_view both work from SOURCE through the linter's render harness: seconds, no backend, no transpile, and blind to everything that only exists at runtime. build_backend/run_app boot the real transpiled app: seconds per build on the npm backend after a first install (tens of minutes for a full corpus build), and the only place the ABAP actually runs. A tool that moves work from the second half to the first is worth more here than almost anything else — the expensive half is what an agent's feedback loop is made of.

This entire project is in English. No non-ASCII literal goes in a source file — the CAPABILITIES.md status marks are built with String.fromCodePoint for exactly this reason (lib/capabilities.mjs), so a parser's data can never depend on how an editor saved a glyph. Prose is a different matter: comments and the tool descriptions have always used em dashes and stay as they are. (This paragraph said "source files are 7-bit ASCII", which no file in the repo has ever been, lib/capabilities.mjs included.) test/ascii.test.mjs is the gate, over server.mjs and every lib/*.mjs: everything above U+007F fails except the prose punctuation listed there by code point (em dash, en dash, section sign), each with the reason it is allowed. An emoji, an invisible character or a homoglyph letter is refused by file and line — build it from its code point instead, the way lib/capabilities.mjs builds the status marks.

The one thing to understand first: this repo cannot work alone

mcp-server bundles no content. Every tool reads live from sibling checkouts, resolved per call in lib/repos.mjs (explicit env var, then the ../<name> sibling of this repo — plus, for abap2UI5, the in-repo .abap2UI5 clone that samples-controls' npm run node:setup creates). A set env var is authoritative: when it points at a directory without the expected checkout, the repo resolves to null and the tool reports the misconfiguration — there is no silent fallback to the sibling guess.

Read the full file on GitHub · 1,505 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. 8d ago Changed · +6 lines · +145 tokens per session 13a8d3a3aea1
  2. 18d ago Changed · +6 lines · +128 tokens per session 509f6f3623d1
  3. 25d ago Changed · +13 lines · +227 tokens per session 945604808fbd
  4. 26d ago Changed · +40 lines · +780 tokens per session e7da14195886
  5. 29d ago Changed · +141 lines · +2,643 tokens per session 48481fb84328
  6. 1mo ago Changed · +141 lines · +2,769 tokens per session 8233470129ee
  7. 1mo ago Changed · +4 lines · +76 tokens per session fea4ce1db259
  8. 1mo ago Changed · +82 lines · +1,459 tokens per session fe60f2d867f1
  9. 1mo ago Changed · +230 lines · +4,438 tokens per session 1d2846aa80c0
  10. 1mo ago First seen · 842 lines · 15,245 tokens per session scan A dcf8cfefdae2

Subscribe to this mod's changes

mcp-server AGENTS.md is an instructions file published in the GitHub repository abap2UI5/mcp-server (1 stars, last pushed 9d ago), licensed MIT. It adds 27,910 tokens to every session, about $0.1116 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-server AGENTS.md compared with instructions from other repositories

mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-server AGENTS.mdabap2UI5/mcp-serverInstructions file19d agoMITA27,910Codex, OpenCode
plan-forge dapr.instructions.mdsrnichols/plan-forgeInstructions file65d agoMITA4,975GitHub Copilot
plan-forge database.instructions.mdsrnichols/plan-forgeInstructions file65d agoMITA1,890GitHub Copilot
plan-forge naming.instructions.mdsrnichols/plan-forgeInstructions file65d agoMITA1,453GitHub Copilot
plan-forge caching.instructions.mdsrnichols/plan-forgeInstructions file65d agoMITA733GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode