AGENTS.md@packages/canonry/src/mcp agentsA
AGENTS.md@packages/canonry/src/mcp is agent-read markdown (agents) from canonry/canonry.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# MCP adapter (`canonry-mcp`) For MCP clients such as Claude Desktop, Codex, or custom agent shells that prefer a typed tool catalog over shell or HTTP, the package ships a separate `canonry-mcp` bin. It is a thin stdio adapter over `createApiClient()` — not a parallel surface. v1 exposes a curated API tool catalog (`tool-registry.ts` holds the list and counts) — including the `canonry_project_overview` and `canonry_search` core composites; the catalog is split across a small **core tier** (always loaded) and the **toolkits** listed in `CANONRY_MCP_TIERS` (`toolkits.ts`; `ads` is OpenAI / ChatGPT Ads, `google-ads` is separate) that the client loads on demand via `canonry_load_toolkit`. The catalog coalesces enable side effects so each `canonry_load_toolkit` call emits exactly one `notifications/tools/list_changed`. Pass `--read-only` to surface only the read tools, or `--eager` (or `CANONRY_MCP_EAGER=1`) to register every tool at startup like the previous flat catalog. Auth is inherited from `~/.canonry/config.yaml`. Key files: - `packages/canonry/src/mcp/server.ts` — `createCanonryMcpServer` (one client per server instance, registers core tier + meta tools) …
Read the whole file at its exact version.
How to install
mdr add canonry/canonry/packages/canonry/src/mcp/AGENTS.md@git:20260922.d237087mdr add canonry/canonry/packages/canonry/src/mcp/AGENTS.md@sha256:ba8a1da3100331a0Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_tgspcle66xs2lfz7)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.d237087 latest | 2026-09-22 | d237087 | 7,616 B | A | view · diff |
| git:20260919.46b60a6 | 2026-09-19 | 46b60a6 | 7,320 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (7616 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
canonry/canonry · 153 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tgspcle66xs2lfz7 GET https://markdownregistry.com/api/v1/resolve?ref=canonry/canonry/packages/canonry/src/mcp/AGENTS.md GET https://markdownregistry.com/api/v1/blob/ba8a1da3100331a040ea3467471253137afca7d0ab5b92e3f0fe1c304a7da3c5
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.