Memory Bank MCP
Provides cross-platform support with automatic path normalization for Linux systems when managing Memory Bank files
Provides cross-platform support with automatic path normalization for macOS systems when managing Memory Bank files
Maintains persistent project context through structured markdown files organized into five core categories for tracking project information
Offers integration through a published npm package for easy installation and configuration of the Memory Bank MCP
Incorporates Shields.io badges in the README for displaying language options and other metadata
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Memory Bank MCP update the decision log with our choice to use React hooks instead of class components"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Memory Bank MCP
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.
Features
Guided Operations: Provides instructions for AI assistants to perform operations themselves
Structured Context Management: Organize project information across 5 core files
Intelligent Guidance: Step-by-step instructions for initialization and updates
Flexible Updates: Smart update guidance based on different change types
Cross-Platform Support: Automatic path normalization for Windows/macOS/Linux
MCP Configuration
Using the published npm package:
{
"mcpServers": {
"memory-bank": {
"command": "npx",
"args": ["@neko0721/memory-bank-mcp"],
"timeout": 600
}
}
}Related MCP server: @vemdev/mcp-server
Quick Start
Initialize Memory Bank
Use init-memory-bank to create the memory-bank directory and core filesRead Memory Bank
Use get-memory-bank-info to view all Memory Bank contentUpdate Memory Bank
Use update-memory-bank to get guidance on updating specific files
Core Files
1. productContext.md (Product Context)
High-level project overview
Goals and key features
Overall architecture
Automatically incorporates projectBrief.md if available
2. activeContext.md (Active Context)
Current work status
Recent changes
Open questions and issues
Focus areas
3. progress.md (Progress)
Task tracking in checklist format
Completed, current, and planned tasks
Progress timeline
4. decisionLog.md (Decision Log)
Architectural and implementation decisions
Rationale and implications
Decision history
5. systemPatterns.md (System Patterns)
Recurring patterns and standards
Coding conventions
Architectural patterns
Testing strategies
Usage Guidelines
For AI Assistants
Start Every Session: Check if memory-bank directory exists, then use
get-memory-bank-infoto understand project stateInitialize When Needed: Use
init-memory-bankfor new projectsRead Context: Use
get-memory-bank-infoto understand project stateUpdate Guidance: Use
update-memory-bankto get update instructionsFollow Instructions: Execute the provided guidance to maintain Memory Bank
Update Triggers
Architecture Changes: Major structural decisions
Feature Completion: New features or capabilities
Bug Fixes: Significant issue resolutions
Refactoring: Code structure improvements
Decisions: Any important technical choices
Progress Updates: Task status changes
Tool Reference
init-memory-bank
Initializes Memory Bank with all core files.
Parameters:
rootPath: Project root directory pathforce(optional): Force re-initialization
Returns: Created files list and next steps guidance
get-memory-bank-info
Reads and returns all Memory Bank content (similar to codelf's get-project-info).
Parameters:
rootPath: Project root directory path
Returns: Formatted Memory Bank content for AI context
update-memory-bank
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 change
Returns: Detailed update instructions with templates and timestamps
Integration Tips
Cursor Setup
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.Windsurf Setup
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.Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
MIT
Acknowledgments
Inspired by the SPARC methodology and codelf.
Available Tools
3 toolsget-memory-bank-infoA
Read and return all Memory Bank file contents. This tool is similar to codelf's get-project-info:
Reads all .md files in the memory-bank directory
Returns formatted content for AI to understand project context
Use this tool at the beginning of each work session
Inputs: rootPath (required).
init-memory-bankA
Initialize memory-bank directory and core files. This tool will:
Create memory-bank directory
Generate initial templates for 5 core files
Read and integrate projectBrief.md if it exists
Provide next steps guidance
Inputs: rootPath (required), force.
update-memory-bankB
Generate detailed Memory Bank file update instructions with immediate execution guidance. This tool provides comprehensive, actionable instructions for updating Memory Bank files:
Detailed descriptions of each file's role and update strategy
Direct operation commands (not requests for confirmation)
Specific content templates and formatting guidelines
File relationship and update priority logic
Immediate execution emphasis for AI agents
Inputs: changeType (required), description (required), rootPath (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap: get-memory-bank-info reads existing files, init-memory-bank creates the initial structure, and update-memory-bank provides instructions for modifications. The descriptions reinforce these distinct roles, making misselection unlikely.
All tool names follow a consistent verb-noun pattern with hyphens (get-memory-bank-info, init-memory-bank, update-memory-bank), using clear action verbs aligned with their functions. There are no deviations in naming style or convention.
Three tools are appropriate for the server's purpose of managing a memory bank, covering initialization, reading, and updating. However, the scope feels slightly thin as there is no tool for deleting or archiving files, which could be useful for lifecycle management.
The tools cover core operations for a memory bank system: initialization, reading, and updating. A minor gap exists in lacking a delete or archive tool for full lifecycle coverage, but agents can likely work around this by using update-memory-bank to modify content as needed.
Maintenance
Related MCP Connectors
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Project management shared by people and AI agents, with persistent project state through MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Portable AI memory shared across models and harnesses - plain markdown you own.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides persistent memory for AI coding agents through the Model Context Protocol, enabling them to store and retrieve project knowledge across sessions.27 npmMIT
- AlicenseNot gradedqualityDmaintenanceGives AI agents durable project memory via the Model Context Protocol, allowing them to read tasks, record decisions, search context, and sync snapshots to the cloud.12 npmMIT
- AlicenseAqualityCmaintenanceAn AI-first business and project management tool that stores data locally in Markdown and JSON files, exposed via the Model Context Protocol (MCP). Enables project, issue, client, contact, and note management through natural language.25MIT
- AlicenseNot gradedqualityDmaintenanceProvides persistent, project-specific memory to AI assistants via the Model Context Protocol, enabling context-aware collaboration across sessions without cloud dependencies.33 PyPI1Apache 2.0