mekanixms
MCP Servermekanixmspublic

mcp_memory_plugin

一个使用SQLite实现持久化存储的Python内存插件。

Repository Info

3
Stars
1
Forks
3
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

一个使用SQLite实现持久化存储的Python内存插件。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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.

Quick Start

1

Clone the repository

git clone https://github.com/mekanixms/mcp_memory_plugin
2

Install dependencies

cd mcp_memory_plugin
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownermekanixms
Repomcp_memory_plugin
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation