Skip to main content
The Bota CLI lets you manage end users, devices, recordings, and webhooks directly from your terminal. It also bundles an MCP server so one install covers both human and AI workflows.

Authentication

Opens your browser to the Bota dashboard, where you select a project and click Authorize. The CLI saves a secret API key to ~/.bota/config.json automatically.

Headless / CI

Pass your API key directly — no browser required. Useful in CI environments.

Check status

Shows the active key and confirms it’s valid against the API.

Logout

Removes the saved key from ~/.bota/config.json.

Commands

End Users

Devices

Recordings

Webhooks

Webhook forwarding

Forward live webhook events to a local server — useful during integration development:

Trigger test events

Fire a test webhook event without needing real device activity:

MCP server (stdio)

Expose all CLI commands as MCP tools for AI assistants that support stdio transport:
Add to Claude Code:

Global flags

FlagDescription
--api-url <url>Override the API base URL (default: https://api.bota.dev)
--dashboard-url <url>Override the portal URL used for browser login
--jsonOutput raw JSON instead of formatted tables

Example: point at a different environment


Output formats

By default the CLI prints human-readable tables. Add --json to get raw JSON for scripting:

Configuration file

Credentials are stored in ~/.bota/config.json:
apiUrl is only written when using a non-default environment. You can also use environment variables instead of the config file: