Roo LoggerSAFE
An MCP server for logging activity in Roo Code/Cline.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
日本語版はこちら | 中文版
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- Summary- Details- Intention- 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- Type- Date Range- Text] I --> J[Retrieve Related Activities- Parent/Child- Sequence- Related IDs] J --> K[Restore Context & Resume- Review Past Intentions- 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 coa741e815a123OBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add roo-activity-logger -- npx -y [email protected]
{
"mcpServers": {
"roo-activity-logger": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_log_files | read | Get a paginated list of available log files in the specified directory with filtering options |
log_activity | read | Record an activity log entry with structured data for tracking development activities, decisions, and context |
search_logs | read | Search and filter activity logs with various criteria including date ranges, text search, and activity relationships |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (7)
.clinerules
} from '../../../src/functions/file-io'
import { ActivityLog } from '../../../src/types/core'} from '../../../src/functions/log-entry'
import { ActivityLogInput } from '../../../src/functions/validation'} from '../../../src/functions/pagination.js'
@modelcontextprotocol/sdk, date-fns, minimatch, neverthrow, uuid, winston, zod, @types/jest
Gates applied: no_behavioural_pass.
a741e815a123full audit observations/trust-audit/mcp-server/annenpolka__roo-logger.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | a741e815a123 | SAFE | B | 89 | first audit |
Questions
What is the Roo Logger MCP server?
An MCP server for logging activity in Roo Code/Cline.
What tools does Roo Logger expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Roo Logger safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Roo Logger need?
No credential environment variables were found in its source, so it appears to need none.
How does Roo Logger run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as roo-activity-logger at 0.2.0.
How current is this page?
The grade is for one exact copy of the source (a741e815a123), read on 2026-10-09. The repository is watched and re-audited when it changes.