Labsco
bneil logo

Memory Custom : PouchDB

β˜… 4

from bneil

Extends the Memory server with PouchDB for robust document-based storage, custom memory file paths, and interaction timestamping.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

Memory Custom : PouchDB 🧠

smithery badge

This project adds new features to the Memory server offered by the MCP team. It allows for the creation and management of a knowledge graph that captures interactions via a language model (LLM). πŸš€

This repo was forked from https://github.com/BRO3886/mcp-memory-custom which was a great starting point, thanks again for fixing timestamps. This repo's goal was more to fix the issue with an ever increasing json file for context.

New Features ✨

1. PouchDB Integration πŸ’Ύ

  • The server now uses PouchDB for robust document-based storage
  • Why?: Better data consistency, built-in versioning, and improved performance for large datasets
  • Maintains file backup for compatibility

2. Custom Memory Paths πŸ“

  • Users can now specify different memory file paths for various projects
  • Why?: This feature enhances organization and management of memory data, allowing for project-specific memory storage

3. Timestamping ⏰

  • The server now generates timestamps for interactions
  • Why?: Timestamps enable tracking of when each memory was created or modified, providing better context and history for the stored data

API Endpoints πŸ”Œ

The server exposes several tools that can be called with specific parameters:

  • Get Current Time ⏰
  • Set Memory File Path πŸ“
  • Create Entities βž•
  • Create Relations πŸ”—
  • Add Observations πŸ“
  • Delete Entities ❌
  • Delete Observations πŸ—‘οΈ
  • Delete Relations πŸ”—
  • Read Graph πŸ“–
  • Search Nodes πŸ”
  • Open Nodes πŸ”“

Acknowledgments πŸ™

  • Inspired by the Memory server from Anthropic
  • Powered by PouchDB for robust data storage πŸ’Ύ