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

An MCP server that lets AI assistants initialize, read, write, and manage structured Memory Banks to preserve context and track progress across sessions, with optional remote storage over SSH.
Memory Bank MCP server is cataloged as an MCP server attributed to aakarsh-sasi. An MCP server that lets AI assistants initialize, read, write, and manage structured Memory Banks to preserve context and track progress across sessions, with optional remote storage over SSH. 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.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
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.
Yes. Because Memory Banks can be stored on a remote server via SSH, multiple users can access the same Memory Bank.
Remote mode uses SSH key authentication; password authentication is not supported, and the SSH key path can be specified with the --ssh-key option.
It supports code, architect, ask, debug, and test modes, each focused on a particular type of task.
README.md · 0813435550c7 · Fetched 2026-11-13 09:44:33 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server for managing Memory Banks, allowing AI assistants to store and retrieve information across sessions. Now with remote server support!
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.
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.
For more details, see Memory Bank Bug Fixes.
To install Memory Bank for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @aakarsh-sasi/memory-bank-mcp --client claude
# Install from npm
npm install @aakarsh-sasi/memory-bank-mcp
# Or install globally
npm install -g @aakarsh-sasi/memory-bank-mcp
# Or run directly with npx (no installation required)
npx @aakarsh-sasi/memory-bank-mcp
You can run Memory Bank MCP directly without installation using npx:
# Run with default settings
npx @aakarsh-sasi/memory-bank-mcp
# Run with specific mode
npx @aakarsh-sasi/memory-bank-mcp --mode code
# Run with custom project path
npx @aakarsh-sasi/memory-bank-mcp --path /path/to/project
# Run with custom folder name
npx @aakarsh-sasi/memory-bank-mcp --folder custom-memory-bank
# Run with remote server
npx @aakarsh-sasi/memory-bank-mcp --remote --remote-user username --remote-host example.host.com --remote-path /home/username/memory-bank
# Show help
npx @aakarsh-sasi/memory-bank-mcp --help
For more detailed information about using npx, see npx-usage.md.
Memory Bank MCP now supports storing your Memory Bank on a remote server via SSH. This allows you to:
To set up SSH key authentication for the remote server:
Generate a new SSH key pair (if you don't already have one):
# Using modern Ed25519 algorithm (recommended)
ssh-keygen -t ed25519 -C "your_email@example.com"
# OR using RSA if required for compatibility
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Start the SSH agent and add your key:
# Start the agent
eval "$(ssh-agent -s)"
# Add your key
ssh-add ~/.ssh/id_ed25519 # or ~/.ssh/id_rsa if you used RSA
Copy your public key to the remote server:
# Easiest method (if available)
ssh-copy-id username@your-remote-host.com
# Alternative: manually copy your public key
cat ~/.ssh/id_ed25519.pub # copy the output
Then paste the key into the ~/.ssh/authorized_keys file on the remote server.
Test your connection:
ssh username@your-remote-host.com
You should be able to log in without a password.
For more detailed SSH key setup instructions, see our SSH Keys Guide.
To use remote server mode, you need to provide the following parameters:
npx @aakarsh-sasi/memory-bank-mcp --remote \
--ssh-key ~/.ssh/your_ssh_key \
--remote-user username \
--remote-host example.host.com \
--remote-path /home/username/memory-bank
By default, the SSH key is assumed to be at ~/.ssh/your_ssh_key. You can specify a different key using the --ssh-key option.
# Using with a server at example.host.com
npx @aakarsh-sasi/memory-bank-mcp --remote \
--remote-user username \
--remote-host example.host.com \
--remote-path /home/username/memory-bank
Cursor is an AI-powered code editor that supports the Model Context Protocol (MCP). To configure Memory Bank MCP in Cursor:
Use Memory Bank MCP with npx:
No need to install the package globally. You can use npx directly:
# Verify npx is working correctly
npx @aakarsh-sasi/memory-bank-mcp --help
Open Cursor Settings:
Configure the MCP Server:
@aakarsh-sasi/memory-bank-mcp --mode code (or other mode as needed)For remote server:
@aakarsh-sasi/memory-bank-mcp --mode code --remote --remote-user username --remote-host example.host.com --remote-path /home/username/memory-bankSave and Activate:
Verify Connection:
For detailed instructions and advanced usage with Cursor, see cursor-integration.md.
Once configured, you can interact with Memory Bank MCP in Cursor through AI commands:
/mcp memory-bank-mcp initialize_memory_bank path=./memory-bank/mcp memory-bank-mcp track_progress action="Feature Implementation" description="Implemented feature X"/mcp memory-bank-mcp log_decision title="API Design" context="..." decision="..."/mcp memory-bank-mcp switch_mode mode=codeMemory Bank MCP supports different operational modes to optimize AI interactions for specific tasks:
Code Mode 👨💻
npx @aakarsh-sasi/memory-bank-mcp --mode codeArchitect Mode 🏗️
npx @aakarsh-sasi/memory-bank-mcp --mode architectAsk Mode ❓
npx @aakarsh-sasi/memory-bank-mcp --mode askDebug Mode 🐛
npx @aakarsh-sasi/memory-bank-mcp --mode debugTest Mode ✅
npx @aakarsh-sasi/memory-bank-mcp --mode testYou can switch modes in several ways:
When starting the server:
npx @aakarsh-sasi/memory-bank-mcp --mode architect
During a session:
memory-bank-mcp switch_mode mode=debug
In Cursor:
/mcp memory-bank-mcp switch_mode mode=test
Using .clinerules files:
Create a .clinerules-[mode] file in your project to automatically switch to that mode when the file is detected.
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:
Memory Bank: A structured repository of information stored as markdown files:
product-context.md: Overall project information and goalsactive-context.md: Current state, ongoing tasks, and next stepsprogress.md: History of project updates and milestonesdecision-log.md: Record of important decisions with context and rationalesystem-patterns.md: Architecture and code patterns used in the projectMCP Server: Provides tools and resources for AI assistants to interact with Memory Banks:
Mode System: Supports different operational modes:
code: Focus on code implementationask: Focus on answering questionsarchitect: Focus on system designdebug: Focus on debugging issuestest: Focus on testingMemory Banks use a standardized structure to organize information:
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.
BREAKING CHANGE or !:)feat: or feat(scope):)For the complete history of changes, see the CHANGELOG.md file.
# 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
import { MemoryBankServer } from "@aakarsh-sasi/memory-bank-mcp";
// Create a new server instance
const server = new MemoryBankServer();
// Start the server
server.run().catch(console.error);
Please see CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
Memory Bank MCP implements a status prefix system that provides immediate visibility into the operational state of the Memory Bank:
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.
For more details, see Memory Bank Status Prefix System.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Memory Bank MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/memory-bank-mcp-aakarsh-sasi)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

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

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

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.