whoami
Check which npm user is currently authenticated. If not logged in, configure the NPM_TOKEN environment variable in your MCP settings to enable authentication.
Instructions
Check which npm user is currently authenticated. If not logged in, set NPM_TOKEN env var in MCP config.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||