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.
npx agentmods add commands/sammcj/mcp-devtools/review-context7-updatesgit clone --depth 1 https://github.com/sammcj/mcp-devtoolsWhat 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 | $0.00000 | $0.00911 |
| Opus 5 | $0.00000 | $0.00456 |
| Sonnet 5 | $0.00000 | $0.00182 |
| Haiku 4.5 | $0.00000 | $0.00091 |
Grade A, and why
review-context7-updates scanned grade A with 0 findings 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
My package documentation tool provides context7 functionality so you don't have to use the official context7 mcp server as well.
There were some updates to the official context7 mcp server since I last looked and it and I'd like to task you with determining if any new features or improvements were added to it that we should consider replicating in our package-documentation tool.
The official context7 server is located at: $HOME/git/mcp/context7 (you may need to do a git pull to get the latest changes)
Your package documentation tool is located at: $HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/
Key Files to Review
Your Implementation:
$HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/client.go- API client and HTTP operations$HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/resolve_library_id.go- Library ID resolution tool$HOME/git/sammcj/mcp-devtools/internal/tools/packagedocs/get_library_documentation.go- Documentation fetching tool
Context7 Reference:
$HOME/git/mcp/context7/src/index.ts- Main MCP server implementation$HOME/git/mcp/context7/src/lib/api.ts- API client and HTTP operations$HOME/git/mcp/context7/src/lib/types.ts- Type definitions$HOME/git/mcp/context7/src/lib/utils.ts- Utility functions$HOME/git/mcp/context7/src/lib/encryption.ts- Security/encryption features (if exists)- Also check to see there's no other new files added since the last check that may be relevant
Please first review my package documentation tool to understand its capabilities, then review the changes in context7 to see if there are any gaps. If there are gaps or improvements we should look at please provide a summary and list of them here for me to consider, if we should implement them, and if so how we should do it ensuring we align with my projects existing code, patterns and configuration.
<EXAMPLE_SUMMARY note="Do not modify this section">
Changes since 479473a to 784ef42 (current) in context7:
- Proxy Support, new proxy support was added to context7 allowing it to work in enterprise environments
- Trust Score Prioritisation, context7 now allows prioritising sources based on trust scores using github stars and other metrics
- Client IP Encryption, context7 added support for encrypting client IPs for privacy
- HTTP Transport, context7 mcp server added support for HTTP transport in addition to STDIO
- Auth Headers, context7 added support for more complex authentication headers for various auth schemes
Recommendation
Implement:
- ✅ Proxy Support - Aligns with your enterprise-focused architecture
- ✅ Trust Score Prioritisation - Simple text changes
- ✅ Source Header - One line addition
Skip:
- ❌ Client IP Encryption - Adds complexity without clear benefit for your use case
- ❌ HTTP Transport - Your tool focuses on STDIO MCP integration
- ❌ Complex Auth Headers - Your current auth handling is sufficient
Implementation Steps (if approved):
- Add proxy configuration options to , ensuring we follow existing config patterns, e.g.
- ....
</EXAMPLE_SUMMARY>
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.
- yesterday First seen · 81 lines · 0 tokens per session scan A 9a26643f38fa
review-context7-updates is a command published in the GitHub repository sammcj/mcp-devtools (159 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 911 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
compact-prep
Ask the agent to prepare for conversation compaction by updating any relevant state and providing guidance for the compaction agent and to kick off the session there after.
execute
Execute queued goal chunks with capacity-aware workers.
init
Initialize goal-flight state for a project.
update
Refresh goal-flight itself + the worker CLIs it dispatches to. Two sweeps in one command: pull latest goal-flight from origin, then run each CLI's built-in update mechanism. Reports a diff table for both. Sweep 2 swaps worker binaries; its idle gate below protects those binary swaps specifically. Sweep 1 plugin pulls…
controller-behavior-test
Run scripted orchestrator behavior scenarios (Codex-first bash-tail harness).
doctor
Run procedural readiness checks for goal-flight.