t3ta_memory-bank-mcp-server

t3ta_memory-bank-mcp-server

3.5

Memory Bank MCP Server 2.2.1 is a server implementation for managing project documentation and context across sessions, enhancing JSON Patch support and adding workspace options.

Memory Bank MCP Server 2.2.1 is designed to manage project documentation and context across sessions, ensuring consistent project knowledge through global and branch-specific memory banks. This version enhances JSON Patch support, adds workspace options, and includes numerous improvements. Inspired by the Cline Memory Bank, it provides a robust foundation for managing memory in software projects. Key updates include improved JSON Patch handling, CLI workspace enhancements, template system integration, testing improvements, and logging enhancements. The server supports a JSON-based document structure, enhanced API, and clean architecture implementation, making it a comprehensive tool for managing project documentation.

Features

  • Enhanced JSON Patch Implementation: Improved adapter and operation handling with better error codes.
  • CLI Workspace Option Enhancement: Direct root directory specification for seamless project management.
  • Template System Integration: Supports template loading with improved error handling.
  • Testing Improvements: Migration to jest.fn() for better testing and simplified setup.
  • Logging Enhancements: Replaced console.log with logger for improved logging.

MCP Tools

  • {'write_branch_memory_bank': "Write a document to the current branch's memory bank with support for JSON Patch operations."}
  • {'read_branch_memory_bank': "Read a document from the current branch's memory bank."}
  • {'write_global_memory_bank': 'Write a document to the global memory bank with support for JSON Patch operations.'}
  • {'read_global_memory_bank': 'Read a document from the global memory bank.'}
  • {'read_context': 'Read all context information at once, including rules, branch memory, and global memory.'}

Usage with Different Platforms

NPX (Recommended)

bash
npx memory-bank-mcp-server

With options

bash
npx memory-bank-mcp-server --language ja --verbose

Installation (Optional)

bash
npm install -g memory-bank-mcp-server
memory-bank-mcp-server --help

CLI Tool NPX Usage

bash
npx memory-bank read-global architecture.md
npx memory-bank write-global tech-stack.md -f ./tech-stack.md
npx memory-bank read-branch feature/login activeContext.md
npx memory-bank recent-branches

CLI Tool Installation

bash
npm install -g memory-bank-mcp-server
memory-bank --help