Memory Bank MCP Server
This MCP server helps to build structured documentation system based on Cline's Memory Bank pattern for context preservation in AI assistant environments.
Powered by Enlighter and Hyperskill.
Learn how to setup and use Memory Bank directly in Cursor: http://enlightby.ai/projects/37
Features
- Get detailed information about Memory Bank structure
- Generate templates for Memory Bank files
- Analyze project and provide suggestions for Memory Bank content
Running the Server
There are a few options to use this MCP server:
With UVX
Add this to your mcp.json config file:
{
"mcpServers": {
"mcp-memory-bank": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/ipospelov/mcp-memory-bank",
"mcp_memory_bank"
]
}
}
}
With Smithery
Add this to your mcp.json config file:
{
"mcpServers": {
"memory-bank": {
"command": "npx",
"args": [
"-y",
"@smithery/cli@latest",
"run",
"@ipospelov/mcp-memory-bank",
"--key",
"your_smithery_key"
]
}
}
}
With Docker
Add this to your mcp.json config file:
{
"mcpServers": {
"memory-bank": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"19283744/mcp-memory-bank:latest"
]
}
}
}
Manually
Clone repository and run the following commands:
python -m venv venv
source venv/bin/activate # On Windows: venv\\Scripts\\activate
pip install -r requirements.txt
Then add this to your mcp.json config file:
{
"mcpServers": {
"memory-bank": {
"command": "python",
"args": ["src/mcp_memory_bank/main.py"]
}
}
}
Usage Example
Ask Cursor or any other AI code assistant with Memory Bank MCP:
Create memory bank for To Do list application with your tools
Provide more context to get better results.
Available Tools
get_memory_bank_structure
Returns a detailed description of the Memory Bank file structure.
generate_memory_bank_template
Returns a template for a specific Memory Bank file.
Example:
{
"file_name": "projectbrief.md"
}
analyze_project_summary
Analyzes a project summary and provides suggestions for Memory Bank content.
Example:
{
"project_summary": "Building a React web app for inventory management with barcode scanning"
}
Memory Bank Structure
The Memory Bank consists of core files and optional context files, all in Markdown format:
Core Files (Required)
projectbrief.md- Foundation document that shapes all other filesproductContext.md- Explains why the project exists, problems being solvedactiveContext.md- Current work focus, recent changes, next stepssystemPatterns.md- System architecture, technical decisions, design patternstechContext.md- Technologies used, development setup, constraintsprogress.md- What works, what's left to buildmemory_bank_instructions.md- How to work with Memory Bank, instructtions for AI-agent
Recommend MCP Servers 💡
CaptainCrouton89/alaria-wiki-mcp
An MCP server boilerplate for storing and retrieving information using vector embeddings, integrating with AI assistants like Claude for a personal knowledge base or semantic search.
druid-mcp-server
A comprehensive MCP server for Apache Druid with tools, resources, and AI prompts for cluster management and analysis.
xinlei413/DOC-Server-MCP
An MCP server designed to scrape, process, index, and search documentation for various software libraries and packages, supporting multiple LLM embedding providers and hybrid search.
BloodHound-MCP
An MCP server enabling LLMs to interact with and analyze AD/AAD environments via natural language queries using BloodHound data.
atomgit-mcp-server
AtomGit MCP Server is an implementation specifically for the Model Context Protocol (MCP) of the AtomGit open-source collaboration platform. It provides a series of methods that allow AI to manage repositories, issues, pull requests, branches, labels, etc. of the AtomGit open-source collaboration platform.
octocode-mcp
An MCP server for semantic code research and context generation, enabling natural language search across codebases and transforming them into AI-optimized knowledge.