Local · free · open source

Prune your logs.

The context layer for AI debugging. Point Roka at any log file and get back only the lines that matter — collapsed, ranked, and packed to your token budget.

Open source Works offline
bash — deploy.log
$

10-line excerpt of a 12,847-line file — Roka prunes the same way at full scale.

Install Roka

One command installs the local CLI. Detects your OS and architecture automatically — no sudo required.

INSTALL ROKA

Installs the roka binary on your PATH.

terminal
$

                        
verify
$

                        
prune
$

                        

MCP · Pro

Connect Roka to your AI agent

MCP requires a valid API key — connect requires a Roka API key. Free path: install the CLI above. Need an API key? Get an API key, then run one connect command for your agent.

CONNECT MCP
  • →Requires a Pro API key (--api-key or ROKA_API_KEY). Package is on npm: roka-mcp.
  • →Writes the MCP config for your agent automatically (Claude Code, Cursor, Codex, Copilot).
  • →Exposes prune_file, prune_logs, and prune_tail as tools.
  • →Watch mode: npx roka-mcp watch ./logs/dev.log --on-crash --api-key rk_live_...