Sponsor MCPSafe10 founding slots
Registry/Memory Bank MCP

Memory Bank MCP

Verified

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

By alioshrMIT
typescript
ai ml
920stars
87forks
Scanned Oct 2, 2026
WebsiteRepositoryGITHUB
Automated scan (limited checks) · 2026-10-02

This grade comes from an automated MCPSafe scan of the server's JavaScript, TypeScript and Python source on 2026-10-02. It read the whole repository (88 files). It checks for leaked credentials, shell or code injection from function inputs, unsafe deserialization, malware signatures, install-time scripts, and weak password handling. It does not check for path traversal, server-side request forgery, prompt injection in tool descriptions, network exposure, SQL injection, cross-site scripting, or vulnerable dependencies. It has not been manually reviewed, and the code may have changed since the scan.

A+100%
Scanned 1w ago

Excellent Security

Vulnerabilities Found
0Crit
0High
0Med
0Low
0Info

Trust Score 79

Review required
Trust grade B

Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.

Security
100
MCP risk
54
Supply chain
92
Maintenance
50
Docs
100
Freshness
80
Risk traits
Runs shell commands
Filesystem access
Network/API access
Remote transport
Why it scores well
  • • No reviewed severe vulnerabilities published
  • • Good documentation surface
  • • Solid supply-chain metadata
  • • Recently scanned
What reduces confidence
  • • MCP risk traits: Runs shell commands, Filesystem access, Network/API access

Security ScoreA+

100
out of 100

Vulnerabilities Found

0
Crit
0
High
0
Medi
0
Low
0
Info
Last scanned: 10/2/2026

Quality ScoreC

68
out of 100
50
Maint.
43
Popular
100
Docs
78
Compat
Maintenance50%
Popularity43%
Documentation100%
Compatibility78%

Maintenance50

Unknown
Commit Frequency65%
Release Frequency35%
Issue Response45%

Popularity43

920
Stars
0
Downloads
87
Forks
Stars Score83%
Downloads Score0%
Forks Score68%

Documentation100

README Quality100%

Available Documentation

API DocsExamplesChangelog

Compatibility78

MCP Spec Compliance80%
Transport Support75%

Features

TypeScript

Vulnerabilities(0)

This grade comes from an automated scan. Individual findings from automated scans are not published.

READMEMemory Bank MCP

View source

Memory Bank MCP Server

![smithery badge](https://smithery.ai/server/@alioshr/memory-bank-mcp)

![npm version](https://www.npmjs.com/package/@allpepper/memory-bank-mcp)

![npm downloads](https://www.npmjs.com/package/@allpepper/memory-bank-mcp)

<a href="https://glama.ai/mcp/servers/ir18x1tixp"><img width="380" height="200" src="https://glama.ai/mcp/servers/ir18x1tixp/badge" alt="Memory Bank Server MCP server" /></a>

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:

bash
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:

json
{
  "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:

shell
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:
plaintext
 "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:

bash
# 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:

```bash

docker build -t memory-bank-mcp:local .

```

  1. Run the Docker container for testing:

```bash

docker run -i --rm \

-e MEMORYBANKROOT="/mnt/memory_bank" \

-v /path/to/memory-bank:/mnt/memory_bank \

--entrypoint /bin/sh \

memory-bank-mcp:local \

-c "ls -la /mnt/memory_bank"

```

  1. Add MCP configuration, example for Roo Code:

```json

"allpepper-memory-bank": {

"command": "docker",

"args": [

"run", "-i", "--rm",

"-e",

"MEMORYBANKROOT",

"-v",

"/path/to/memory-bank:/mnt/memory_bank",

"memory-bank-mcp:local"

],

"env": {

"MEMORYBANKROOT": "/mnt/memory_bank"

},

"disabled": false,

"alwaysAllow": [

"list_projects",

"listprojectfiles",

"memorybankread",

"memorybankupdate",

"memorybankwrite"

]

}

```

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.

Embed Security Badge

Add this badge to your README or documentation

Memory Bank MCP MCPSafe Security
[![Memory Bank MCP MCPSafe Security](https://api.mcpsafe.org
/api/badge/alioshr-memory-bank-mcp.svg)](https://mcpsafe.org/registry/alioshr-memory-bank-mcp)
Need more customization options?Badge Documentation

Server Information

Source
GITHUB
Language
typescript
License
MIT
Added
Aug 16, 2026
Updated
Oct 1, 2026