mcpak mcpak

Authentication

Register, log in, and manage your registry authentication tokens.

Register

Create a new account on the registry. Your token is generated server-side and stored locally:

mcpak register <username>

The token is saved to ~/.mcpak/auth.json. Keep this token safe — it cannot be recovered if lost (but can be regenerated).

Login

If you already have a token (e.g., from another machine), log in:

mcpak login

You'll be prompted to enter your token. The CLI verifies it with the registry and saves it.

Check identity

Verify which user you're authenticated as:

mcpak whoami

Token management

Tokens are stored in ~/.mcpak/auth.json. Each registry has its own token entry.

If you need to regenerate your token, you can do so from your account page on the web, or via the API.