Skip to content

Add --prefer-online to npx examples in README#9

Merged
critesjosh merged 1 commit intomainfrom
docs/prefer-online-in-config
Mar 4, 2026
Merged

Add --prefer-online to npx examples in README#9
critesjosh merged 1 commit intomainfrom
docs/prefer-online-in-config

Conversation

@critesjosh
Copy link
Collaborator

Summary

  • Updates all npx config examples in the README to include --prefer-online
  • Without this flag, npx resolves @latest once, caches it in ~/.npm/_npx/, and reuses it indefinitely — users get stuck on old versions silently

Context

Companion to critesjosh/aztec-claude-plugin#7 which applies the same fix to the plugin's .mcp.json. This PR updates the README so anyone configuring the server manually also gets the correct args.

Test plan

  • Verified npx --prefer-online -y @aztec/mcp-server@latest launches correctly

🤖 Generated with Claude Code

npx caches the resolved @latest version and reuses it indefinitely,
so users can get stuck on old versions. --prefer-online forces a
registry check before falling back to cache.

Also renames aztec-local to aztec-mcp in config examples and updates
version references to v4.0.0-devnet.2-patch.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@critesjosh critesjosh force-pushed the docs/prefer-online-in-config branch from b4c5c91 to 624fe4a Compare March 4, 2026 01:49
@critesjosh critesjosh merged commit ef65ce1 into main Mar 4, 2026
6 checks passed
@critesjosh critesjosh deleted the docs/prefer-online-in-config branch March 4, 2026 01:50
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🎉 This PR is included in version 1.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant