Home / canonry / canonry · packages/canonry/src/mcp/AGENTS.md · GitHub

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

Latest version
mdr add canonry/canonry/packages/canonry/src/mcp/AGENTS.md@git:20260922.d237087
Exact content
mdr add canonry/canonry/packages/canonry/src/mcp/AGENTS.md@sha256:ba8a1da3100331a0

Pin 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tgspcle66xs2lfz7.svg)](https://markdownregistry.com/a/art_tgspcle66xs2lfz7)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260922.d237087 latest2026-09-22 d237087 7,616 BA view · diff
git:20260919.46b60a62026-09-19 46b60a6 7,320 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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.

More from canonry/canonry

AGENTS.md agents
canonry/canonry · AGENTS.md
git:20260921.f2d9ae1 · audit A · 153 stars
DESIGN.md design
canonry/canonry · DESIGN.md
git:20260921.f2d9ae1 · audit A · 153 stars
AGENTS.md@apps/api agents
canonry/canonry · apps/api/AGENTS.md
git:20260919.46b60a6 · audit A · 153 stars
AGENTS.md@apps/vals/ai-visibility-check agents
canonry/canonry · apps/vals/ai-visibility-check/AGENTS.md
git:20260912.c12e496 · audit A · 153 stars
AGENTS.md@apps/vals/brand-perception-check agents
canonry/canonry · apps/vals/brand-perception-check/AGENTS.md
git:20260912.c12e496 · audit A · 153 stars
AGENTS.md@apps/web agents
canonry/canonry · apps/web/AGENTS.md
git:20260923.508d40e · audit A · 153 stars
AGENTS.md@apps/worker agents
canonry/canonry · apps/worker/AGENTS.md
git:20260404.39669fe · audit A · 153 stars
AGENTS.md@packages/api-client-generated agents
canonry/canonry · packages/api-client-generated/AGENTS.md
git:20260908.f6b799a · audit A · 153 stars
AGENTS.md@packages/api-routes agents
canonry/canonry · packages/api-routes/AGENTS.md
git:20260923.508d40e · audit A · 153 stars
AGENTS.md@packages/api-routes/src/discovery agents
canonry/canonry · packages/api-routes/src/discovery/AGENTS.md
git:20260919.46b60a6 · audit A · 153 stars
AGENTS.md@packages/api-routes/src/doctor agents
canonry/canonry · packages/api-routes/src/doctor/AGENTS.md
git:20260921.1697bee · audit A · 153 stars
AGENTS.md@packages/canonry agents
canonry/canonry · packages/canonry/AGENTS.md
git:20260923.f41fd9c · audit A · 153 stars

Every file in canonry/canonry

Browse by kind, by grade A, or by owner.