Price Per TokenPrice Per Token

Memory Bank MCP Server

by alioshr

0

About

Memory Bank MCP Server is a remote memory management service that enables AI assistants to persistently store and retrieve contextual information across projects. It transforms traditional file-based memory banks into a centralized MCP-accessible service for use with Claude Desktop, Cline, and Roo Code. Key features of Memory Bank MCP Server: - Multi-project memory bank management with project-specific directories, file structure enforcement, and path traversal protection - File operations including reading, writing, updating, and listing memory bank files - Project discovery and validation with listing capabilities - Secure project isolation ensuring memory banks remain separate between different projects - Type-safe operations with comprehensive error handling

README

Memory Bank MCP Server

[](https://smithery.ai/server/@alioshr/memory-bank-mcp) [](https://www.npmjs.com/package/@allpepper/memory-bank-mcp) [](https://www.npmjs.com/package/@allpepper/memory-bank-mcp)

A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.

Overview

The Memory Bank MCP Server transforms traditional file-based memory banks into a centralized service that:

  • Provides remote access to memory bank files via MCP protocol
  • Enables multi-project memory bank management
  • Maintains consistent file structure and validation
  • Ensures proper isolation between project memory banks
  • Features

  • Multi-Project Support
  • - Project-specific directories - File structure enforcement - Path traversal prevention - Project listing capabilities - File listing per project

  • Remote Accessibility
  • - Full MCP protocol implementation - Type-safe operations - Proper error handling - Security through project isolation

  • Core Operations
  • - Read/write/update memory bank files - List available projects - List files within projects - Project existence validation - Safe read-only operations

    Installation

    To install Memory Bank Server for Claude Desktop automatically via Smithery:

    npx -y @smithery/cli install @alioshr/memory-bank-mcp --client claude
    

    This will set up the MCP server configuration automatically. Alternatively, you can configure the server manually as described in the Configuration section below.

    Quick Start

    1. Configure the MCP server in your settings (see Configuration section below) 2. Start using the memory bank tools in your AI assistant

    Using with Cline/Roo Code

    The memory bank MCP server needs to be configured in your Cline MCP settings file. The location depends on your setup:

  • For Cline extension: ~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • For Roo Code VS Code extension: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/mcp_settings.json
  • Add the following configuration to your MCP settings:

    {
      "allpepper-memory-bank": {
        "command": "npx",
        "args": ["-y", "@allpepper/memory-bank-mcp"],
        "env": {
          "MEMORY_BANK_ROOT": ""
        },
        "disabled": false,
        "autoApprove": [
          "memory_bank_read",
          "memory_bank_write",
          "memory_bank_update",
          "list_projects",
          "list_project_files"
        ]
      }
    }
    

    Configuration Details

  • MEMORY_BANK_ROOT: Directory where project memory banks will be stored (e.g., /path/to/memory-bank)
  • disabled: Set to false to enable the server
  • autoApprove: List of operations that don't require explicit user approval:
  • - memory_bank_read: Read memory bank files - memory_bank_write: Create new memory bank files - memory_bank_update: Update existing memory bank files - list_projects: List available projects - list_project_files: List files within a project

    Using with Cursor

    For Cursor, open the settings -> features -> add MCP server -> add the following:

    env MEMORY_BANK_ROOT= npx -y @allpepper/memory-bank-mcp@latest
    

    Using with Claude

  • Claude desktop config file: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Code config file: ~/.claude.json
  • 1. Locate the config file 3. Locate the property called mcpServers 4. Paste this:

     "allPepper-memory-bank": {
              "type": "stdio",
              "command": "npx",
              "args": [
                "-y",
                "@allpepper/memory-bank-mcp@latest"
              ],
              "env": {
                "MEMORY_BANK_ROOT": "YOUR PATH"
              }
            }
    

    Custom AI instructions

    This section contains the instructions that should be pasted on the AI custom instructions, either for Cline, Claude or Cursor, or any other MCP client. You should copy and paste these rules. For reference, see custom-instructions.md which contains these rules.

    Development

    Basic development commands:

    # Install dependencies
    npm install

    Build the project

    npm run build

    Run tests

    npm run test

    Run tests in watch mode

    npm run test:watch

    Run the server directly with ts-node for quick testing

    npm run dev

    Running with Docker

    1. Build the Docker

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81