# Trifle CLI ## Content # Trifle CLI The Trifle CLI lets you query and push metrics over the Trifle App API or local drivers (`sqlite`, `postgres`, `mysql`, `redis`, `mongo`). It also ships an MCP server mode for AI agents. For agent bootstrap flows, use: - `trifle auth ...` for signup/login bootstrap - `trifle source ...` for source creation/setup - `trifle token ...` for organization token management ## Quick links - [Installation](/trifle-cli/installation) - [Configuration](/trifle-cli/configuration) - [Getting Started](/trifle-cli/getting-started) - [Usage](/trifle-cli/usage) - [MCP server](/trifle-cli/mcp) - [Changelog](/trifle-cli/changelog) ## Example ```sh trifle metrics get \ --key event::signup \ --from 2026-01-24T00:00:00Z \ --to 2026-01-25T00:00:00Z \ --granularity 1h ```