# RepoCanon (npm · repocanon)

AGENTS.md and project memory for AI coding agents that stays correct: rules checked against git

- Trust score: 86/100 (high trust)
- Change this week: +2
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-30

## Components

- npm · `repocanon`: 86/100 (this document), [markdown](https://verifymcp.io/servers/awalhadi-repocanon/repocanon.md), [page](https://verifymcp.io/servers/awalhadi-repocanon/repocanon)

## Channel facts

- Registry: `npm`
- Package: `repocanon`
- Version: `0.7.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-30.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 27 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 85/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1078 tokens (~107/item across 10 items; 10 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 100/100
  - No destabilizing schema changes in the last 30 days.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 10 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 11 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the RepoCanon MCP server?

RepoCanon runs locally as an npm package, launched with npx -y repocanon mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add awalhadi-repocanon -- npx -y repocanon mcp
```

### Cursor

```json
{
  "mcpServers": {
    "awalhadi-repocanon": {
      "command": "npx",
      "args": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "awalhadi-repocanon": {
      "command": "npx",
      "args": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add awalhadi-repocanon -- npx -y repocanon mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "awalhadi-repocanon": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "repocanon",
        "mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add awalhadi-repocanon --command npx --arg -y --arg repocanon --arg mcp
```

### Hermes

```yaml
mcp_servers:
  awalhadi-repocanon:
    command: "npx"
    args: ["-y", "repocanon", "mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "awalhadi-repocanon": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add awalhadi-repocanon -t stdio -c npx -a -y repocanon mcp
```

### Other

```json
{
  "mcpServers": {
    "awalhadi-repocanon": {
      "command": "npx",
      "args": [
        "-y",
        "repocanon",
        "mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-27 (score 86, 0)

- [security] Stability: 0.97 → pass

### 2026-11-26 (score 86, +1)

No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-24 (score 85, +1)

- [functional regression] Security disclosure: unverified → fail

### 2026-11-23 (score 84, 0)

- [functional regression] Security disclosure: fail → unverified

### 2026-11-22 (score 84, +6)

- [security improvement] Source repository: unverified → pass

### 2026-11-21 (score 78, −5)

- [security regression] Provenance: pass → unverified

### 2026-11-19 (score 83, +1)

No change was recorded against any check on this day. Stability & Change Management went from 70 to 73. That category is still filling its 30-day observation window: 21 days of observed history at the previous scan, 22 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-17 (score 82, +1)

No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.

## MCP tools (10)

### `rc_context` (~108 tokens)

Context for a task

Budgeted context pack for a task: PROJECT + relevant module docs + DOMAIN/CONVENTIONS/STATE. Call this FIRST instead of scanning the repo. Docs that may not match the code carry a stale/broken/unverified label — trust the code there.

Input parameters:

- `files` (array): repo-relative files you expect to touch
- `max_tokens` (number): token budget for the pack (default 4000, max 20000)
- `query` (string): task description / keywords

### `rc_module` (~67 tokens)

Module doc

Full knowledge doc for one module (purpose, invariants, flow, code map). Use when rc_context included only part of a module, or you need a module the task did not mention.

Input parameters:

- `name` (string, required): module slug, e.g. billing (rc_status lists every doc)

### `rc_find_owner` (~55 tokens)

Find owning module

Which module owns a repo-relative file path, and its doc. Use before editing a file whose module you do not know.

Input parameters:

- `path` (string, required): repo-relative file path, e.g. src/billing/refund.js

### `rc_status` (~45 tokens)

Doc freshness

Freshness of every .ai doc (fresh/stale/broken/unverified) vs git, as JSON. For what changed and which docs to update, call rc_sync_report instead.

### `rc_prepare_fill` (~76 tokens)

Brief for filling docs

Evidence-loaded brief for writing/filling the .ai/ knowledge docs (stack playbook, files to inspect, per-doc instructions). Call this, then write the .ai/*.md files yourself with your own file tools — do not ask the human to paste anything.

Input parameters:

- `compact` (boolean): short form instead of the full brief

### `rc_sync_report` (~78 tokens)

What changed since verify

What changed in the repo since each doc was last verified, and which docs likely need updating. Call this before rc_prepare_fill when the task is "update the docs after code changes", then write the affected .ai/*.md files yourself.

Input parameters:

- `since` (string): git ref to diff from (defaults to each doc's verified_at commit)

### `rc_propose_adr` (~183 tokens)

Record a decision

Record an architecture decision in its own file, .ai/decisions/<date>-<slug>.md (id D-<date>-<slug>), so parallel branches never conflict; the AGENTS.md rules digest is updated. Use when a task settled a choice future work must respect. One line per field; refused if it contains secrets, pasted code, trees or a duplicate title.

Input parameters:

- `decision` (string, required): what was decided (one line)
- `revisit` (string): when to reconsider (optional)
- `supersedes` (string): id of a decision this replaces, e.g. D-2026-10-28-bill-in-cents or a legacy D-003 (optional)
- `title` (string, required): short name of the decision (max 80 chars)
- `why` (string, required): the reason (one line)

### `rc_checkpoint_state` (~127 tokens)

Checkpoint project state

Record where work stands in .ai/STATE.md so the next session can pick up: current focus, in-progress items, known issues, and one line for a significant change. Only the sections you pass change. This does NOT mark any doc verified.

Input parameters:

- `change` (string): one significant change to log with today's date
- `focus` (string): what the project is working on now (one line)
- `in_progress` (array): replaces the In progress list (max 8)
- `known_issues` (array): replaces the Known issues list (max 8)

### `rc_stamp` (~92 tokens)

Mark docs verified

Mark docs verified against the current commit (verified_by: agent). Only after you have read the code and updated each doc so it matches; commit the code first — docs with uncommitted code changes are refused. Name every doc (module slug or core doc name such as STATE).

Input parameters:

- `docs` (array, required): module slugs or core doc names you re-checked, e.g. ["billing", "STATE"]

### `rc_verify` (~72 tokens)

Am I done?

Am I done? Checks the knowledge layer: doctor errors and warnings, stale or broken docs, the Freshness Score. Ends with PASS or FAIL. Call before finishing a task that changed code or docs; pass docs to check only those.

Input parameters:

- `docs` (array): module slugs or core doc names (optional)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/awalhadi-repocanon/repocanon#diagnostics

## Score history

- 2026-11-30: 86
- 2026-11-29: 86
- 2026-11-28: 86
- 2026-11-27: 86
- 2026-11-26: 86
- 2026-11-25: 85
- 2026-11-24: 85
- 2026-11-23: 84
- 2026-11-22: 84
- 2026-11-21: 78
- 2026-11-20: 83
- 2026-11-19: 83
- 2026-11-18: 82
- 2026-11-17: 82
- 2026-11-16: 81
- 2026-11-15: 81
- 2026-11-14: 80
- 2026-11-13: 80
- 2026-11-12: 79
- 2026-11-11: 79
- 2026-11-10: 78
- 2026-11-09: 78
- 2026-11-08: 72
- 2026-11-07: 77
- 2026-11-06: 77
- 2026-11-05: 76
- 2026-11-04: 76
- 2026-11-03: 75
- 2026-11-02: 60
- 2026-11-01: 69

## Common questions

### What is the RepoCanon MCP server?

RepoCanon is an MCP server listed in the public MCP registry as io.github.awalhadi/repocanon. AGENTS.md and project memory for AI coding agents that stays correct: rules checked against git. This page covers its npm package (repocanon).

### Is the RepoCanon MCP server safe to use?

RepoCanon scores 86 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 30 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the RepoCanon MCP server expose?

RepoCanon exposes 10 tools: rc_context, rc_module, rc_find_owner, rc_status, rc_prepare_fill, and 5 more. Their descriptions and schemas cost roughly 903 tokens of context every time the server is loaded.

### Is the RepoCanon MCP server still maintained?

RepoCanon is still listed as active in the MCP registry. We last reached this channel on 30 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the RepoCanon MCP server under?

RepoCanon declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the RepoCanon MCP server?

VerifyMCP ran 16 checks on RepoCanon, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/repocanon
- Socket report: https://socket.dev/npm/package/repocanon
- Repository: https://github.com/awalhadi/repo-canon
- Website: https://github.com/awalhadi/repo-canon/blob/main/docs/MCP.md
- Changelog RSS feed: https://verifymcp.io/servers/awalhadi-repocanon/repocanon.xml
- Changelog JSON feed: https://verifymcp.io/servers/awalhadi-repocanon/repocanon/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/awalhadi-repocanon/repocanon.json
- HTML version of this page: https://verifymcp.io/servers/awalhadi-repocanon/repocanon
