Skip to main content

Overview

Authenticate with SuperBox using Firebase authentication. Supports email/password, Google OAuth, and GitHub OAuth.
Authentication tokens are stored in ~/.superbox/auth.json

Commands

superbox auth register

Create a new SuperBox account.
Process:
  • Prompts for email and password
  • Creates Firebase account
  • Automatically logs you in
  • Stores tokens locally
Example:

superbox auth login

Log in to your SuperBox account.

Options

string
default:"email"
Authentication provider: email, google, or github
string
Email address (for email provider only)
string
Password (for email provider only)

Email/Password Login

OAuth Device Flow (Google/GitHub)

1

Initiate OAuth Flow

2

Browser Opens

Browser opens to device verification page
3

Complete Authorization

Authorize in browser, CLI detects completion automatically
4

Token Stored

Authentication tokens saved to ~/.superbox/auth.json
Example:

superbox auth status

Check current authentication status.
Example:

superbox auth refresh

Manually refresh authentication token.
Example:

superbox auth logout

Log out from current session.
Example:

Troubleshooting

Manually visit the URL and enter the code:

Next Steps

Initialize Project

Create MCP server

Push Server

Publish to marketplace