Skip to main content

Memory Plugin

A Python-based memory plugin that uses SQLite for persistent storage.

Overview

This plugin provides memory storage functionality using SQLite as the backend database. It's designed to store and manage data persistently across sessions.

Setup

  1. Environment Configuration

    Create a .env file in the root directory with the following configuration:

    MEMORY_DB_PATH=/path/to/your/memory.sqlite
    
    

    You can use the provided .env.example as a template:

    cp .env.example .env
    
  2. Dependencies

    The project requires Python and uses SQLite for data storage. Make sure you have Python installed on your system.

Configuration

  1. rename .env.example to .env and edit the values to your needs:

  2. Locate claude_desktop_config.json and use the template below to add "MQTT Bridge" to the mcpServers section. MacOs: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: C:\Users<username>\AppData\Roaming\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "memory_recall": {
      "command": "/path/to/python3",
      "args": [
        "/path/2/your/cloned/repository/memory_plugin.py"
      ]
    }
  }
}

The SQLite database path is configured through the MEMORY_DB_PATH environment variable. This should point to where you want the SQLite database file to be stored.

Current configuration:

MEMORY_DB_PATH=/path/to/your/dabatase.sqlite

Usage

Basic Usage

Refer to the @mcp.resource and @mcp.tool decorated functions in the memory_plugin.py file

Examples to type in the chat:

  • memory://load to load the saved memories at new chat start
  • Save into the memory, under aNewName category, the following: a new message with important info to remember
  • Save the relevant points of the conversation into the memory under aNewName category

Development

When contributing to this project:

  1. Make sure to not commit sensitive information
  2. Keep your .env file private
  3. Use .env.example for sharing template configurations

License

This project is licensed under the MIT License.

Metadata

Release files for iflow-mcp_mekanixms-mcp_memory_plugin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mekanixms-mcp_memory_plugin 0.1.0
File Size Uploaded
iflow_mcp_mekanixms_mcp_memory_plugin-0.1.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mekanixms-mcp_memory_plugin 0.1.0
File Interpreter ABI Platform
iflow_mcp_mekanixms_mcp_memory_plugin-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / iflow_mcp_mekanixms_mcp_memory_plugin-0.1.0.tar.gz

Download URL iflow_mcp_mekanixms_mcp_memory_plugin-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
671dc51b8e616b197f58dd4f49292d02b16beb13cab690ec589452c25773604c
BLAKE2b-256 checksum
How to use checksums
13b455444c94190bd13cd8bc5c5efbe01d954f6793db34fba2b4aa9e903d1daf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_mekanixms_mcp_memory_plugin-0.1.0-py3-none-any.whl

Download URL iflow_mcp_mekanixms_mcp_memory_plugin-0.1.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
900f2a31292e03b6ba5f967a36dbfd1f26853b3e7bca4122cffd99d4efa9daaa
BLAKE2b-256 checksum
How to use checksums
c7f20ee15784f7c02b9597b9b4d5c2303b9723f56288dbcb86385ac81787a9fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page