Skip to content
youdede

Re-pin MCP tools

DevelopmentCommandv1.0.0

A maintainer slash command that compares a bounded tools/list observation with the generated registry, produces a content digest, pauses for exact human confirmation, then updates source pins and records review evidence.

Runs on

Scope
$npx @youdede/toolkit add re-pin-mcp-tools --target claude-code

What it does

Review an observed MCP tool inventory and update source pins only after exact human confirmation.

When it fires

  • maintenance
  • review

How it behaves

Require a clean toolkit source worktree and the MCP verification inputs before review begins.

Compare a bounded observed tool inventory with pins and produce a deterministic confirmation digest.

It does not accept a pin change without an exact human repetition of the deterministic proposal digest.

It does not widen egress, secret access, transport, runtime launch, or tool mutation authority.

It does not treat MCP annotations or descriptions as enforcement and does not skip the full repository checks.

Configuration

scripts/check-preconditions.mjsnode · none

scripts/propose-repin.mjsnode · read-only

Version
1.0.0
Requires
node
Licence
RiskIt changes source MCP pins after an exact human digest confirmation, altering future tool trust decisions.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Deterministic and prompt
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe command follows a precondition check and multiple workflow steps while it reviews an observed MCP tool inventory and updates source pins only after exact human confirmation.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Kept locally, bounded

Often used with

All in Development