The GitHub Actions workflow requires an NPM token with publish permissions.
- Go to npmjs.com and sign in
- Click your avatar → Access Tokens
- Generate New Token → Classic Token
- Select "Publish" permission
- Copy the token
To allow GitHub Actions to publish without OTP:
- Go to npmjs.com → Account Settings
- Under "Two-Factor Authentication"
- Change "Require two-factor authentication for" to "Authorization only"
- This allows automation tokens to publish without OTP
Alternative: If you must keep OTP for publishing:
- Use
npm publish --otp=123456locally - GitHub Actions automation won't work with OTP enabled for publishing
- Go to your repository on GitHub
- Settings → Secrets and variables → Actions
- New repository secret
- Name:
NPM_TOKEN - Value: Your npm token
If you need to publish manually:
# With OTP disabled for automation
npm publish --access public
# With OTP enabled
npm publish --access public --otp=123456- Add a Personal Access Token with
reposcope to repository secrets asGH_PAT - Push to main branch
- GitHub Actions will automatically:
- Build and test
- Bump version
- Publish to npm
- Create git tag
- Go to Actions → Simple Release → Run workflow
- Select version type (patch/minor/major)
- GitHub Actions will:
- Build and test
- Publish to npm with new version
- Create GitHub release
# Bump version locally
npm version patch
# Build
npm run build
# Publish
npm publish --access public
# Push tags
git push --follow-tagsThe package will be available at:
npm install @just-every/mcp-read-website-fast