Get a License
Purchase a MastraKit license to scaffold and deploy your project
License Key
A license key is required to use the MastraKit CLI. The key grants access to download the project template and scaffold new projects.
Purchase
Visit mastrakit.dev to purchase a license.
After purchase, you'll receive a license key in the format:
sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxKeep this key safe — it's shown only once at creation.
Usage Limits
- Each key has a scaffold limit (varies by plan)
- Rate limit: 10 scaffolds per hour
- Keys can be revoked if misused
Support
If you have questions about your license or need help, contact support@mastrakit.dev.
Using Your License Key
Pass your key to the CLI in one of two ways:
Option 1: Inline Flag
npx mastrakit my-project --key sk_live_your_key_hereOption 2: Environment Variable
export MASTRAKIT_LICENSE_KEY=sk_live_your_key_here
npx mastrakit my-projectSetting the environment variable is recommended if you scaffold multiple projects — add it to your shell profile (~/.zshrc or ~/.bashrc) so you don't need to pass it every time.
What Happens During Validation
When you run npx mastrakit:
- The CLI sends your key to the license API for validation
- On success, a time-limited download token is issued (5-minute expiry)
- The project template is downloaded and cached locally at
~/.mastrakit/templates/ - Subsequent scaffolds reuse the cached template if the version hasn't changed
The raw key is never stored — only a hash is sent for verification.