npm_check_auth
Check npm authentication before publishing. Returns token capability and headless publish viability, including terminal commands when OTP entry 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 | |||