Terminal commands
The bud and bloom commands run every tool from a shell, with JSON output for scripts and CI.
bud and bloom come with a global install and work without an MCP client.
Sign in
Section titled “Sign in”bud auth login --url https://bud.example.combloom auth login --url https://bloom.example.comThe command prints a link and a request code, opens the browser and waits until you approve or deny. --no-browser only prints the link. --code uses code mode where the operator enabled it. No token or code is ever passed as an argument.
bud auth login --url https://bud.client.example.com --profile clientbud auth statusbud auth profile listbud auth profile default clientbud auth logout --profile clientRun a tool
Section titled “Run a tool”Every resource tool is a command: its name without the product prefix, split at underscores. Input fields are options with hyphens for underscores.
bud runs list --limit 5bud runs stats --days 7 --suite smokebloom requirements get --requirement-id 12bloom docs get by ref --project-ref PRJ --kind-slug requirements --doc-id-str PRJ-REQ-001bud runs stats --helpNumbers and booleans are parsed; object and array fields take JSON; --input <file> or --input - gives the whole input as a JSON object. The tool’s input schema checks the input before a request is sent. Results print as JSON; errors go to standard error with exit code 1.
BUD_URL=https://bud.example.com BUD_TOKEN="$BUD_TOKEN" bud runs stats --days 1 > stats.jsonA token works for its lifetime only (30 minutes by default), which suits a single CI job.


