npm: Auth Status
npm_auth_statusCheck npm authentication status to diagnose missing tools: reveals token source, account, 2FA state, write access, and cached OTP, plus trusted-publishing blockers before attempting actions.
Instructions
Report what this server can and cannot do: whether a token is configured and where it came from, which npm account it belongs to, whether two-factor authentication is on, whether writes are enabled, and whether a one-time password is currently cached. Call this first when a tool you expected is missing — an absent tool means missing configuration rather than a bug. The trusted_publishing_available field and its blockers list answer, without spending a call, whether the trusted-publisher tools can work at all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||