memory-mcp

drdee/memory-mcp

3.3

If you are the rightful owner of memory-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Memory MCP is a Model Context Protocol server designed for storing and retrieving memories using a low-level Server implementation and SQLite storage.

Memory MCP is a server application that facilitates the storage and retrieval of memory data using a Model Context Protocol (MCP). It leverages SQLite for storage and provides a set of tools to manage memories, such as storing, retrieving, updating, and deleting them. The server is built with a focus on simplicity and efficiency, using the 'uv' package manager for dependency management. It also includes a command-line interface for debugging and interacting with the server, making it a versatile tool for developers looking to manage memory data in a structured and efficient manner.

Features

  • Low-level Server Implementation: Provides a robust server framework for managing memory data.
  • SQLite Storage: Utilizes SQLite for efficient and reliable data storage.
  • Command-line Interface: Includes MCP Inspect for debugging and interacting with the server.
  • Tool Management: Offers tools for storing, retrieving, updating, and deleting memories.
  • Dependency Management: Uses 'uv' for fast and reliable package management.

Usages

local integration stdio

python
mcp.run(transport='stdio')  # Tools defined via @mcp.tool() decorator

local integration subprocess

python
command='uv', args=['run', 'server.py']  # Launch using virtual environment

remote integration sse

python
mcp.run(transport='sse', host="0.0.0.0", port=8000)  # Specify SSE endpoint

remote integration streamable http

yaml
paths:
  /mcp:
    post:
      x-ms-agentic-protocol: mcp-streamable-1.0  # Copilot Studio integration

development framework fastmcp

python
from mcp.server import FastMCP
app = FastMCP('demo')
@app.tool()
async def query(): ...

debugging testing tools inspector

bash
mcp inspect

Tools

  1. Remember

    Store new memories

  2. get_memory

    Retrieve specific memories

  3. list_memories

    List all memories

  4. update_memory

    Update memory

  5. delete_memory

    Delete memory