OM

okooo5km/memory-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

104 stars 9 forks 品質 50 トレンド 0

okooo5km/memory-mcp-server は、https://github.com/okooo5km/memory-mcp-server. からインポートされたMCPサーバー候補です。

概要

okooo5km/memory-mcp-server は、https://github.com/okooo5km/memory-mcp-server. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

知識グラフ管理機能を提供するモデルコンテキストプロトコルサーバーです。このサーバーは、持続的な知識グラフ内のエンティティや関係をLLMが作成、読み取り、更新、削除できるようにし、AIアシスタントが会話を超えた記憶を維持するのを支援します。これは公式のTypeScriptメモリMCPサーバーのSwift実装です。

注: このSwiftバージョンはmacOS 14.0以降が必要です。より広いプラットフォームサポート(Windows、Linux、macOS 11.0+を含む)については、Go言語実装をチェックしてください:memory-mcp-server-go。

✨ 特徴

  • 知識グラフ保存:エンティティとその関係の永続的なグラフを維持する
  • エンティティ管理:カスタムタイプでエンティティを作成、取得、更新、削除
  • 関係追跡:能動態でエンティティ間の関係を定義・管理
  • 観測システム:時間経過による観察の追加・削除
  • 強力な検索:名前、タイプ、または観察コンテンツで関連ノードを検索
  • 永続的保存:データはセッション間で単純なJSON形式で永続化します

利用可能なツール

  • create_entities - 知識グラフに複数の新しいエンティティを作成する

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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
GitHub で README 全文を見る

インストール

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" } } }