MCP.so
登录

Knowledge Graph Memory Server

@T1nker-1220

关于 Knowledge Graph Memory Server

I enhance the existing memory mcp server from the official mcp github, so big thanks and credits for creating this

基本信息

分类

记忆与知识

许可证

MIT

运行时

node

传输方式

stdio

发布者

T1nker-1220

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "memories-with-lessons-mcp-server": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp/memory",
        "-f",
        "src/memory/Dockerfile",
        "."
      ]
    }
  }
}

工具

9

Create multiple new entities in the knowledge graph

Create multiple new relations between entities

Add new observations to existing entities

Remove entities and their relations

Remove specific observations from entities

Remove specific relations from the graph

Read the entire knowledge graph

Search for nodes based on query

Retrieve specific nodes by name

概览

What is Knowledge Graph Memory Server?

A persistent memory implementation using a local knowledge graph, allowing Claude to remember user information across chats and learn from past errors through a lesson system.

How to use Knowledge Graph Memory Server?

Install via npx or Docker, configure the MCP client (e.g., Claude Desktop or Cursor), and add a system prompt for memory usage. The server exposes tools for managing entities, relations, observations, and lessons. Environment variable MEMORY_FILE_PATH can set a custom storage path.

Key features of Knowledge Graph Memory Server

  • Entities as primary nodes with name, type, and observations.
  • Directed relations stored in active voice.
  • Atomic observations attached to entities.
  • Lesson system for error pattern capture and success tracking.
  • Automatic file splitting when lines exceed 1000.

Use cases of Knowledge Graph Memory Server

  • Persistent memory for personal assistant across chat sessions.
  • Learning from past errors by storing lessons with solutions.
  • Building a knowledge graph of user preferences, relationships, and goals.

FAQ from Knowledge Graph Memory Server

What data does the server store?

It stores entities (with type and observations), relations between entities, and lessons (error patterns, solutions, metadata) in local JSON files (memory.json and lesson.json).

How are lessons different from regular entities?

Lessons are special entities with structured error pattern information, solution steps, success rate tracking, and environmental context, designed for learning from errors.

What are the runtime requirements?

Requires Node.js and npm/npx or Docker. The server uses local file storage; no external database is needed.

How does file management work?

Files are automatically split if they exceed 1000 lines to maintain performance.

What transport/auth does the server use?

The server uses stdio transport (for Claude Desktop) and is intended for local use with no authentication mechanism described.

评论

记忆与知识 分类下的更多 MCP 服务器