@theplato/tiro-cli. It gives you the same Tiro APIs as MCP, usable from a shell, CI, cron, or an agent.
Quick install
Which one to use
All three use the same OAuth and JWT, so credentials issued for one work with the others. See Authentication.
If you read and reason over notes inside a conversation, MCP is the better
fit. Use the CLI when you need results in a file or a pipe.
What you get
- Auth:
tiro auth login | status | logout— OAuth Authorization Code + PKCE with loopback redirect; tokens stored in OS Keychain. - Notes:
tiro notes list | search | get | transcript— covers the same surface as MCP’slist_notes/search_notes/get_note/get_note_transcript. - Wiki:
tiro wiki workspaces | search | page | mentions | graph— read the auto-extracted knowledge graph;--workspace <guid>targets a specific workspace. Paid/opt-in, mirroring the MCP wiki tools. - MCP-shape JSON:
tiro notes transcript --format jsonmirrors the MCPget_note_transcriptpayload exactly. Reuse your MCP parser unchanged. - File output: every retrieval command supports
--output <path>so the actual content goes to disk and stdout shrinks to a metadata line. Critical for keeping agent context windows light. - Stable error envelope: every error returns
{ ok: false, error: { code, message, suggestion?, errorType?, httpStatus?, requestId? } }with documented exit codes.
Architecture
Links
- npm: npmjs.com/package/@theplato/tiro-cli
- GitHub: github.com/plato-corp/tiro-cli
- Changelog: CHANGELOG.md
- Issues: github.com/plato-corp/tiro-cli/issues