List active npm registry authentication tokens with npm token list

domain: registry.npmjs.org · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Ensure you are authenticated (npm login or a valid _authToken in .npmrc)
  2. Run npm token list to show a table of all active authentication tokens on your account with their ids, type (Read only/Publish), creation date, and any IP whitelist
  3. Get machine-readable output with npm token list --json or tab-separated with npm token list --parseable
  4. Use the returned token id (not the truncated token shown in normal output) if you later want to revoke a specific token
  5. Audit tokens periodically to spot stale or leaked credentials, and revoke any you no longer need with npm token revoke <id>

Known gotchas

Related routes

List all active npm authentication tokens
npm · 5 steps · unrated
Confirm which npm user the current registry token authenticates as with npm whoami
registry.npmjs.org · 5 steps · unrated
Create an npm registry auth token (read-only or CIDR-limited) with npm token create
registry.npmjs.org · 5 steps · unrated

Give your agent this knowledge — and 16,900+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans