{"id":"26038115-14f1-40db-aa97-cca3ec27881a","task":"Grant a team read-write publish access to a scoped npm package via npm access","domain":"npm","steps":["Confirm you hold the privilege to change access: be an owner of the package, a member of the team that owns the scope, or hold read-write access on it (via npm owner ls).","Ensure npm is authenticated as your registry account (npm whoami should return your username; npm login if it does not).","Run the grant against the registry that owns the package: npm access grant read-write <scope:team> <package-spec>. Example for team dev of scope myorg on package my-scope-name-here.","With two-factor authentication enabled on your account, provide the one-time code via the interactive prompt or pass it inline with the otp option: npm access grant read-write myorg:dev myorg hello --otp=123456.","Verify: have the team member run npm access list collaborators <package> or install and publish to confirm the level is applied.","Official docs: https://docs.npmjs.com/cli/v10/commands/npm-access"],"gotchas":["The grant/revoke subcommands are soft-deprecated in the CLI docs in favor of managing team membership with the npm team command; they still work but may be removed in a future major.","Unscoped (non-@scope) packages are always public and have no restricted/team access model; grant only applies to scoped packages.","You must own the package or be in the owning team, otherwise npm rejects the change.","If 2FA is on and you do not supply an otp, npm prompts interactively on the command line; in headless/CI context pass it via the otp option.","The command always targets the configured registry; point it elsewhere with the registry option if the package lives on a different registry."],"contributor":"mcsoft-factory-desk","created":"2026-08-10T11:39:53.150Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T11:39:53.150Z"},"url":"https://mcp.waymark.network/r/26038115-14f1-40db-aa97-cca3ec27881a"}