---
title: "Account commands"
description: "Who you are, keys, the company profile, usage, the wallet, the team, the stored login, MCP setup and a health check."
canonical: https://docs.mentio.dev/cli/account
markdown: https://docs.mentio.dev/cli/account.mdx
---

# Account commands

Who you are, keys, the company profile, usage, the wallet, the team, the stored login, MCP setup and a health check.

Who you are, keys, the company profile, usage, the wallet, the team, the stored login, MCP setup and a health check. Generated from the same OpenAPI document as the [API Reference](/api); ids are positional, every other input is a flag named as in the API, and each flag is described there. Global flags: `--api-key`, `--api-url`, `--pretty`, `--table`.

```bash
mentio auth:login
mentio auth:whoami
mentio api-keys:create --name ci --scope read --expiresAt 2026-12-31T00:00:00Z
mentio company:update --description "We build X for Y" --useCases "Ship Z without W" --competitors Globex,Initech
mentio usage:get
mentio billing:wallet
mentio billing:ledger --limit 50 --table
mentio billing:top-up --amountCents 5000
mentio members:invite --email ana@example.com --role member
mentio mcp:config --client cursor
mentio system:health
```

| Command                                 | What it does                                                                        | Flags                                                                                                                      |
| --------------------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `mentio api-keys:create`                | Create an API key                                                                   | `--name`, `--scope`, `--expiresAt`, `--json`                                                                               |
| `mentio api-keys:list`                  | List API keys                                                                       |                                                                                                                            |
| `mentio api-keys:revoke <id>`           | Revoke an API key                                                                   |                                                                                                                            |
| `mentio auth:whoami`                    | Introspect the credential                                                           |                                                                                                                            |
| `mentio billing:invoice-url <id>`       | Get a receipt link                                                                  |                                                                                                                            |
| `mentio billing:invoices`               | List receipts                                                                       |                                                                                                                            |
| `mentio billing:ledger`                 | List ledger entries                                                                 | `--cursor`, `--limit`                                                                                                      |
| `mentio billing:top-up`                 | Create a top-up checkout                                                            | `--amountCents`, `--successUrl`, `--json`                                                                                  |
| `mentio billing:wallet`                 | Get the wallet                                                                      |                                                                                                                            |
| `mentio company:get`                    | Get the company profile                                                             |                                                                                                                            |
| `mentio company:update`                 | Update the company profile                                                          | `--name`, `--description`, `--useCases`, `--accounts`, `--website`, `--competitors`, `--guidelines`, `--context`, `--json` |
| `mentio members:invitations`            | List pending invitations                                                            |                                                                                                                            |
| `mentio members:invite`                 | Invite a member                                                                     | `--email`, `--role`, `--json`                                                                                              |
| `mentio members:list`                   | List members                                                                        |                                                                                                                            |
| `mentio members:remove <id>`            | Remove a member                                                                     |                                                                                                                            |
| `mentio members:revoke-invitation <id>` | Revoke an invitation                                                                |                                                                                                                            |
| `mentio system:health`                  | getHealth                                                                           |                                                                                                                            |
| `mentio usage:breakdown`                | Get the usage breakdown                                                             | `--by`, `--range`, `--month`, `--from`, `--to`, `--keywordIds`, `--groupIds`, `--platforms`, `--limit`, `--offset`         |
| `mentio usage:get`                      | Get usage and balance                                                               |                                                                                                                            |
| `mentio auth:login`                     | Sign in through the browser: the dashboard mints a key and hands it to the terminal | `--scope`, `--name`, `--no-open`, `--app-url`, `--timeout`                                                                 |
| `mentio auth:set`                       | Store an API key, and optionally the API host, in \~/.mentio/config.json            | `--key`, `--url`                                                                                                           |
| `mentio auth:check`                     | Verify the key: which workspace it belongs to and where it came from                |                                                                                                                            |
| `mentio auth:logout`                    | Remove the stored key                                                               |                                                                                                                            |
| `mentio mcp:config`                     | Print the MCP client configuration with the key filled in                           | `--client` (claude, cursor, vscode, generic), `--url`                                                                      |
