Memory Bank
About
Transforms file-based memory banks into a centralized, remotely accessible service for multi-project management with consistent structure and validation.
Details
- Author
- alioshr
- Repository
- alioshr/memory-bank-mcp
- GitHub stars
- 178
- Downloads
- 1,144
- License
- MIT License
- Categories
- Developer Tools, Design, Workplace, File Management, AI, Infrastructure, Frontend, Communication, Knowledge Base
- Tags
- #mobile
Jump to
- 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Memory BankCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
@allpepper/memory-bank-mcp
Environment-
MEMORY_BANK_ROOT
<path-to-bank>
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Configure the MCP server in your settings (see Configuration section below)
2. Start using the memory bank tools in your AI assistant
- 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
npm install
npm run dev
1. Build the Docker image:
bashdocker build -t memory-bank-mcp:local .
2. Run the Docker container for testing:
bashdocker 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:
json"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"
]
}
```
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"memory bank": {
"env": {
"MEMORY_BANK_ROOT": "<path-to-bank>"
},
"args": [
"-y",
"@allpepper/memory-bank-mcp"
],
"command": "npx"
}
}
}
Linux
{
"env": {
"MEMORY_BANK_ROOT": "<path-to-bank>"
},
"args": [
"-y",
"@allpepper/memory-bank-mcp"
],
"command": "npx"
}
Macos
{
"env": {
"MEMORY_BANK_ROOT": "<path-to-bank>"
},
"args": [
"-y",
"@allpepper/memory-bank-mcp"
],
"command": "npx"
}
Windows
{
"env": {
"MEMORY_BANK_ROOT": "<path-to-bank>"
},
"args": [
"/c",
"npx",
"-y",
"@allpepper/memory-bank-mcp"
],
"command": "cmd"
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





