MCP Server: Memory

by kwanLeeFrmVi

159 downloads
Not rated
GitHub

Description

# MCP Server: Memory [![NPM Version](https://img.shields.io/npm/v/mcp-server-memory.svg)](https://www.npmjs.com/package/mcp-server-memory) [![Bun Version](https://img.shields.io/badge/bun-v1.2.8-blueviolet)](https://bun.sh)…

About

# MCP Server: Memory [![NPM Version](https://img.shields.io/npm/v/mcp-server-memory.svg)](https://www.npmjs.com/package/mcp-server-memory) [![Bun Version](https://img.shields.io/badge/bun-v1.2.8-blueviolet)](https://bun.sh) [![License](https://img.shields.io/npm/l/mcp-server-memory.svg)](LICENSE) This project is…

Details

Author
kwanLeeFrmVi
Downloads
159
Categories
Knowledge Base

- Create and manage entities (people, places, concepts, etc.)
- Define relationships between entities
- Store observations or facts associated with entities
- Search and retrieve information from the knowledge graph
- Persistent storage in a local JSON file

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server: Memory
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server is primarily used with MCP-compatible clients like Claude Desktop. Configure it in the client’s settings under mcpServers, specifying the npx command with the package name mcp-server-memory. Optionally set the MEMORY_FILE_PATH environment variable to customize the location of the knowledge graph file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server: memory": {
            "memory": {
                "command": "npx",
                "args": [
                    "-y",
                    "mcp-server-memory"
                ],
                "env": {
                    "MEMORY_FILE_PATH": "/path/to/your/custom_memory.json"
                }
            }
        }
    }
}

McpServers

{
    "memory": {
        "command": "npx",
        "args": [
            "-y",
            "mcp-server-memory"
        ],
        "env": {
            "MEMORY_FILE_PATH": "/path/to/your/custom_memory.json"
        }
    }
}

MCP Server: Memory

NPM Version
Bun Version
License

This project is derived from the original @modelcontextprotocol/server-memory package, modified for my specific needs.

An MCP (Model Context Protocol) server providing persistent memory capabilities for AI models through a knowledge graph. This allows models like Claude to retain and recall information across interactions.

Overview

This server implements the Model Context Protocol and acts as a bridge between an AI model and a persistent knowledge graph stored locally. It allows the model to:

- Create and manage entities (people, places, concepts, etc.).
- Define relationships between entities.
- Store observations or facts associated with entities.
- Search and retrieve information from the knowledge graph.

By default, the knowledge graph is stored in a knowledge_graph.json file in the current working directory where the server is run.

Usage with Claude Desktop

This server is primarily designed to be used with MCP-compatible clients like the Claude Desktop application. You configure it within the client's settings.

Example mcpServers Configuration:

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "mcp-server-memory"],
      "env": {
        "MEMORY_FILE_PATH": "/path/to/your/custom_memory.json"
      }
    }
  }
}

...[rest of existing content remains unchanged...]

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.