Skip to main content
Glama

Memory Bank MCP Server

存储库 MCP 服务器

该 MCP 服务器有助于构建基于Cline 记忆库模式的结构化文档系统,用于 AI 助手环境中的上下文保存。

EnlighterHyperskill提供支持。

了解如何在 Cursor 中直接设置和使用 Memory Bank: http://enlightby.ai/projects/37

特征

  • 获取有关记忆库结构的详细信息
  • 生成记忆库文件的模板
  • 分析项目并为记忆库内容提供建议

运行服务器

有几种使用此 MCP 服务器的选项:

使用 UVX

将其添加到您的 mcp.json 配置文件中:

{ "mcpServers": { "mcp-memory-bank": { "command": "uvx", "args": [ "--from", "git+https://github.com/ipospelov/mcp-memory-bank", "mcp_memory_bank" ] } } }

拥有Smithery

将其添加到您的 mcp.json 配置文件中:

{ "mcpServers": { "memory-bank": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@ipospelov/mcp-memory-bank", "--key", "your_smithery_key" ] } } }

使用 Docker

将其添加到您的 mcp.json 配置文件中:

{ "mcpServers": { "memory-bank": { "command": "docker", "args": [ "run", "-i", "--rm", "19283744/mcp-memory-bank:latest" ] } } }

手动

克隆存储库并运行以下命令:

python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt

然后将其添加到您的 mcp.json 配置文件中:

{ "mcpServers": { "memory-bank": { "command": "python", "args": ["src/mcp_memory_bank/main.py"] } } }

使用示例

询问 Cursor 或任何其他具有 Memory Bank MCP 的 AI 代码助手:

Create memory bank for To Do list application with your tools

提供更多背景信息以获得更好的结果。

可用工具

获取内存结构

返回存储库文件结构的详细描述。

生成内存库模板

返回特定存储库文件的模板。

例子:

{ "file_name": "projectbrief.md" }

分析项目摘要

分析项目摘要并为记忆库内容提供建议。

例子:

{ "project_summary": "Building a React web app for inventory management with barcode scanning" }

存储库结构

记忆库由核心文件和可选的上下文文件组成,全部采用 Markdown 格式:

核心文件(必需)

  1. projectbrief.md - 塑造所有其他文件的基础文档
  2. productContext.md - 解释项目存在的原因以及正在解决的问题
  3. activeContext.md - 当前工作重点、近期变化、后续步骤
  4. systemPatterns.md - 系统架构、技术决策、设计模式
  5. techContext.md - 使用的技术、开发设置、限制
  6. progress.md - 哪些有效,哪些还有待构建
  7. memory_bank_instructions.md - 如何使用记忆库,AI 代理的说明
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

为 AI 助手环境中的上下文保存提供结构化的文档系统,帮助用户为其项目创建和管理存储库。

  1. 特征
    1. 运行服务器
      1. 使用 UVX
      2. 拥有Smithery
      3. 使用 Docker
      4. 手动
    2. 使用示例
      1. 可用工具
        1. 获取内存结构
        2. 生成内存库模板
        3. 分析项目摘要
      2. 存储库结构
        1. 核心文件(必需)

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Enables AI assistants to maintain persistent project context across sessions by storing and retrieving structured information in markdown files organized in a memory bank directory.
        Last updated -
        4
        55
        Apache 2.0
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        A lightweight server that provides persistent memory and context management for AI assistants using local vector storage and database, enabling efficient storage and retrieval of contextual information through semantic search and indexed retrieval.
        Last updated -
        1
        MIT License
      • A
        security
        A
        license
        A
        quality
        Provides AI assistants with persistent memory of your project architecture, development history, and technical decisions, allowing them to give context-aware coding help without needing repeated explanations.
        Last updated -
        16
        61
        1
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A memory system for AI coding tools that stores and retrieves codebase context with project isolation. Enables coding assistants to maintain searchable memory of code snippets, comments, and runtime traces with full source traceability.
        Last updated -
        27
        188
        MIT License
        • Linux
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/ipospelov/mcp-memory-bank'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server