Skip to main content
Glama

Memory Bank MCP Server

Memory Bank MCP Server

This MCP server helps to build structured documentation system based on Cline's Memory Bank pattern for context preservation in AI assistant environments.

Powered by Enlighter and Hyperskill.

Learn how to setup and use Memory Bank directly in Cursor: http://enlightby.ai/projects/37

Features

  • Get detailed information about Memory Bank structure
  • Generate templates for Memory Bank files
  • Analyze project and provide suggestions for Memory Bank content

Running the Server

There are a few options to use this MCP server:

With UVX

Add this to your mcp.json config file:

{ "mcpServers": { "mcp-memory-bank": { "command": "uvx", "args": [ "--from", "git+https://github.com/ipospelov/mcp-memory-bank", "mcp_memory_bank" ] } } }

With Smithery

Add this to your mcp.json config file:

{ "mcpServers": { "memory-bank": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@ipospelov/mcp-memory-bank", "--key", "your_smithery_key" ] } } }

With Docker

Add this to your mcp.json config file:

{ "mcpServers": { "memory-bank": { "command": "docker", "args": [ "run", "-i", "--rm", "19283744/mcp-memory-bank:latest" ] } } }

Manually

Clone repository and run the following commands:

python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt

Then add this to your mcp.json config file:

{ "mcpServers": { "memory-bank": { "command": "python", "args": ["src/mcp_memory_bank/main.py"] } } }

Usage Example

Ask Cursor or any other AI code assistant with Memory Bank MCP:

Create memory bank for To Do list application with your tools

Provide more context to get better results.

Available Tools

get_memory_bank_structure

Returns a detailed description of the Memory Bank file structure.

generate_memory_bank_template

Returns a template for a specific Memory Bank file.

Example:

{ "file_name": "projectbrief.md" }

analyze_project_summary

Analyzes a project summary and provides suggestions for Memory Bank content.

Example:

{ "project_summary": "Building a React web app for inventory management with barcode scanning" }

Memory Bank Structure

The Memory Bank consists of core files and optional context files, all in Markdown format:

Core Files (Required)

  1. projectbrief.md - Foundation document that shapes all other files
  2. productContext.md - Explains why the project exists, problems being solved
  3. activeContext.md - Current work focus, recent changes, next steps
  4. systemPatterns.md - System architecture, technical decisions, design patterns
  5. techContext.md - Technologies used, development setup, constraints
  6. progress.md - What works, what's left to build
  7. memory_bank_instructions.md - How to work with Memory Bank, instructtions for AI-agent

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Provides a structured documentation system for context preservation in AI assistant environments, helping users create and manage memory banks for their projects.

  1. Features
    1. Running the Server
      1. With UVX
      2. With Smithery
      3. With Docker
      4. Manually
    2. Usage Example
      1. Available Tools
        1. get_memory_bank_structure
        2. generate_memory_bank_template
        3. analyze_project_summary
      2. Memory Bank Structure
        1. Core Files (Required)

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        Enables AI assistants to enhance their responses with relevant documentation through a semantic vector search, offering tools for managing and processing documentation efficiently.
        Last updated -
        62
        13
        TypeScript
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol implementation that enables AI assistants to interact with markdown documentation files, providing capabilities for document management, metadata handling, search, and documentation health analysis.
        Last updated -
        14
        346
        11
        TypeScript
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol implementation that enables AI-powered access to documentation resources, featuring URI-based navigation, template matching, and structured documentation management.
        Last updated -
        3
        Python
        MIT License
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.
        Last updated -
        25
        1
        Python
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/ipospelov/mcp-memory-bank'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server