get_log_files
Get a paginated list of available log files in the specified directory with filtering options
An activity log for AI coding sessions — commands, code generation, file edits, errors and decisions written as searchable JSON with the intention behind each one.
LABSCO SUMMARY
Git tells you what changed; this records why the assistant did it and what it was working on at the time, in a field that is required rather than optional. That is what makes search_logs worth running at the start of a session — filtering by type and date gets you back the reasoning, not just the diff. The catch is that nothing logs automatically: without an instruction in your rules file the server sits idle.
An MCP server that gives a coding assistant somewhere to record what it did and why. Each entry is JSON on disk with a summary, structured details, the intention behind the action and the surrounding context, linked to a parent entry and to related entries — so a later session can search the history and pick the work back up.
command_execution, code_generation, file_operation, error_encountered, decision_made, conversation — with summary, intention, context and free-form details, at a level of debug, info, warn or error — log_activityparentId for nesting, sequence for order, and relatedIds for grouping work that belongs togetherget_log_filessearch_logsNo account and no key — it writes to your own filesystem. Every tool takes logsDir as an absolute path; relative paths are not accepted. The npm package name is roo-activity-logger (0.2.0) and it runs without cloning via npx -y github:annenpolka/roo-logger. Logging only happens if the assistant is told to do it, so add a rule to your CLAUDE.md or your Cline/Roo-Code rule file instructing it to log through this server and to search the logs before starting.
One command — npx -y github:annenpolka/roo-logger
USE CASES
Search the logs for the recent entries on this project and read back the intentions and decisions, instead of reconstructing them from the diff.
Filter for error_encountered entries in a date range and read the context recorded alongside each one.
Log decision_made entries as they happen, with the intention and the alternatives in the details, so the reasoning survives the session.
Give related entries a shared parent id and sequence numbers, then retrieve the whole chain later as a single piece of work.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_log_filesGet a paginated list of available log files in the specified directory with filtering options
log_activityRecord an activity log entry with structured data for tracking development activities, decisions, and context
search_logsSearch and filter activity logs with various criteria including date ranges, text search, and activity relationships
BEFORE YOU INSTALL
3 tools when we connected.
npx on PATH
All 3 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 3 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
# Clone the repo
git clone https://github.com/annenpolka/roo-logger.git
cd roo-logger
# Install dependencies
npm install
# Build
npm run buildnpx -y github:annenpolka/roo-logger{
"mcpServers": {
"roo-activity-logger": {
"command": "npx",
"args": [
"-y",
"github:annenpolka/roo-logger"
],
"env": {},
"disabled": false
}
}
}