Memory Bank MCP server

Memory Bank MCP server

memory-bank•bymovibe

An MCP server that manages structured Memory Banks stored as markdown files, giving AI assistants tools and resources to persist context and track progress across sessions.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Initializes, finds, and manages Memory Banks, with file read/write operations on Memory Bank files.
  • •Tracks progress and logs important decisions with context and alternatives.
  • •Maintains active context and supports operational modes detected via .clinerules files.
  • •Uses a standardized markdown structure covering product context, active context, progress, decision log, and system patterns.

BEST FOR

  • •Maintaining AI assistant context and progress across multiple sessions on a project.
  • •Recording important project decisions with their context and rationale.
  • •Adapting AI behavior to specific tasks such as code, architecture, debugging, and testing through modes.

ABOUT MEMORY-BANK

Memory Bank MCP server is cataloged as an MCP server attributed to movibe. An MCP server that manages structured Memory Banks stored as markdown files, giving AI assistants tools and resources to persist context and track progress across sessions. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Memory Bank MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What files make up a Memory Bank?

A Memory Bank is a structured repository of markdown files including product-context.md, active-context.md, progress.md, decision-log.md, and system-patterns.md.

Can the Memory Bank folder location or name be customized?

Yes. By default a memory-bank directory is used in the project root, but a project path can be set with --path and the folder name changed with --folder.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7851e066a8cd · 采集于 2026-11-13 09:26:05 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Memory Bank MCP 🧠

NPM Version License: MIT Tests

A Model Context Protocol (MCP) server for managing Memory Banks, allowing AI assistants to store and retrieve information across sessions.

Memory Bank MCP server

Overview 📋

Memory Bank Server provides a set of tools and resources for AI assistants to interact with Memory Banks. Memory Banks are structured repositories of information that help maintain context and track progress across multiple sessions.

Features ✨

  • Memory Bank Management: Initialize, find, and manage Memory Banks
  • File Operations: Read and write files in Memory Banks
  • Progress Tracking: Track progress and update Memory Bank files
  • Decision Logging: Log important decisions with context and alternatives
  • Active Context Management: Maintain and update active context information
  • Mode Support: Detect and use .clinerules files for mode-specific behavior
  • UMB Command: Update Memory Bank files temporarily with the UMB command
  • Robust Error Handling: Gracefully handle errors and continue operation when possible
  • Status Prefix System: Immediate visibility into Memory Bank operational state

Directory Structure 📁

By default, Memory Bank uses a memory-bank directory in the root of your project. When you specify a project path using the --path option, the Memory Bank will be created or accessed at <project_path>/memory-bank.

You can customize the name of the Memory Bank folder using the --folder option. For example, if you set --folder custom-memory, the Memory Bank will be created or accessed at <project_path>/custom-memory.

For more details on customizing the folder name, see Custom Memory Bank Folder Name.

Recent Improvements 🛠️

  • Customizable Folder Name: You can now specify a custom folder name for the Memory Bank
  • Consistent Directory Structure: Memory Bank now always uses the configured folder name in the project root
  • Enhanced Initialization: Memory Bank now works even when .clinerules files don't exist
  • Better Path Handling: Improved handling of absolute and relative paths
  • Improved Directory Detection: Better detection of existing memory-bank directories
  • More Robust Error Handling: Graceful handling of errors related to .clinerules files

For more details, see Memory Bank Bug Fixes.

Installation 🚀

# Install from npm
npm install @movibe/memory-bank-mcp

# Or install globally
npm install -g @movibe/memory-bank-mcp

# Or run directly with npx (no installation required)
npx @movibe/memory-bank-mcp

Usage with npx 💻

You can run Memory Bank MCP directly without installation using npx:

# Run with default settings
npx @movibe/memory-bank-mcp

# Run with specific mode
npx @movibe/memory-bank-mcp --mode code

# Run with custom project path
npx @movibe/memory-bank-mcp --path /path/to/project

# Run with custom folder name
npx @movibe/memory-bank-mcp --folder custom-memory-bank

# Show help
npx @movibe/memory-bank-mcp --help

For more detailed information about using npx, see npx-usage.md.

Configuring in Cursor 🖱️

Cursor is an AI-powered code editor that supports the Model Context Protocol (MCP). To configure Memory Bank MCP in Cursor:

  1. Use Memory Bank MCP with npx:

    No need to install the package globally. You can use npx directly:

    # Verify npx is working correctly
    npx @movibe/memory-bank-mcp --help
    
  2. Open Cursor Settings:

    • Go to Settings (⚙️) > Extensions > MCP
    • Click on "Add MCP Server"
  3. Configure the MCP Server:

    • Name: Memory Bank MCP
    • Command: npx
    • Arguments: @movibe/memory-bank-mcp --mode code (or other mode as needed)
  4. Save and Activate:

    • Click "Save"
    • Enable the MCP server by toggling it on
  5. Verify Connection:

    • Open a project in Cursor
    • The Memory Bank MCP should now be active and available in your AI interactions

For detailed instructions and advanced usage with Cursor, see cursor-integration.md.

Using with Cursor 🤖

Once configured, you can interact with Memory Bank MCP in Cursor through AI commands:

  • Initialize a Memory Bank: /mcp memory-bank-mcp initialize_memory_bank path=./memory-bank
  • Track Progress: /mcp memory-bank-mcp track_progress action="Feature Implementation" description="Implemented feature X"
  • Log Decision: /mcp memory-bank-mcp log_decision title="API Design" context="..." decision="..."
  • Switch Mode: /mcp memory-bank-mcp switch_mode mode=code

MCP Modes and Their Usage 🔄

Memory Bank MCP supports different operational modes to optimize AI interactions for specific tasks:

Available Modes

  1. Code Mode 👨‍💻

    • Focus: Code implementation and development
    • Usage: npx @movibe/memory-bank-mcp --mode code
    • Best for: Writing, refactoring, and optimizing code
  2. Architect Mode 🏗️

    • Focus: System design and architecture
    • Usage: npx @movibe/memory-bank-mcp --mode architect
    • Best for: Planning project structure, designing components, and making architectural decisions
  3. Ask Mode ❓

    • Focus: Answering questions and providing information
    • Usage: npx @movibe/memory-bank-mcp --mode ask
    • Best for: Getting explanations, clarifications, and information
  4. Debug Mode 🐛

    • Focus: Troubleshooting and problem-solving
    • Usage: npx @movibe/memory-bank-mcp --mode debug
    • Best for: Finding and fixing bugs, analyzing issues
  5. Test Mode ✅

    • Focus: Testing and quality assurance
    • Usage: npx @movibe/memory-bank-mcp --mode test
    • Best for: Writing tests, test-driven development

Switching Modes

You can switch modes in several ways:

  1. When starting the server:

    npx @movibe/memory-bank-mcp --mode architect
    
  2. During a session:

    memory-bank-mcp switch_mode mode=debug
    
  3. In Cursor:

    /mcp memory-bank-mcp switch_mode mode=test
    
  4. Using .clinerules files: Create a .clinerules-[mode] file in your project to automatically switch to that mode when the file is detected.

How Memory Bank MCP Works 🧠

Memory Bank MCP is built on the Model Context Protocol (MCP), which enables AI assistants to interact with external tools and resources. Here's how it works:

Core Components 🧩

  1. Memory Bank: A structured repository of information stored as markdown files:

    • product-context.md: Overall project information and goals
    • active-context.md: Current state, ongoing tasks, and next steps
    • progress.md: History of project updates and milestones
    • decision-log.md: Record of important decisions with context and rationale
    • system-patterns.md: Architecture and code patterns used in the project
  2. MCP Server: Provides tools and resources for AI assistants to interact with Memory Banks:

    • Runs as a standalone process
    • Communicates with AI assistants through the MCP protocol
    • Provides a set of tools for managing Memory Banks
  3. Mode System: Supports different operational modes:

    • code: Focus on code implementation
    • ask: Focus on answering questions
    • architect: Focus on system design
    • debug: Focus on debugging issues
    • test: Focus on testing

Data Flow 🔄

  1. Initialization: The AI assistant connects to the MCP server and initializes a Memory Bank
  2. Tool Calls: The AI assistant calls tools provided by the MCP server to read/write Memory Bank files
  3. Context Maintenance: The Memory Bank maintains context across sessions, allowing the AI to recall previous decisions and progress

Memory Bank Structure 📂

Memory Banks use a standardized structure to organize information:

  • Product Context: Project overview, objectives, technologies, and architecture
  • Active Context: Current state, ongoing tasks, known issues, and next steps
  • Progress: Chronological record of project updates and milestones
  • Decision Log: Record of important decisions with context, alternatives, and consequences
  • System Patterns: Architecture patterns, code patterns, and documentation patterns

Advanced Features 🚀

  • UMB Command: Temporarily update Memory Bank files during a session without committing changes
  • Mode Detection: Automatically detect and switch modes based on user input
  • File Migration: Tools for migrating between different file naming conventions
  • Language Standardization: All Memory Bank files are generated in English for consistency

Versioning 📌

This project follows Semantic Versioning and uses Conventional Commits for commit messages. The version is automatically bumped and a changelog is generated based on commit messages when changes are merged into the main branch.

  • Major version is bumped when there are breaking changes (commit messages with BREAKING CHANGE or !:)
  • Minor version is bumped when new features are added (commit messages with feat: or feat(scope):)
  • Patch version is bumped for all other changes (bug fixes, documentation, etc.)

For the complete history of changes, see the CHANGELOG.md file.

Usage 📝

As a Command Line Tool 💻

# Initialize a Memory Bank
memory-bank-mcp initialize_memory_bank path=./memory-bank

# Track progress
memory-bank-mcp track_progress action="Feature Implementation" description="Implemented feature X"

# Log a decision
memory-bank-mcp log_decision title="API Design" context="..." decision="..."

# Switch mode
memory-bank-mcp switch_mode mode=code

As a Library 📚

import { MemoryBankServer } from "@movibe/memory-bank-mcp";

// Create a new server instance
const server = new MemoryBankServer();

// Start the server
server.run().catch(console.error);

Contributing 👥

Please see CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Memory Bank Status System 🚦

Memory Bank MCP implements a status prefix system that provides immediate visibility into the operational state of the Memory Bank:

Status Indicators

Every response from an AI assistant using Memory Bank MCP begins with one of these status indicators:

  • [MEMORY BANK: ACTIVE]: The Memory Bank is available and being used to provide context-aware responses
  • [MEMORY BANK: INACTIVE]: The Memory Bank is not available or not properly configured
  • [MEMORY BANK: UPDATING]: The Memory Bank is currently being updated (during UMB command execution)

This system ensures users always know whether the AI assistant is operating with full context awareness or limited information.

Benefits

  • Transparency: Users always know whether the AI has access to the full project context
  • Troubleshooting: Makes it immediately obvious when Memory Bank is not properly configured
  • Context Awareness: Helps users understand why certain responses may lack historical context

For more details, see Memory Bank Status Prefix System.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Memory Bank MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/memory-bank)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent