claudeers.
// MCP Servers

memory-bank-mcp

A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.

// MCP Servers[ cli ][ api ][ desktop ][ mobile ][ claude ]#claude#antrophic#cline#cline-memory-bank#cursor#mcp-server#memory-bank#model-context-protocol#mcp-serversMIT$open-sourceupdated about 1 month ago
Dormant
0/100
last commit about 1 year ago
last release none
releases 0
open issues 13
// star history+2 this week (+0.2%)

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

⚠ Unverified source (community-unclaimed, low activity) — reveal the prompt
⚠ Unverified source (community-unclaimed, low activity). Inspect the repo before letting your agent install it.

Install and set up memory-bank-mcp (mcp-stdio project) into my current project.
Found on https://claudeers.com/memory-bank-mcp
Repo: https://github.com/alioshr/memory-bank-mcp
Homepage/docs: https://www.npmjs.com/package/@allpepper/memory-bank-mcp
Detected install method: mcp-stdio → claude mcp add memory-bank-mcp -- npx -y @allpepper/memory-bank-mcp
Category: mcp-servers. Platforms: cli, api, desktop, mobile.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
dormant; community-verified: false. Confirm the source before running anything.
// or install directly (mcp-stdio)

Unverified / not recently updated — review before pasting a run-this config.

claude mcp add memory-bank-mcp -- npx -y @allpepper/memory-bank-mcp
// or clone · unverified · not recently updated
git clone https://github.com/alioshr/memory-bank-mcp

// compatibility

Platformscli, api, desktop, mobile
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageTypeScript

Memory Bank MCP Server

smithery badge

Memory Bank Server MCP server

A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.

Overview

The Memory Bank MCP Server transforms traditional file-based memory banks into a centralized service that:

  • Provides remote access to memory bank files via MCP protocol
  • Enables multi-project memory bank management
  • Maintains consistent file structure and validation
  • Ensures proper isolation between project memory banks

Features

  • Multi-Project Support

    • Project-specific directories
    • File structure enforcement
    • Path traversal prevention
    • Project listing capabilities
    • 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

Installation

To install Memory Bank Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @alioshr/memory-bank-mcp --client claude

This will set up the MCP server configuration automatically. Alternatively, you can configure the server manually as described in the Configuration section below.

Quick Start

  1. Configure the MCP server in your settings (see Configuration section below)
  2. Start using the memory bank tools in your AI assistant

Using with Cline/Roo Code

The memory bank MCP server needs to be configured in your Cline MCP settings file. The location depends on your setup:

  • For Cline extension: ~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • For Roo Code VS Code extension: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/mcp_settings.json

Add the following configuration to your MCP settings:

{
  "allpepper-memory-bank": {
    "command": "npx",
    "args": ["-y", "@allpepper/memory-bank-mcp"],
    "env": {
      "MEMORY_BANK_ROOT": "<path-to-bank>"
    },
    "disabled": false,
    "autoApprove": [
      "memory_bank_read",
      "memory_bank_write",
      "memory_bank_update",
      "list_projects",
      "list_project_files"
    ]
  }
}

Configuration Details

  • MEMORY_BANK_ROOT: Directory where project memory banks will be stored (e.g., /path/to/memory-bank)
  • disabled: Set to false to enable the server
  • autoApprove: List of operations that don't require explicit user approval:
    • memory_bank_read: Read memory bank files
    • memory_bank_write: Create new memory bank files
    • memory_bank_update: Update existing memory bank files
    • list_projects: List available projects
    • list_project_files: List files within a project

Using with Cursor

For Cursor, open the settings -> features -> add MCP server -> add the following:

env MEMORY_BANK_ROOT=<path-to-bank> npx -y @allpepper/memory-bank-mcp@latest

Using with Claude

  • Claude desktop config file: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Code config file: ~/.claude.json
  1. Locate the config file
  2. Locate the property called mcpServers
  3. Paste this:
 "allPepper-memory-bank": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "@allpepper/memory-bank-mcp@latest"
          ],
          "env": {
            "MEMORY_BANK_ROOT": "YOUR PATH"
          }
        }

Custom AI instructions

This section contains the instructions that should be pasted on the AI custom instructions, either for Cline, Claude or Cursor, or any other MCP client. You should copy and paste these rules. For reference, see custom-instructions.md which contains these rules.

Development

Basic development commands:

# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm run test

# Run tests in watch mode
npm run test:watch

# Run the server directly with ts-node for quick testing
npm run dev

Running with Docker

  1. Build the Docker image:

    docker build -t memory-bank-mcp:local .
    
  2. Run the Docker container for testing:

    docker run -i --rm \
      -e MEMORY_BANK_ROOT="/mnt/memory_bank" \
      -v /path/to/memory-bank:/mnt/memory_bank \
      --entrypoint /bin/sh \
      memory-bank-mcp:local \
      -c "ls -la /mnt/memory_bank"
    
  3. Add MCP configuration, example for Roo Code:

    "allpepper-memory-bank": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", 
        "MEMORY_BANK_ROOT",
        "-v", 
        "/path/to/memory-bank:/mnt/memory_bank",
        "memory-bank-mcp:local"
      ],
      "env": {
        "MEMORY_BANK_ROOT": "/mnt/memory_bank"
      },
      "disabled": false,
      "alwaysAllow": [
        "list_projects",
        "list_project_files",
        "memory_bank_read",
        "memory_bank_update",
        "memory_bank_write"
      ]
    }
    

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Use TypeScript for all new code
  • Maintain type safety across the codebase
  • Add tests for new features
  • Update documentation as needed
  • Follow existing code style and patterns

Testing

  • Write unit tests for new features
  • Include multi-project scenario tests
  • Test error cases thoroughly
  • Validate type constraints
  • Mock filesystem operations appropriately

License

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

Acknowledgments

This project implements the memory bank concept originally documented in the Cline Memory Bank, extending it with remote capabilities and multi-project support.

// faq

What is memory-bank-mcp?

A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.. It is open-source on GitHub.

Is memory-bank-mcp free to use?

memory-bank-mcp is open-source under the MIT license, so it is free to use.

What category does memory-bank-mcp belong to?

memory-bank-mcp is listed under mcp-servers in the Claudeers registry of Claude-compatible tools.

0 views
917 stars
unclaimed
updated about 1 month ago

// embed badge

memory-bank-mcp on Claudeers
[![Claudeers](https://claudeers.com/api/badge/memory-bank-mcp.svg)](https://claudeers.com/memory-bank-mcp)

// retro hit counter

memory-bank-mcp hit counter
[![Hits](https://claudeers.com/api/counter/memory-bank-mcp.svg)](https://claudeers.com/memory-bank-mcp)

// reviews

// guestbook

0/500

// related in MCP Servers

🔓

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete…

// mcp-serversf/HTML167,135NOASSERTION[ claude ]
🔓

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io

// mcp-serversfarion1231/Rust127,274MIT[ claude ]
🔓

An open-source AI agent that brings the power of Gemini directly into your terminal.

// mcp-serversgoogle-gemini/TypeScript106,524Apache-2.0[ claude ]
🔓

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

// mcp-serversJuliusBrussee/JavaScript100,343MIT[ claude ]

// built by

1 of its contributors also build on official projectspython-sdk, typescript-sdk

→ see how memory-bank-mcp connects across the ecosystem