OM

okooo5km/memory-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

104 stars 9 forks Качество 50 Тренд 0

okooo5km/memory-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/okooo5km/memory-mcp-server.

Обзор

okooo5km/memory-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/okooo5km/memory-mcp-server.

Обзор (машинный перевод)

Сервер Model Context Protocol, предоставляющий возможности управления графами знаний. Этот сервер позволяет LLM создавать, читать, обновлять и удалять сущности и связи в постоянном графе знаний, помогая ассистентам искусственного интеллекта сохранять память между разговорами. Это реализация Swift официального TypeScript Memory MCP Server.

Примечание: Для этой версии Swift требуется macOS 14.0 или новее. Для более широкой поддержки платформ (включая Windows, Linux и macOS 11.0+) обратите внимание на реализацию языка Go: memory-mcp-server-go.

✨ Особенности

  • Хранение графа знаний: Поддерживать постоянный граф сущностей и их взаимосвязей
  • Управление сущностями: Создание, получение, обновление и удаление сущностей с пользовательскими типами
  • Отслеживание отношений: Определять и управлять отношениями между объектами в активном голосовом виде
  • Система наблюдения: Добавлять и удалять наблюдения об объектах со временем
  • Мощный поиск: Найдите релевантные узлы по названию, типу или содержимому наблюдения
  • Постоянное хранилище: данные сохраняются между сессиями в простом формате JSON

Доступные инструменты

  • create_entities - Создать несколько новых сущностей в графе знаний

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Memory MCP Server

A Model Context Protocol server that provides knowledge graph management capabilities. This server enables LLMs to create, read, update, and delete entities and relations in a persistent knowledge graph, helping AI assistants maintain memory across conversations. This is a Swift implementation of the official TypeScript Memory MCP Server.

Note: This Swift version requires macOS 14.0 or later. For broader platform support (including Windows, Linux, and macOS 11.0+), check out the Go language implementation: memory-mcp-server-go.

✨ Features

  • Knowledge Graph Storage: Maintain a persistent graph of entities and their relationships
  • Entity Management: Create, retrieve, update, and delete entities with custom types
  • Relation Tracking: Define and manage relationships between entities in active voice
  • Observation System: Add and remove observations about entities over time
  • Powerful Search: Find relevant nodes by name, type, or observation content
  • Persistent Storage: Data persists between sessions in a simple JSON format

Available Tools

  • create_entities - Create multiple new entities in the knowledge graph

    • entities (array, required): Array of entity objects to create
      • name (string): The name of the entity
      • entityType (string): The type of the entity
      • observations (array of strings): Observations associated with the entity
  • create_relations - Create multiple new relations between entities

    • relations (array, required): Array of relation objects
      • from (string): The name of the entity where the relation starts
      • to (string): The name of the entity where the relation ends
      • relationType (string): The type of the relation (in active voice)
  • add_observations - Add new observations to existing entities

    • observations (array, required): Array of observation additions
      • entityName (string): The name of the entity to add observations to
      • contents (array of strings): The observations to add
  • delete_entities - Delete multiple entities and their associated relations

    • entityNames (array, required): Array of entity names to delete
  • delete_observations - Delete specific observations from entities

    • deletions (array, required): Array of observation deletions
      • entityName (string): The name of the entity containing the observations
      • observations (array of strings): The observations to delete
  • delete_relations - Delete multiple relations from the knowledge graph

    • relations (array, required): Array of relation objects to delete
      • from (string): The source entity name
      • to (string): The target entity name
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

"mcpServers": { "memory": { "command": "memory-mcp-server", "env": { "MEMORY_FILE_PATH": "/path/to/your/memory.json" } } }