Roo Activity Logger, an MCP server for logging AI coding assistant activities

Roo Activity Logger, an MCP server for logging AI coding assistant activities

roo-logger•byannenpolka

An MCP server that automatically records AI coding assistant activities such as command executions and code generation as searchable JSON logs.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Saves activity history as JSON files that can be searched and analyzed later.
  • •Provides a log_activity tool that records activities with summary, intention, context and optional details.
  • •Provides a get_log_files tool that lists saved log files recursively with configurable depth.
  • •Provides a search_logs tool to search saved logs with filters such as type, level and date range.

BEST FOR

  • •Restoring context when resuming a task by reviewing past intentions and progress.
  • •Reviewing existing logs to identify current tasks.

ABOUT ROO-LOGGER

Roo Activity Logger, an MCP server for logging AI coding assistant activities is cataloged as an MCP server attributed to annenpolka. An MCP server that automatically records AI coding assistant activities such as command executions and code generation as searchable JSON logs. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Roo Activity Logger, an MCP server for logging AI coding assistant activities are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does log_activity require to save a log?

It requires a type, summary, intention, context, and an absolute logsDir path; level and details are optional.

Can I filter search results by date?

Yes, search_logs supports optional startDate and endDate filters in YYYY-MM-DD format.

Upstream README

View this exact version on GitHub

README.md · 6ebede5ebd8e · Fetched 2026-11-13 09:54:01 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Roo Activity Logger

日本語版はこちら | 中文版

TL;DR

  • What is it? — This is an MCP server that automatically logs AI coding assistant activities such as command executions and code generation (supports Roo Code, Cline, Claude Code, etc.).
  • What does it do? — It saves activity history as JSON files, which you can search and analyze later.
  • How do I use it? — Add it to your Claude Code, Cline, or Roo-Code settings to enable automatic activity logging.

Overview

Roo Activity Logger is an MCP (Model Context Protocol) server that automatically records AI coding assistant development activities — including command executions, code generation, file operations, and more. It supports Claude Code, Cline, Roo-Code, and other MCP-compatible AI assistants. All logs are saved in JSON format, making it easy to search, analyze, and restore context at any time.

How activity logging works

flowchart TD
    A[Roo's Action] --> B[Select Activity Type]
    B --> C[Log via log_activity]
    C --> D[Provide Log Info<br>- Summary<br>- Details<br>- Intention<br>- Context]
    D --> E[Specify Save Directory]
    E --> F[Save as JSON file]

How to search logs and restore context when resuming a task

flowchart TD
    G[Resume Task] --> H[Search with search_logs]
    H --> I[Set Search Filters<br>- Type<br>- Date Range<br>- Text]
    I --> J[Retrieve Related Activities<br>- Parent/Child<br>- Sequence<br>- Related IDs]
    J --> K[Restore Context & Resume<br>- Review Past Intentions<br>- Understand Progress]

Sample Log Entry

Here is an example of a file_operation log entry saved as JSON:

{
  "id": "75add15d-8d5b-4e60-b327-fde785050c86",
  "timestamp": "2025-04-10T01:58:02.905Z",
  "type": "file_operation",
  "level": "info",
  "summary": "Inserted mermaid diagram into README.md",
  "details": {
    "file": "README.md",
    "operation": "insert_content",
    "insertedLines": "mermaid code block",
    "position": "after overview section"
  },
  "intention": "To visually explain the flow of saving and retrieving activities",
  "context": "Improving documentation for Roo Activity Logger",
  "parentId": "98280366-1de1-48e0-9914-b3a3409599b4"
}

Each log contains:

  • Log level (debug, info, warn, error)
  • Summary
  • Details (any structured data)
  • Intention / Purpose
  • Context information
  • Parent activity ID (for hierarchy)
  • Sequence number (for ordering)
  • Related activity IDs (for grouping)

Logs are:

  • Saved as date-based JSON files
  • Searchable by type, level, date, text, etc.
  • Customizable — you can specify different save directories per activity

Features

  • Logs various activity types:

    • Command executions (command_execution)
    • Code generation (code_generation)
    • File operations (file_operation)
    • Errors (error_encountered)
    • Decisions (decision_made)
    • Conversations (conversation)
  • Each activity log includes:

    • Unique ID
    • Timestamp
    • Activity type
    • Summary, details, intention, context, and optional metadata

You can run Roo Activity Logger directly without cloning the repository by using npx.

Add this to your Cline, Roo-Code, or Claude Code configuration:

{
  "mcpServers": {
    "roo-activity-logger": {
      "command": "npx",
      "args": ["-y", "github:annenpolka/roo-logger"],
      "env": {},
      "disabled": false
    }
  }
}

Then, add prompts to your rule files (for Cline/Roo-Code) or CLAUDE.md (for Claude Code) to ensure logging, for example:

## Important

Always log activities using roo-activity-logger according to the logging rules.

## Preparation

Check the current context with `git status`.

Then, use roo-activity-logger's `search_logs` to review existing logs and identify current tasks.

Be sure to perform the logging steps.

## Logging

- Always use roo-activity-logger for all logs
- Include stack traces and execution context
- Record intention and context

For Developers: Local Setup

To develop or customize locally, clone the repository and build:

# Clone the repo
git clone https://github.com/annenpolka/roo-logger.git
cd roo-logger

# Install dependencies
npm install

# Build
npm run build

Example configuration to use your local build:

{
  "mcpServers": {
    "roo-activity-logger": {
      "command": "node",
      "args": ["/path/to/your/local/roo-logger/dist/index.js"], // adjust path accordingly
      "env": {},
      "disabled": false
    }
  }
}

Notes

  • The specified directory will be created automatically if it does not exist.

MCP Tools

log_activity — Record an activity

A tool to record an activity.

Basic example

{
  "type": "command_execution",
  "summary": "Run npm command",
  "intention": "Update project dependencies",
  "context": "Preparing for new feature development",
  "logsDir": "/absolute/path/to/logs/activity"
}

Parameters

NameRequiredTypeDescription
typeYesstringActivity type (command_execution, code_generation, file_operation, error_encountered, decision_made, conversation)
summaryYesstringShort summary of the activity
intentionYesstringPurpose or intention
contextYesstringContext information
logsDirYesstringSave directory (absolute path only)
levelNostringLog level (debug, info, warn, error). Default: info
detailsNoobjectAdditional details (any JSON)
parentIdNostringParent activity ID
sequenceNonumberSequence number
relatedIdsNostring[]Related activity IDs

Detailed example

{
  "type": "file_operation",
  "summary": "Update README file",
  "intention": "Clarify documentation and improve usability",
  "context": "Improvements based on user feedback",
  "level": "info",
  "details": {
    "file": "README.md",
    "operation": "update",
    "changedLines": 15
  },
  "logsDir": "/absolute/path/to/logs/activity",
  "sequence": 3,
  "relatedIds": ["11223344-5566-7788-99aa-bbccddeeff00"]
}

get_log_files — List saved log files

Lists saved log files recursively. You can specify the maximum search depth.

Basic example

{
  "logsDir": "/absolute/path/to/logs"
}

Parameters

NameRequiredTypeDescription
logsDirYesstringDirectory to search (absolute path only)
limitNonumberMax files to retrieve (default: 10)
offsetNonumberNumber of files to skip (default: 0)
logFilePrefixNostringLog file prefix (default: "roo-activity-")
logFileExtensionNostringLog file extension (default: ".json")
maxDepthNonumberMax directory depth (default: 3)

search_logs — Search saved logs

Searches saved logs with various filters.

Basic example

{
  "logsDir": "/absolute/path/to/logs"
}
{
  "logsDir": "/absolute/path/to/logs",
  "type": "command_execution"
}

Parameters

NameRequiredTypeDescription
logsDirYesstringLog directory (absolute path only)
logFilePrefixNostringLog file prefix (default: "roo-activity-")
logFileExtensionNostringLog file extension (default: ".json")
typeNostringFilter by activity type (command_execution, code_generation, file_operation, error_encountered, decision_made, conversation)
levelNostringFilter by log level (debug, info, warn, error)
startDateNostringStart date (YYYY-MM-DD)
endDateNostringEnd date (YYYY-MM-DD)
searchTextNostringSearch text in summary or details
limitNonumberMax logs to retrieve (default: 50)
offsetNonumberNumber of logs to skip (default: 0)
parentIdNostringFilter by parent activity ID
sequenceFromNonumberSequence number lower bound
sequenceToNonumberSequence number upper bound
relatedIdNostringFilter by related activity ID
relatedIdsNostring[]Filter by any of related activity IDs

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Roo Activity Logger, an MCP server for logging AI coding assistant activities from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/roo-logger)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools