Memory Bank MCP Server
存储库 MCP 服务器
一个记忆库实现,用于使用模型上下文协议 (MCP) 跨会话管理项目文档和上下文。该服务器帮助像 Claude 这样的 AI 代理通过以结构化 JSON 格式存储的全局和特定分支记忆库来保持一致的项目知识。
该项目的灵感来自nickbaumann98/cline_docs存储库中的Cline Memory Bank 。
套餐
此存储库是一个由 Yarn Workspaces 管理的 monorepo。它包含以下软件包:
packages/mcp:MCP 服务器的核心实现。包含处理内存条操作、MCP 工具执行以及服务器启动的主要逻辑。packages/schemas:定义用于记忆库文档的 JSON 模式(例如,memory_document_v2)。packages/vscode-extension:VSCode 扩展,提供与 Memory Bank MCP 服务器的集成(详情待定)。
Related MCP server: Memory MCP Server
入门
先决条件
Node.js(请参阅
.tool-versions了解推荐版本)Yarn(v1.x)
安装
从根目录克隆存储库并安装依赖项:
git clone https://github.com/t3ta/memory-bank-mcp-server.git
cd memory-bank-mcp-server
yarn install运行 MCP 服务器
您可以直接从 monorepo 运行 MCP 服务器:
# From the monorepo root directory
yarn workspace @memory-bank/mcp start --docs /path/to/your/docs将/path/to/your/docs替换为项目文档目录的实际路径( global-memory-bank和branch-memory-bank将驻留或创建的位置)。
有关运行服务器及其选项的更多详细信息,请参阅packages/mcp/README.md 。
发展
构建所有包:
yarn build对所有包运行测试:
yarn test棉绒代码:
yarn lint
请参阅每个包目录中的 README 文件,了解特定于包的开发说明。
执照
本项目遵循 MIT 许可证。详情请参阅 LICENSE 文件。
This server cannot be deployed
Maintenance
Related MCP Connectors
- SeturosOAuthcom.seturos
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
- OneLoreOAuthai.onelore
Shared project context for AI agents and teams: docs, tasks, and messages that stay current.
Persistent, governed institutional memory for Claude Code — specs, decisions, learnings.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for Claude Desktop that provides structured memory management across chat sessions, allowing Claude to maintain context and build a knowledge base within project directories.15 npm6MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables Claude to persistently store, search, and manage text memories with tags in a local JSON file.2148 npmMIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides persistent memory and conversation continuity for Claude Desktop and Claude Code, allowing users to save and restore project context when threads hit token limits.MIT
- AlicenseNot gradedqualityFmaintenanceA persistent memory server for Claude Code that captures session context and tool outputs to inject relevant history into future sessions. It enables long-term recall through semantic search and automatic context management, allowing for more consistent and context-aware coding interactions.10 npm252ISC
Appeared in Searches
- Methods to store and persist memories for AI systems
- Claude Desktop with persistent memory and artifact library system
- Finding the Best Tool for Memory Context Across Agentic Sessions Using Augment Code
- Automating Project Documentation with a Focus on Memory Management
- Tools and frameworks for development environment memory-bank with GitHub Copilot compatibility