Borrowing it
Nothing to install: this file belongs to Casys-AI/mcp-erpnext. 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/Casys-AI/mcp-erpnext/main/AGENTS.mdgit clone --depth 1 https://github.com/Casys-AI/mcp-erpnextWrote 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/casys-ai/mcp-erpnext/agents-md)<a href="https://agentmods.dev/instructions/casys-ai/mcp-erpnext/agents-md"><img src="https://agentmods.dev/badge/instructions/casys-ai/mcp-erpnext/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/casys-ai/mcp-erpnext/agents-md"><img src="https://agentmods.dev/badge/instructions/casys-ai/mcp-erpnext/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.07520 | $0.07520 |
| Opus 5.5 | $0.03008 | $0.03008 |
| Sonnet 5.5 | $0.01504 | $0.01504 |
| Haiku 4.5 | $0.00752 | $0.00752 |
Grade A, and why
mcp-erpnext 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 21d 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 — 600 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Repository guidelines for AI coding agents working on this codebase.
- Repo: https://github.com/Casys-AI/mcp-erpnext
- In chat replies, file references must be repo-root relative only (example:
src/tools/sales.ts:42); never absolute paths.
Project Overview
MCP server that lets AI agents operate an ERPNext/Frappe instance: documents,
workflows, and interactive UI viewers. Published as @casys/mcp-erpnext on npm
(Node bundle) and JSR (Deno).
Project Structure & Module Organization
- Entry points:
mod.ts(JSR public API),server.ts(MCP server — stdio + HTTP). - Config:
deno.jsonis the primary config (version, tasks, import map).src/ui/package.jsonmanages UI-only npm deps (Preact, Vite, Recharts). - Source code: all under
src/. Server-side TypeScript uses Deno conventions; UI viewers use Vite/Preact with standard npm imports. - Tool categories: one file per category under
src/tools/(sales.ts,inventory.ts,accounting.ts, etc.). All registered insrc/tools/mod.ts. - Tests: colocated with source files (Deno convention) —
foo.ts/foo_test.ts. Not all modules have tests yet; the convention is the target, not a guarantee. - UI viewers: each viewer is a standalone Preact app under
src/ui/{viewer-name}/, bundled to a single HTML file. Built output goes tosrc/ui/dist/(gitignored but included in published artifacts viadeno.jsonpublish config). - Kanban:
src/kanban/contains types, definitions, field-utils, and per-DocType adapters inadapters/. - Cache:
src/cache/— pluggableCacheinterface,MemoryCache/NoopCacheimplementations, app-wide singleton. - Runtime adapters:
src/runtime.ts(Deno) andsrc/runtime.node.ts(Node.js) — the build script swaps them. - Scripts:
scripts/build-node.shproduces the npm bundle;scripts/release-guard.mjsis the publish guard (versions, tag ref, npm dist-tag,latestnever moves backwards);scripts/align-next-dist-tag.mjsdecides whether a stable release realignsnext(an unreadable npm registry leavesnextuntouched);scripts/third-party-notices.mjsgenerates/checksTHIRD_PARTY_NOTICES.txt. Their tests (scripts/*_test.ts) run withdeno task test:scripts. - Docs:
docs/contains roadmap, known issues, and coverage notes. - Keep UI-only deps in
src/ui/package.json; do not add them todeno.json. Conversely, server-side deps go in thedeno.jsonimport map.
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.
- 21d ago Changed · +61 lines · +1,062 tokens per session eb227dadd417
- 2mo ago First seen · 539 lines · 6,458 tokens per session scan A f114e4f0c160
mcp-erpnext AGENTS.md is an instructions file published in the GitHub repository Casys-AI/mcp-erpnext (121 stars, last pushed 2d ago), licensed MIT. It adds 7,520 tokens to every session, about $0.0301 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.
mcp-erpnext AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-erpnext AGENTS.mdCasys-AI/mcp-erpnext | Instructions file | 121 | 2d ago | MIT | A | 7,520 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |