memory-mcp-server

memory-mcp-server

91

The Memory MCP Server is a Swift implementation of a Model Context Protocol server that manages a knowledge graph for persistent AI memory. It enables large language models to maintain memory by adding, updating, and managing entities and relationships. The server supports macOS and uses simple JSON formats for storage.

Memory MCP Server

A Model Context Protocol server that provides knowledge graph management capabilities. This Swift implementation allows management of entities and relations, helping AI maintain memory across conversations.

Features

  • Knowledge Graph Storage
  • Entity Management
  • Relation Tracking
  • Observation System
  • Powerful Search
  • Persistent Storage

Use Cases

  • Long-term Memory for AI Assistants
  • Knowledge Management
  • Relationship Tracking
  • Context Persistence
  • Journal and Daily Logs

Installation

Option 1: One-Line Installation (curl)

The installer downloads and installs the latest version to ~/.local/bin. Ensure this directory is in your PATH.

Option 2: Build from Source

  1. Clone the repository
  2. Build the project
  3. Install the binary to ~/.local/bin.

Command Line Arguments

  • -h, --help
  • -v, --version

Configuration

Environment Variables

  • MEMORY_FILE_PATH: Custom path for storing the knowledge graph.