abap-mcp: Instructions file for Codex

AGENTS.md

abap-mcp AGENTS.md is an instructions file for Codex, OpenCode from palimkarakshay/abap-mcp. It costs 3,513 tokens per session, scanned A, original, MIT.

A local MCP server for analyzing and generating SAP ABAP code, the programming language used in SAP systems, without connecting to an SAP system or needing credentials.

In plain words
What is it for?
Use it for offline ABAP linting, Clean Core checks, migration planning, released-API lookup, RAP business-object scaffolding, and guided ABAP development or review workflows.
Why use it?
It lets an agent inspect ABAP text, check alignment with SAP’s Clean Core guidance, plan migrations, and look up released APIs from bundled data without accessing a live system.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions Codex.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/palimkarakshay/abap-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/palimkarakshay/abap-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,513 This file is loaded in full into every session.
When invoked 3,513 The same file — it is already loaded in full.
Security scan A 0 findings. 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.03513 $0.03513
Opus 5.5 $0.01405 $0.01405
Sonnet 5.5 $0.00703 $0.00703
Haiku 4.5 $0.00351 $0.00351

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

Security

Grade A, and why

abap-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 22d 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.

AGENTS.md · 147 lines

How it starts

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

abap-mcp

MCP server for SAP ABAP: offline static analysis (abaplint), edition-aware ABAP Cloud / Clean Core readiness + released-API checks (s4hc / btp / pce), phased migration planning, RAP managed-BO + ABAP AI SDK (ISLM) scaffolding, a native RAP BDEF/SRVD checker (abaplint parses neither file type), an opt-in offline ABAP Unit runner, a bundled dated SAP knowledge base (release deltas / Clean Core / SAP-AI options) exposed as tools AND abap-mcp://knowledge/… resources, plus 4 guided-workflow MCP prompts (abap-from-spec / abap-review / abap-mentor / abap-migration-plan). No SAP system, no credentials, and no user-filesystem — text in, structured JSON out (package-bundled data assets excepted; see invariants). The default stdio server makes no outbound network calls; the opt-in abap-mcp-genai binary is the ONLY networked entry point (see invariants). Product line: SAP. Public MIT repo (github.com/palimkarakshay/abap-mcp); npm package abap-mcp (bins: abap-mcp, abap-mcp-http, abap-mcp-genai; library).

Package manager: npm — Node >= 22

Commands (authoritative)

  • npm install
  • npm run check — typecheck + vitest (32 files, incl. the output-schema contract test) + build + routing eval = the CI gate
  • Releasing — npm version patch|minor (syncs server.json + the Codex plugin manifest), commit, push, then push the tag vX.Y.Z. .github/workflows/publish.yml does the rest from the tag: gate, npm publish via trusted publishing (OIDC, no token, provenance), MCP registry, GitHub release. Never npm publish from a laptop. Add docs/RELEASE-NOTES-X.Y.Z.md first if the release deserves notes. Manual run of the workflow = dry run.
  • npm run typecheck / npm test / npm run build — the individual steps
  • npm run build — tsc && node scripts/copy-data.mjs (tsc does NOT copy the bundled .json)
  • node scripts/build-released-api-index.mjs / build-open-abap-lib.mjs — dev-only, refresh the per-edition SAP released-API snapshots and the vendored open-abap-core library (network; never run at serve time). check-knowledge-links.mjs (dev-only too) HEAD-checks knowledge sourceUrls — NOT part of npm test/check (SAP hosts 403 non-browser agents; red = look).
  • node dist/cli.js — stdio MCP server (ABAP_MCP_ENABLE_RUN=1 also registers run_abap_unit)
  • node dist/http.js — guarded Streamable HTTP (127.0.0.1:3000/mcp by default)
  • node dist/genai.js (bin abap-mcp-genai) — the separate, opt-in ONLINE server; needs AICORE_SERVICE_KEY/_FILE; read docs/GENAI.md before enabling
  • npm run eval:routing — deterministic host-routing gate over exact MCP metadata
  • CLI subcommands (each also an MCP tool): lint fix readiness plan compare scaffold unittest [--run] deps outline released explain rules release knowledge aisdk agent-rules rapcheck — rapcheck [paths…] [--release 2508] [--strict] [--json] checks BDEF/SRVD (exit 1 on errors); lint --no-rap opts out of the same check inside lint — unittest --run EXECUTES tests offline (open-abap kernel), exit 1 on failure = the test-loop gate
  • Inspect: npx @modelcontextprotocol/inspector --cli node dist/cli.js --method tools/list
  • Description lint (optional, cross-repo): pnpm --filter @mcp-kit/lint run lint -- --root ~/projects/abap-mcp --threshold 90. server.test.ts's in-repo rubric enforces the same.

Read the full file on GitHub · 147 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. 22d ago Changed · +5 lines · +125 tokens per session 435c6e7f4d9d
  2. 24d ago Changed · -3 tokens per session e613e664ed11
  3. 1mo ago Changed · +50 lines · +1,457 tokens per session 65215f1f9eb7
  4. 1mo ago First seen · 92 lines · 1,934 tokens per session scan A fb04d6420c9d

Subscribe to this mod's changes

abap-mcp AGENTS.md is an instructions file published in the GitHub repository palimkarakshay/abap-mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 3,513 tokens to every session, about $0.0141 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-31.

Related

Other instructions, from other repositories