remember-me

remember-me

0

Remember Me is a persistence framework designed for MCP-based applications to maintain conversational context and rules. It supports storing rules, snippets, and summaries using SQLite and offers various API endpoints for context management, rule publication, and resource retrieval. The system is particularly configured to work alongside language model applications, ensuring they adhere to predefined conversational guidelines.

Remember Me

A persistence framework for maintaining conversational context and rules in MCP-based language model applications.

Overview

Remember Me is an MCP server designed to persist chat artifacts and rules. It provides a robust framework for storing, retrieving, and managing different types of persistent resources:

  • Rules: Define behavior constraints and guidelines for interaction
  • Snippets: Store reusable pieces of code or text
  • Summaries: Preserve important contextual information from conversations

The system uses SQLite for persistence and provides a comprehensive API for managing these resources across different contexts.

Architecture

Core Components

  • MyContext: Central manager for all persistence operations
  • PersistentResource: Base class for all storable resources
    • Rule: Commands that define acceptable interaction parameters
    • Snippet: Code or text fragments that can be referenced
    • Summary: Contextual information about conversations
  • Backup: System for creating and restoring context states

API

Context Management

  • Load, create, restore, list, remove, and clear context backups

Rule Management

  • List, create, update, and delete rules

Snippet Management

  • List, retrieve, create, update, and delete snippets

Summary Management

  • List, retrieve, create, update, and delete summaries

Using with LLMs

The "me" Context

A default context containing global rules, snippets, and summaries. LLMs should load this context at conversation start.

Extra Contexts

Load additional contexts like "coding" or "creative" as necessary