Roo Code Memory BankSAFE
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
This project implements the core functionality of the Roo Code Memory Bank system as a Model Context Protocol (MCP) server. It allows AI assistants to maintain project context across sessions by interacting with a file-based memory bank using structured MCP tools.
Features
This MCP server provides the following tools:
- `initialize_memory_bank`: Creates the
memory-bank/directory and standard.mdfiles (productContext.md,activeContext.md,progress.md,decisionLog.md,systemPatterns.md) with initial templates. - Input: (Optional)
{ "project_brief_content": string } - Output:
{ "status": "success" | "error", "messages"?: string[], "message"?: string } - `check_memory_bank_status`: Checks if the
memory-bank/directory exists and lists the.mdfiles within it. - Input:
{} - Output:
{ "exists": boolean, "files": string[] } - `read_memory_bank_file`: Reads the full content of a specified memory bank file.
- Input:
{ "file_name": string } - Output:
{ "content": string }or error object. - `append_memory_bank_entry`: Appends a new, timestamped entry to a specified file, optionally under a specific markdown header. Creates the file if it doesn't exist.
- Input:
{ "file_name": string, "entry": string, "section_header"?: string } - Output:
{ "status": "success" | "error", "message": string }
Prerequisites
- Node.js (v18 or later recommended)
- npm (usually included with Node.js)
- An MCP client environment (like the one used by Cline) capable of managing and launching MCP servers.
Installation
- Clone the repository:
git clone https://github.com/IncomeStreamSurfer/roo-code-memory-bank-mcp-server.git cd roo-code-memory-bank-mcp-server
- Install dependencies:
npm install
- **Build
5f3758e7a2d0OBSERVED · 2026-10-08Connect
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-mcp-server -- npx -y [email protected]
{
"mcpServers": {
"roo-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (4)
4 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
append_memory_bank_entry | read | Appends a new, timestamped entry to a specified file, optionally under a specific markdown header. |
check_memory_bank_status | read | Checks if the memory-bank directory exists and lists the .md files within it. |
initialize_memory_bank | read | Creates the memory-bank directory and standard .md files with initial templates. |
read_memory_bank_file | read | Reads the full content of a specified memory bank file. |
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 (1)
@modelcontextprotocol/sdk, chalk, yargs, @types/node, @types/yargs, shx, typescript
Gates applied: no_behavioural_pass.
5f3758e7a2d0full audit observations/trust-audit/mcp-server/incomestreamsurfer__roo-code-memory-bank.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-08 | 5f3758e7a2d0 | SAFE | B | 89 | first audit |
Questions
What tools does Roo Code Memory Bank expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Roo Code Memory Bank 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 Code Memory Bank need?
No credential environment variables were found in its source, so it appears to need none.
How does Roo Code Memory Bank run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as roo-mcp-server at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (5f3758e7a2d0), read on 2026-10-08. The repository is watched and re-audited when it changes.