Borrowing it
Nothing to install: this file belongs to tekthar/abp-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.
curl -O https://raw.githubusercontent.com/tekthar/abp-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/tekthar/abp-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/tekthar/abp-mcp/claude-md)<a href="https://agentmods.dev/instructions/tekthar/abp-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/tekthar/abp-mcp/claude-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/tekthar/abp-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/tekthar/abp-mcp/claude-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.01691 | $0.01691 |
| Opus 5.5 | $0.00676 | $0.00676 |
| Sonnet 5.5 | $0.00338 | $0.00338 |
| Haiku 4.5 | $0.00169 | $0.00169 |
Grade A, and why
abp-mcp CLAUDE.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 6d 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Project-specific guidance for Claude Code (and any agent) working on abp-mcp.
Project summary
abp-mcp is an open-source NuGet package that turns any ABP Framework application into a Model Context Protocol server. It reads ABP's /api/abp/api-definition metadata, filters by [McpTool]-tagged services, and exposes them as MCP tools with permission-aware visibility and ABP-native error mapping. Targets net10.0 with ABP 10.1.* as the floor — versions live in Directory.Build.props as $(AbpVersion)/$(EfCoreVersion)/$(MsExtVersion). Current MCP SDK: ModelContextProtocol.AspNetCore 2.3, with the transport pinned to stateful sessions in AddAbpMcp (2.x defaults to stateless, which cannot deliver tools/list_changed).
Architecture at a glance
Program.cs ──▶ AddAbpMcp + AbpMcpModule
│
▼
IApiDefinitionReader ──▶ IToolDescriptorBuilder
│ │
▼ ▼
IDynamicMcpToolRegistry (initialized at app start)
│
▼
/mcp endpoint (Microsoft SDK) ──▶ IAbpMcpDispatcher
Every piece has exactly one job; none of them owns more than ~200 LOC.
Non-negotiable design rules
- Source of truth is ABP's api-definition, not OpenAPI and not raw reflection. If a change would make us re-implement metadata extraction, stop and reconsider.
- Tool exposure is opt-in. A service without
[McpTool]is invisible. Do not add "expose everything" modes without an explicit design change. - Permission check before invoke. Permission filter before list. Both paths. Test both.
- No catch-all exception handlers in the dispatcher. Use the mapping table in
AbpMcpExceptionMapper. Every ABP exception type has a specific translation. Unknown exceptions becomeINTERNALwith no stack trace leaked. - In-process only for v0.1 and v1.0. No sidecar processes. No stdio transport. Streamable HTTP only.
- ABP-idiomatic public surface. Attribute names mirror
[RemoteService]ergonomics ([McpTool]/[McpIgnore]). Options collection mirrorsConventionalControllers.Create(assembly, ...).Configure<AbpMcpOptions>works inPreConfigureServices. If a new option breaks this convention, find another way. /mcp/_discoverand/mcp/_explainendpoints stay shipped. They are the diff between "auto-generator that frustrates devs" and "auto-generator that delights them." Do not move them behind a feature flag, do not lazy-load them, do not skimp on the explain reasons.
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.
- 6d ago Changed · -1 lines · +133 tokens per session 621d13000feb
- 28d ago Changed · +47 tokens per session 7eabc1da0826
- 2mo ago First seen · 100 lines · 1,511 tokens per session scan A 535d2e8c6741
abp-mcp CLAUDE.md is an instructions file published in the GitHub repository tekthar/abp-mcp (6 stars, last pushed yesterday), licensed MIT. It adds 1,691 tokens to every session, about $0.0068 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.
abp-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| abp-mcp CLAUDE.mdtekthar/abp-mcp | Instructions file | 6 | yesterday | MIT | A | 1,691 | Claude Code |
| plan-forge database.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 1,890 | GitHub Copilot |
| plan-forge naming.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 1,453 | GitHub Copilot |
| plan-forge caching.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 733 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | 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 | yesterday | MIT | A | 4,680 | Codex, OpenCode |