Memory Bank MCP Server

by t3ta

Integrations

  • Integrates with Git branch structure to organize and manage branch-specific memory banks, automatically detecting current branches and maintaining context across feature or fix branches

  • Utilizes GitHub Actions for automated testing across multiple Node.js versions and automated release processes including version bumping, tagging, and npm publishing

  • Supports Markdown format for memory bank documents with migration tools to convert to the newer JSON format

Memory Bank MCP Server

A Memory Bank implementation for managing project documentation and context across sessions using the Model Context Protocol (MCP). This server helps AI agents like Claude maintain consistent project knowledge through global and branch-specific memory banks stored in a structured JSON format.

This project is inspired by Cline Memory Bank from the nickbaumann98/cline_docs repository.

Packages

This repository is a monorepo managed with Yarn Workspaces. It contains the following packages:

  • packages/mcp: The core MCP server implementation. Contains the main logic for handling memory bank operations, MCP tool execution, and server startup.
  • packages/schemas: Defines the JSON schemas used for memory bank documents (e.g., memory_document_v2).
  • packages/vscode-extension: A VSCode extension providing integration with the Memory Bank MCP server (details TBD).

Getting Started

Prerequisites

  • Node.js (see .tool-versions for recommended version)
  • Yarn (v1.x)

Installation

Clone the repository and install dependencies from the root directory:

git clone https://github.com/t3ta/memory-bank-mcp-server.git cd memory-bank-mcp-server yarn install

Running the MCP Server

You can run the MCP server directly from the monorepo:

# From the monorepo root directory yarn workspace @memory-bank/mcp start --docs /path/to/your/docs

Replace /path/to/your/docs with the actual path to your project's documentation directory (where global-memory-bank and branch-memory-bank will reside or be created).

See the packages/mcp/README.md for more details on running the server and its options.

Development

  • Build all packages: yarn build
  • Run tests for all packages: yarn test
  • Lint code: yarn lint

Refer to the README file within each package directory for package-specific development instructions.

License

This project is licensed under the MIT License. See the LICENSE file for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

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

A server for managing project documentation and context across Claude AI sessions through global and branch-specific memory banks, enabling consistent knowledge management with structured JSON document storage.

  1. Packages
    1. Getting Started
      1. Prerequisites
      2. Installation
      3. Running the MCP Server
    2. Development
      1. License

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A 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.
          Last updated -
          TypeScript
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol implementation that enables AI-powered access to documentation resources, featuring URI-based navigation, template matching, and structured documentation management.
          Last updated -
          3
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          Integrates Backlog project management with Claude via Model Context Protocol, enabling access to projects, issues, and wiki pages through natural language interactions.
          Last updated -
          TypeScript
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.
          Last updated -
          25
          1
          Python
          MIT License

        View all related MCP servers

        ID: cziza80o10