LogTap
wire your app logs straight into your AI coding agent
npx -y github:Isco0819/logtapEver run into this?
Devs constantly copy-paste log snippets into Cursor and Claude when debugging — it kills flow every single time. logdy (5k GitHub stars) and lnav (7k stars) proved the demand for better log UX, but no MCP layer exists yet to give agents direct read access to running app logs.
The fix
LogTap is an MCP server that tails your log files and exposes get_recent_logs, search_logs, and get_errors as native MCP tools — your agent pulls the context, you never touch the clipboard.
What it does
- get_recent_logs(n, file) — last N lines from any watched log file
- search_logs(pattern) — live regex search across all tailed files
- get_errors() — auto-surfaces lines matching ERROR / FATAL / Exception / panic