roo-code-memory-bank-mcp-server

roo-code-memory-bank-mcp-server

39

The Roo Code Memory Bank MCP Server enables AI assistants to maintain and access project context utilizing a file-based memory bank structure. It offers tools for initializing, checking, reading, and appending to memory files, streamlining the AI's interaction with historical project data.

Roo Code Memory Bank MCP Server

This project implements the core functionality of the Roo Code Memory Bank 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.

Features

  • Initialize memory bank with standard .md files.
  • Check the status of the memory bank directory and list files.
  • Read content from a specified memory bank file.
  • Append new entries to a specified file, including creating the file if it doesn't exist.

Prerequisites

  • Node.js (v18 or later recommended)
  • npm
  • An MCP client environment (e.g., Cline)

Installation

  1. Clone the repository and navigate to the project directory.
  2. Install dependencies with npm.
  3. Build the project to compile TypeScript into JavaScript.

Usage

AI assistants use this server's tools to interact with memory bank files, checking status, initializing, reading, and appending entries. Run manually using npm start or let MCP clients manage server execution.

Configuration

Add server settings to your MCP client configuration file to auto-approve transactions and set up command execution paths.