npm_check_auth
Checks npm auth before publishing, returns token capability and headless publish availability, and provides the exact terminal command for a human to run when browser-based verification is required.
Instructions
Quick auth health check — returns structured data about npm auth status, token capability, and whether headless (CI/agent) publishing is possible. Run this BEFORE attempting any publish operation. Returns canPublishHeadless boolean and a clear recommendation.
MCP servers are called by AI agents which CANNOT open browsers or enter OTP codes. This tool detects that and provides the exact terminal command for the human to run instead of suggesting unworkable retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||