Логотип MCP Server Manifest Plugin

MCP Server Manifest Plugin

Спільнота
dazeb

A memory system for Cline that tracks progress between conversations.

Видавецьdazeb
Репозиторійcline-mcp-memory-bank
МоваJavaScript
Форки
19
Зірки
61
Доступні інструменти
0
Тип транспортуstdio
Категорії
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    MCP Server Manifest Plugin надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 0

    Нижче ви можете переглянути дії, які можна викликати, а також їхні назви й описи, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до проєкту з відкритим кодом

    У пов’язаному репозиторії: зірки — 61, форки — 19.

Cline Memory Bank

Inspired by roo-code-memory-bank

This project is still in development but is mostly working.

A Model Context Protocol server that provides persistent project context management for AI-assisted development - specifically designed to work with Cline VSCode Extenson.

Table of Contents

Overview

The Memory Bank MCP server helps maintain consistent project context across development sessions by providing structured tools and resources for managing:

  • Project context and technical details
  • Current session state and tasks
  • Progress tracking and milestones
  • Technical decisions and rationale

Persistent Memory System

One of the most powerful features of this project is its ability to maintain context across different coding sessions. Think of it as giving your AI assistant a "memory" that doesn't forget what you've been working on, even when you close VSCode and come back later.

How It Works

Imagine you're working on a complex project that spans multiple days or weeks. Normally, each time you start a new coding session, you'd need to re-explain your project's context to the AI assistant. With the Memory Bank:

  • Your AI assistant remembers previous discussions and decisions
  • Maintains understanding of your project's architecture and goals
  • Keeps track of ongoing tasks and progress
  • Remembers your coding preferences and project conventions

Key Benefits

  1. Continuity Across Sessions

    • No need to re-explain your project every time
    • Pick up exactly where you left off
    • Maintains consistent understanding of your codebase
  2. Smart Context Management

    • Automatically tracks important technical decisions
    • Records project progress and milestones
    • Maintains documentation of your development journey
  3. Enhanced Productivity

    • Faster project onboarding for each session
    • More consistent and contextual AI assistance
    • Reduces repetitive explanations
  4. Project History

    • Keeps track of why certain decisions were made
    • Maintains a log of completed features and changes
    • Helps new team members understand project evolution

The Memory Bank seamlessly integrates with the Cline VSCode Extension, requiring no additional setup from you once configured. It works quietly in the background, ensuring your AI assistant always has the context it needs to provide relevant and helpful assistance.

Installation

Prerequisites

  • Node.js (v16 or later)
  • VS Code with Cline extension installed
  • TypeScript (for development)

Setup Steps

  1. Clone and build the server:
bash
# Clone the repository
git clone https://github.com/dazeb/cline-mcp-memory-bank
cd cline-mcp-memory-bank

# Install dependencies (using pnpm as recommended)
pnpm install

# Build the server
pnpm run build

# Make globally available (optional, requires pnpm setup for global linking)
# pnpm link --global 
  1. Configure Cline Extension (Recommended: Use Initialization Command):

    Recommended Method: After building, run the initialization command from the project root. This automatically creates the memory bank files and configures the Cline MCP settings for you:

    bash
    node build/index.js initialize_memory_bank . 

    Manual Method (If needed): Add the following to your Cline MCP settings file. The path varies by OS:

    • Linux: ~/.config/Code - Insiders/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    • macOS: ~/Library/Application Support/Code - Insiders/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    • Windows: %APPDATA%\Code - Insiders\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

    Add this JSON object:

json
{
  "mcpServers": {
    "memory-bank": {
      "command": "node",
      "args": [
        "/path/to/cline-memory-bank/build/index.js"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Replace /path/to/cline-memory-bank with the actual, absolute path to your server installation (e.g., C:\Users\YourUser\Projects\cline-mcp-memory-bank on Windows). Note: Using the initialization command above handles this automatically.

Features

Tools

After installation and building, initialize the memory bank for your project by running this command in the project's root directory:

bash
node /path/to/cline-mcp-memory-bank/build/index.js initialize_memory_bank .

(Replace /path/to/cline-mcp-memory-bank with the actual path where you cloned and built the server).

Alternatively, if the server is configured in Cline, you can ask Cline to run the tool: initialize the memory bank.

Once initialized, you can ask Cline to update the memory bank context, record decisions, or track progress using the tools below, or configure it via .clinerules or the system prompt.

  1. initialize_memory_bank

    • Creates Memory Bank structure for a new project
    • Creates required markdown files with initial templates
    typescript
    use_mcp_tool('memory-bank', 'initialize_memory_bank', {
      projectPath: '/path/to/project'
    });
  2. update_context

    • Updates active context with current session information
    • Tracks mode, tasks, and session state
    typescript
    use_mcp_tool('memory-bank', 'update_context', {
      projectPath: '/path/to/project',
      content: {
        currentSession: {
          date: '2025-03-13',
          mode: 'development',
          task: 'Implementing new feature'
        }
      }
    });
  3. record_decision

    • Records technical decisions with rationale
    • Maintains history of architectural choices
    typescript
    use_mcp_tool('memory-bank', 'record_decision', {
      projectPath: '/path/to/project',
      decision: {
        title: 'Authentication System',
        description: 'Implementing JWT-based authentication',
        rationale: 'Better scalability and stateless operation',
        alternatives: [
          'Session-based auth',
          'OAuth only'
        ]
      }
    });
  4. track_progress

    • Updates project progress and milestones
    • Manages task status and blockers
    typescript
    use_mcp_tool('memory-bank', 'track_progress', {
      projectPath: '/path/to/project',
      progress: {
        completed: ['Setup project', 'Initialize database'],
        inProgress: ['Implement auth', 'Create API routes'],
        blocked: ['Deploy to production']
      }
    });

Resources

  1. memory://project/context

    • Project overview and technical stack
    • Architecture principles and guidelines
  2. memory://active/context

    • Current session state and tasks
    • Active considerations and notes
  3. memory://progress

    • Project milestones and task tracking
    • Work status and blockers
  4. memory://decisions

    • Technical decisions and rationale
    • Architecture choices and alternatives

System Prompt Suggestion

Add to Cline system prompt or .clinerules file under settings.

Memory Bank Integration Rules:

CRITICAL: Before ANY task or response:
1. ALWAYS check active context (memory://active/context):
   - Current project state and mode
   - Ongoing tasks and their status
   - Recent decisions and updates
   - Open questions and concerns

2. ALWAYS review project context (memory://project/context):
   - Technical stack and dependencies
   - Project guidelines and standards
   - Architecture principles
   - Development workflow

3. ALWAYS consult decision log (memory://decisions) for:
   - Previous architectural choices
   - Established patterns
   - Technical rationales
   - Related decisions

4. ALWAYS check progress tracking (memory://progress):
   - Current phase and milestones
   - Completed work
   - In-progress tasks
   - Known blockers

After EVERY task:
1. Update active context with:
   - Task completion status
   - New information learned
   - Changes made

2. Record any technical decisions with:
   - Clear rationale
   - Considered alternatives
   - Impact assessment

3. Update progress tracking:
   - Mark completed items
   - Add new tasks identified
   - Note any blockers found

Key Guidelines:
- NEVER proceed without checking memory bank context
- ALWAYS maintain consistent project state
- Record ALL significant technical decisions
- Track progress in real-time
- Keep context updated with EVERY change

File Structure

When initialized, the Memory Bank creates the following structure in your project:

Initial File Contents

Upon initialization, each file is populated with structured content:

  1. activeContext.md:

    • Current session information with timestamp
    • Initial tasks (Project initialization, Environment setup)
    • Open questions about project goals and requirements
    • Recent updates section
  2. progress.md:

    • Current phase (Initialization)
    • Initial completed tasks (Repository setup, Basic structure)
    • In-progress tasks (Environment configuration, Documentation)
    • Upcoming tasks section
    • Blockers tracking
  3. decisionLog.md:

    • Initial project structure decisions
    • Development workflow choices with alternatives
    • Documentation strategy decisions
    • Section for pending decisions
  4. projectContext.md:

    • Project overview and version
    • Detected technical stack and dependencies
    • Configuration files listing
    • Architecture principles
    • Development setup instructions
    • Project workflow guidelines

Using with Cline

Simply ask Cline to initialize the memory bank.

  1. Initialize a new Memory Bank:

    use_mcp_tool('memory-bank', 'initialize_memory_bank', {
      projectPath: process.cwd()  // or specific path
    });
  2. Access project context:

    access_mcp_resource('memory-bank', 'memory://project/context');
  3. Update session context:

    use_mcp_tool('memory-bank', 'update_context', {
      projectPath: process.cwd(),
      content: {
        currentSession: {
          date: new Date().toISOString().split('T')[0],
          mode: 'development',
          task: 'Current task description'
        }
      }
    });
  4. Record technical decisions:

    use_mcp_tool('memory-bank', 'record_decision', {
      projectPath: process.cwd(),
      decision: {
        title: 'Decision Title',
        description: 'What was decided',
        rationale: 'Why it was decided'
      }
    });

Development

To modify or enhance the server:

  1. Update source in src/index.ts
  2. Run tests: npm test
  3. Build: npm run build
  4. Restart Cline extension to load changes

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT © dazeb

Встановлення

TypingMind
{
  "mcpServers": {
    "cline-mcp-memory-bank": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

Використовуйте MCP MCP Server Manifest Plugin з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення MCP Server Manifest Plugin ви можете використовувати це підключення з різними моделями ШІ в TypingMind, не налаштовуючи його окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Налаштувати конектор».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Налаштувати конектор» і виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо в терміналі з’явиться запит на підтвердження.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте MCP Server Manifest Plugin як сервер

Коли статус конектора зміниться на «Готово», натисніть «Редагувати сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Редагувати сервери».
  3. Вставте конфігурацію сервера MCP MCP Server Manifest Plugin.
  4. Збережіть список серверів.
  5. Якщо хочете переконатися, що конектор досі готовий до роботи, оновіть дані.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Редагувати сервери»
{
  "mcpServers": {
    "cline-mcp-memory-bank": {
      "command": "npx",
      "args": [
        "-y",
        "memory-bank-server"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для MCP Server Manifest Plugin, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для MCP Server Manifest Plugin.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через MCP Server Manifest Plugin?
MCP Server Manifest Plugin
Звісно. Я це прочитав.
Ось що я знайшов за допомогою MCP Server Manifest Plugin.

Поширені запитання

Для чого використовується сервер MCP MCP Server Manifest Plugin?

MCP Server Manifest Plugin — це сервер MCP, який дає змогу сумісним клієнтам ШІ отримувати доступ до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати сервер MCP MCP Server Manifest Plugin з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати MCP Server Manifest Plugin з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати сервер MCP MCP Server Manifest Plugin із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши MCP Server Manifest Plugin, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити сервер MCP MCP Server Manifest Plugin до TypingMind?

MCP Server Manifest Plugin працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає сервер MCP MCP Server Manifest Plugin у TypingMind?

MCP Server Manifest Plugin надає можливості MCP, які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно ділитися своїми ключами API з TypingMind, щоб використовувати сервер MCP MCP Server Manifest Plugin?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає вам змогу самостійно обирати постачальників моделей і керувати ключами API, промптами та конфігурацією MCP. Якщо MCP Server Manifest Plugin потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇