Memory Bank MCP Server logo

Memory Bank MCP Server

by alioshr

The Memory Bank MCP Server transforms traditional file-based memory banks into a centralized service with remote access via the MCP protocol. It enables multi-project memory bank management, consistent file structure, and proper isolation between project memory banks.

View on GitHub

Last updated: N/A

What is Memory Bank MCP Server?

A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank. It provides remote access to memory bank files, enables multi-project management, maintains consistent file structure, and ensures project isolation.

How to use Memory Bank MCP Server?

  1. Configure the MCP server in your settings (Cline, Claude, or Cursor) by adding the provided JSON configuration snippet to your MCP settings file. 2. Set the MEMORY_BANK_ROOT environment variable to the directory where project memory banks will be stored. 3. Enable the server by setting disabled to false. 4. Start using the memory bank tools in your AI assistant.

Key features of Memory Bank MCP Server

  • Multi-Project Support (project-specific directories, file structure enforcement, path traversal prevention, project listing, file listing per project)

  • Remote Accessibility (full MCP protocol implementation, type-safe operations, proper error handling, security through project isolation)

  • Core Operations (read/write/update memory bank files, list available projects, list files within projects, project existence validation, safe read-only operations)

  • Automatic installation via Smithery

Use cases of Memory Bank MCP Server

  • Centralized memory bank management for multiple AI projects.

  • Remote access to memory banks from AI assistants like Claude and Cursor.

  • Enforcing consistent file structure and validation across memory banks.

  • Isolating memory banks between projects for security and data integrity.

FAQ from Memory Bank MCP Server

What is the purpose of the MEMORY_BANK_ROOT environment variable?

It specifies the directory where project memory banks will be stored.

How do I enable the server?

Set the disabled property in the configuration to false.

What are the autoApprove operations?

These are operations that don't require explicit user approval, such as reading, writing, and updating memory bank files, and listing projects and files.

Where can I find the custom IA instructions?

The instructions can be found in the custom-instructions.md file.

How do I contribute to the project?

Fork the repository, create a feature branch, commit your changes, push to the branch, and open a pull request.