Problem
The "Publish to NPM" GitHub Actions workflow is failing because the NPM authentication token stored in repository secrets has expired or been revoked.
Error Message
npm notice Access token expired or revoked. Please try logging in again.
npm error code E404
npm error 404 Not Found - PUT https://registry.npmjs.org/@cognitionai%2fmetabase-mcp-server - Not found
Failed Workflow Run
https://github.com/CognitionAI/metabase-mcp-server/actions/runs/21035937246
Resolution Steps
A repository maintainer with admin access needs to:
-
Generate a new NPM access token:
- Log in to npmjs.com
- Go to Access Tokens settings
- Create a new "Automation" or "Publish" token with appropriate permissions for the @CognitionAI scope
-
Update the GitHub repository secret:
- Go to repository Settings → Secrets and variables → Actions
- Update the NPM_TOKEN secret (or whatever the token is named) with the new value
-
Re-run the failed workflow to verify the fix
Problem
The "Publish to NPM" GitHub Actions workflow is failing because the NPM authentication token stored in repository secrets has expired or been revoked.
Error Message
Failed Workflow Run
https://github.com/CognitionAI/metabase-mcp-server/actions/runs/21035937246
Resolution Steps
A repository maintainer with admin access needs to:
Generate a new NPM access token:
Update the GitHub repository secret:
Re-run the failed workflow to verify the fix