
Memory Bank
STDIOAI assistant plugin for maintaining persistent project context through structured markdown files.
AI assistant plugin for maintaining persistent project context through structured markdown files.
A guided Memory Bank plugin for AI-assisted development
Memory Bank MCP is a Model Context Protocol (MCP) plugin that helps AI assistants maintain persistent project context through structured markdown files. It provides a systematic approach to tracking project goals, decisions, progress, and patterns through guided instructions rather than direct operations.
Using the published npm package:
{ "mcpServers": { "memory-bank": { "command": "npx", "args": ["@neko0721/memory-bank-mcp"], "timeout": 600 } } }
Initialize Memory Bank
Use init-memory-bank to create the memory-bank directory and core files
Read Memory Bank
Use get-memory-bank-info to view all Memory Bank content
Update Memory Bank
Use update-memory-bank to get guidance on updating specific files
get-memory-bank-info
to understand project stateinit-memory-bank
for new projectsget-memory-bank-info
to understand project stateupdate-memory-bank
to get update instructionsInitializes Memory Bank with all core files.
Parameters:
rootPath
: Project root directory pathforce
(optional): Force re-initializationReturns: Created files list and next steps guidance
Reads and returns all Memory Bank content (similar to codelf's get-project-info).
Parameters:
rootPath
: Project root directory pathReturns: Formatted Memory Bank content for AI context
Provides guidance for updating Memory Bank files.
Parameters:
rootPath
: Project root directory pathchangeType
: Type of change (architecture/feature/bugfix/refactor/decision/progress)description
: Brief description of the changeReturns: Detailed update instructions with templates and timestamps
Add to Settings → Rules → User Rules:
Before starting any task, check if memory-bank directory exists in the project. If not, run the MCP command init-memory-bank.
Use the MCP command get-memory-bank-info to read Memory Bank content at session start.
After completing tasks or conversations, you must use the MCP command update-memory-bank to update Memory Bank content.
Follow the MCP guidance to maintain Memory Bank files.
Add to Settings → Cascade → Memories and Rules → Global Rules:
Before starting any task, check if memory-bank directory exists in the project. If not, run the MCP command init-memory-bank.
Use the MCP command get-memory-bank-info to read Memory Bank content at session start.
After completing tasks or conversations, you must use the MCP command update-memory-bank to update Memory Bank content.
Follow the MCP guidance to maintain Memory Bank files.
Contributions are welcome! Please feel free to submit issues or pull requests.
MIT
Inspired by the SPARC methodology and codelf.