AGENTS.md@apps/mcp-gatewayA
AGENTS.md@apps/mcp-gateway from canonry/canonry is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add canonry/canonry/apps/mcp-gateway/AGENTS.md@git:20261101.29f3cd5Pins git:20261101.29f3cd5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- canonry/canonry
- Path
apps/mcp-gateway/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20261101.29f3cd5, committed Nov 1, 2026
- First version recorded
- Oct 29, 2026
- Size
- 3,341 bytes
- Repository stars
- 199
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# MCP gateway This app is deployed independently from Canonry instances. It owns routing, outer OAuth grants, encrypted upstream credentials, and transport sessions. Instances remain authoritative for user identity, roles, permissions and data. - Resolve upstream destinations from the operator registry and authenticated grant only. Never accept an endpoint, tenant override, or upstream bearer in tool arguments or arbitrary headers. - Keep the public consent page and its headers free of workspace directories. Accept a slug or registered host only as a registry lookup, never a destination. - A resent copy of an accepted workspace choice (a double click) gets the first submit's handoff only when the browser cookie, CSRF value and workspace match. It never runs a second workspace check or creates a second login state. - Keep outer and upstream issuers, audiences, state, PKCE and token families separate. Identity is `(tenant ID, immutable instance user ID)`, never email. - Use `oidc-provider` for outer OAuth and the official MCP SDK for transport. Do not replace library security checks with custom token/PKCE implementations. …
Read the whole file at its exact version.
How to install
mdr add canonry/canonry/apps/mcp-gateway/AGENTS.md@sha256:00a652583aaa1539The line at the top of this page pins the label git:20261101.29f3cd5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ejeydvcil6arbvry)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 29, 2026 and Nov 1, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261101.29f3cd5 latest | 2026-11-01 | 29f3cd5 | 3,341 B | A | view · diff |
| git:20261029.4bcaf74 | 2026-10-29 | 4bcaf74 | 3,106 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (3341 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 · 199 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ejeydvcil6arbvry GET https://markdownregistry.com/api/v1/resolve?ref=canonry/canonry/apps/mcp-gateway/AGENTS.md GET https://markdownregistry.com/api/v1/blob/00a652583aaa153934a5e032fc0b0d38966017bb9ad425285fadb05041f8ed19
Your AI assistant 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.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.