Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/MilindGaharwar/fettleWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/milindgaharwar/fettle/mcp-revoke)<a href="https://agentmods.dev/commands/milindgaharwar/fettle/mcp-revoke"><img src="https://agentmods.dev/badge/commands/milindgaharwar/fettle/mcp-revoke.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.00400 |
| Opus 5 | $0.00009 | $0.00200 |
| Sonnet 5 | $0.00003 | $0.00080 |
| Haiku 4.5 | $0.00002 | $0.00040 |
Grade B, and why
mcp-revoke scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Writes to a temp file then sudo copies it to the ledger path This is a copy
88% identical to fettle-mcp-revoke — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Remove a package from the root-owned allowlist ledger.
Procedure
-
Parse arguments. Extract package name from $ARGUMENTS (e.g.,
@playwright/mcp). -
Locate and check the ledger. The allowlist lives at
~/.config/fettle/mcp-allowlist.jsonby default (a policy-pinned[gates.mcp_trust].allowlist_pathwins; otherwise theMCP_ALLOWLIST_PATHenv var). Read it and verify the package exists underpackages. If not found, report and stop. -
Show current entry. Display the package's version, audit date, auditor, and report path.
-
Confirm with human. Ask: "Are you sure you want to revoke from the allowlist? This will block all future installations and executions."
-
If confirmed, remove from ledger via sudo. Use a Python script that:
- Reads the current allowlist ledger
- Removes the package entry from the packages dict
- Writes to a temp file then sudo copies it to the ledger path
- Sets ownership to root:root and permissions to 0644
-
Confirm the ledger was updated by reading it back and verifying the package is no longer listed.
-
Report what was removed and remind the user that:
- Any installed instance of this package will still exist on disk
- Future attempts to install or execute it will be blocked by all 3 layers
- To fully remove it, also uninstall the package manually
Rules
- NEVER revoke without explicit human confirmation in the conversation.
- Always show what is being removed before asking for confirmation.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 37 lines · 17 tokens per session scan B 1c50b074567b
mcp-revoke is a command published in the GitHub repository MilindGaharwar/fettle (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 17 tokens to every session and 400 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 88% identical to fettle-mcp-revoke, differing in 9 lines, and is treated as a copy.
Other commands, from other repositories
scout-scan
Scan a path with Scout and walk through the security findings.
kb-ingest
Ingest external material into Sources/ inside the bound project KB, then update registry, index, and daily note as needed.
atomic-plan
Write a design doc (concepts, business rules, approaches) and a checkpoint-table spec (contract) for non-trivial work; inline spec only for trivial. Gauges triviality; loops spec authoring with subagents. Human-facing artifact, Mermaid diagrams allowed.
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
afo
Open feature worktree in terminal and start agent (shortcut for feature-open).
ai-review
AI code review of the staged git diff via the Claude API.