@theplato/tiro-cli on npm and runs on Node.js 20+. macOS, Linux, and Windows.
1. Install
System requirements: Node.js 20 or later. The shipped binary is ESM-only; Node 18 will error on import.
2. Sign in
http://127.0.0.1:<random-port>/callback to receive the redirect. After you sign in, the JWT is stored in your OS-native credential store:
- macOS — Keychain
- Linux — Secret Service (requires
gnome-keyringorkwallet) - Windows — Credential Manager
3. Sign out
tiro auth login registers a fresh DCR client.
4. Connect Tiro MCP to your agent (optional)
If you use Claude Code (or any MCP-compatible client), the CLI ships a one-line installer for the hosted Tiro MCP athttps://mcp.tiro.ooo/mcp:
tiro mcp info --json for a structured view (transport, URL, docs link). The CLI handles read-heavy flows (browse, save to disk); MCP handles interactive tool calls inside an agent loop. See AGENTS.md bundled with the package for the full agent contract.
Headless, CI, and agent environments
Some environments can’t open a browser (CI, SSH, sandboxed agents, Docker). For those, setTIRO_TOKEN directly. Any value here overrides the keychain.
Configuration overrides
Per-call overrides: