Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.dir-ai/repotector

NPM · REPOTECTOR · SCANNED SEP 21

The repo guardian AI agents handshake with before they touch your code.

Available components

0 this week 91 Trust /100
Trust breakdown (7 categories)

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. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 31 of 96 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to dir-ai/repotector). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 64 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability79
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 1192 tokens (~59/item across 20 items; 20 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management87
  • Stability observed for 26 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage85
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 56% of tool parameters carry a description.Partial
Tool Safety75
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "merge_check" implies "merge" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
  • An AI judge read all 21 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the io.github.dir-ai/repotector MCP server?

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

npm · repotector

# add to Claude Code
claude mcp add dir-ai-repotector -- npx -y repotector
// .cursor/mcp.json
{
  "mcpServers": {
    "dir-ai-repotector": {
      "command": "npx",
      "args": [
        "-y",
        "repotector"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "dir-ai-repotector": {
      "command": "npx",
      "args": [
        "-y",
        "repotector"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add dir-ai-repotector -- npx -y repotector
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dir-ai-repotector": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "repotector"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add dir-ai-repotector --command npx --arg -y --arg repotector
# ~/.hermes/config.yaml
mcp_servers:
  dir-ai-repotector:
    command: "npx"
    args: ["-y", "repotector"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "dir-ai-repotector": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "repotector"
      ]
    }
  }
}
# add to Vellum
assistant mcp add dir-ai-repotector -t stdio -c npx -a -y repotector
// mcp.json
{
  "mcpServers": {
    "dir-ai-repotector": {
      "command": "npx",
      "args": [
        "-y",
        "repotector"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 20 Sept 26 +1

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

  • 19 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 18 Sept 26 +1
    • Stability: 0.97 → pass security
  • 16 Sept 26 +1
    • Security disclosure: unverified → pass functional
  • 15 Sept 26 0
    • Security disclosure: pass → unverified functional
  • 13 Sept 26 +1

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

  • 12 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 11 Sept 26 +1
    • Stability: 0.97 → pass security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 21 Sept 2026 · Analysed npm/repotector@1.6.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem npm
Reason Verified
Discovered via Registry attestation endpoint
Source repo dir-ai/repotector
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/dir-ai/repotector/.github/workflows/publish.yml@refs/tags/v1.6.0
Rekor log index 2195084631
Predicate type https://slsa.dev/provenance/v1
Subject digest sha512:85d3a0b9c09f058e825c42d5429ac7d3709c6d3329ffc4e02c2686d05e0a2dcdf2bb17e8040d1cb4240b80e875aa52de691534e3fb6a831656bdd4f5b

Background: How many MCP packages publish verified provenance →

Dependencies 96 packages
Packages resolved 96
Stale 31
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 20 exposed · ~1,114 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
atlas_query ~28

Keyword search across the repo map (paths, exports, purposes).

NameTypeReqDescription
querystringyes

No output schema declared.

No examples provided.

blast_radius ~43

Compute transitive dependents, impacted routes and components for changed files. Omit changedFiles to use git diff. Call before editing.

NameTypeReqDescription
changedFilesarray

No output schema declared.

No examples provided.

canon_check ~34

Check changed files against the repo canon rules. Omit changedFiles to use git diff.

NameTypeReqDescription
changedFilesarray

No output schema declared.

No examples provided.

city_map ~44

The info-point: DNA intent, brain pointers (atlas/genome/phenome), skeleton, and built-vs-missing so you can continue work without re-exploring.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

claim ~73

Declare the paths you are working on so other agents stay out. Advisory: conflicts are surfaced, not blocked. Claims expire with your session or TTL.

NameTypeReqDescription
pathsarrayyesPath globs you are claiming, e.g. ["src/auth/**"]
reasonstringOne line: what you are doing there.

No output schema declared.

No examples provided.

decisions_query ~61

Query the deliberate choices made in this repo (what was chosen, over what, why). Consult BEFORE undoing an existing pattern or dependency.

NameTypeReqDescription
limitnumber
topicstringFilter, e.g. "database" or a path.

No output schema declared.

No examples provided.

declare_mission ~131

Bind goal + acceptance criteria + work zone to your session BEFORE working. Auto-claims your zone (conflicts surfaced), returns a one-shot briefing (gates, merge status, standing decisions, protected overlaps). depart() then reconciles the evidence against THIS contract.

NameTypeReqDescription
acceptancearrayyesVerifiable acceptance criteria.
claimPathsarrayThe zone you will touch, e.g. ["src/auth/**"].
forbiddenPathsarrayZones you commit to NOT touch.
goalstringyesWhat this visit must achieve, one sentence.
riskstring

No output schema declared.

No examples provided.

depart ~95

Log your exit in the visitor register with a one-line summary of what you did. Call this when you finish.

NameTypeReqDescription
acceptanceReportarrayYour self-report per mission acceptance criterion (marked agent-declared, distinct from machine-verified checks).
decisionsarrayDeliberate choices made this session, so the next agent does not undo them.
summarystringOne line: what you changed or concluded.

No output schema declared.

No examples provided.

dna_coverage ~41

Per specified clause: implemented / partial / missing / unmapped, computed from its claims vs the Atlas. The single source of built-vs-missing truth.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

dna_diff ~55

Given changed files (omit to use git diff), which specified clauses they implement/modify, and which files are off-DNA (claimed by no clause). Deterministic — no semantic guessing.

NameTypeReqDescription
changedFilesarray

No output schema declared.

No examples provided.

dna_query ~66

Read the intent layer. Returns clauses of what was specified, marked authored (PSX Workbench mirror) or inferred (reverse-DNA, with confidence + sources) — never merged. Filter by clause id or topic.

NameTypeReqDescription
clausestring
topicstring

No output schema declared.

No examples provided.

find_existing ~32

Search the Atlas for code that already implements an intent. Call before building anything new.

NameTypeReqDescription
intentstringyes

No output schema declared.

No examples provided.

handshake ~105

Front door. Declare who you are; you are logged into the visitor register and handed the ground rules, live gate, city-map summary, and a passport. Call this FIRST, before any other tool.

NameTypeReqDescription
modelstringYour underlying model, if distinct from `who`.
purposestringOne line on why you are here.
whostringyesWho you are: agent name / model / operator, e.g. "claude-code@dir".

No output schema declared.

No examples provided.

journal ~49

The diario di bordo: recent visits with what each agent did and left unfinished (from the visitor register). Read it to continue prior work instead of re-deriving it.

NameTypeReqDescription
limitnumber

No output schema declared.

No examples provided.

merge_check ~77

Runs a zero-damage trial merge (git merge-tree) of HEAD against the integration base and reports clean/conflicted with the exact files, attributed to who holds each zone (claims + Merge Machine leases). Call BEFORE committing when other agents work in parallel.

NameTypeReqDescription
targetstringIntegration base ref (default: branch upstream or origin default).

No output schema declared.

No examples provided.

quality_gates ~27

Run line-budget, structure, and secret-hygiene gates. Returns the proof verdict.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

register ~35

See who has entered/left the repo and who is currently inside. The full arrival/exit log.

NameTypeReqDescription
limitnumber

No output schema declared.

No examples provided.

release ~17

Release every work-zone claim held by this session.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

unlock ~43

Present the repo passphrase to unlock the gated deep-map tools for this session. Only needed if the repo is locked.

NameTypeReqDescription
passphrasestringyesThe repo passphrase.

No output schema declared.

No examples provided.

whats_next ~58

Suggests the sensible next work, derived (never invented) from DNA coverage gaps, open threads in recent departs, and TODO/FIXME markers. Every suggestion cites its evidence; an empty answer is valid.

NameTypeReqDescription
limitnumber

No output schema declared.

No examples provided.

Common questions

What is the io.github.dir-ai/repotector MCP server?

io.github.dir-ai/repotector is an MCP server listed in the public MCP registry as io.github.dir-ai/repotector. The repo guardian AI agents handshake with before they touch your code. This page covers its npm package (repotector).

Is the io.github.dir-ai/repotector MCP server safe to use?

io.github.dir-ai/repotector scores 91 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. 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 io.github.dir-ai/repotector MCP server expose?

io.github.dir-ai/repotector exposes 20 tools: handshake, unlock, depart, register, city_map, and 15 more. Their descriptions and schemas cost roughly 1,114 tokens of context every time the server is loaded.

Is the io.github.dir-ai/repotector MCP server still maintained?

io.github.dir-ai/repotector is still listed as active in the MCP registry. We last reached this channel on 21 September 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 io.github.dir-ai/repotector MCP server under?

io.github.dir-ai/repotector declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.