MCP Server: Memory

MCP Server: Memory

By kwanLeeFrmVi GitHub

-

Overview

what is MCP Server: Memory?

MCP Server: Memory is a server that provides persistent memory capabilities for AI models through a knowledge graph, allowing models to retain and recall information across interactions.

how to use MCP Server: Memory?

To use MCP Server: Memory, configure it within an MCP-compatible client like the Claude Desktop application by setting up the mcpServers configuration in the client's settings.

key features of MCP Server: Memory?

  • 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

use cases of MCP Server: Memory?

  1. Enhancing AI interactions by allowing models to remember user preferences.
  2. Enabling AI to provide context-aware responses based on previous interactions.
  3. Facilitating knowledge management for AI applications.

FAQ from MCP Server: Memory?

  • Can MCP Server: Memory be used with any AI model?

It is primarily designed for use with MCP-compatible clients like Claude.

  • How is the knowledge graph stored?

The knowledge graph is stored in a knowledge_graph.json file in the current working directory.

  • Is there a specific environment required to run MCP Server: Memory?

It requires Node.js and can be run using npm.

Content

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 tools information available.
No content found.