OM

okooo5km/memory-mcp-server-go

Developer tools

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

95 stars 10 forks 品質 71 トレンド 14

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

概要

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

概要(AI 翻訳)

ナレッジグラフ管理機能を提供するモデルコンテキストプロトコルサーバー。 LLM は、持続的な知識グラフでエンティティティティやリレーションを作成、読み込み、更新、削除できるようになり、AI アシスタントが会話全体でメモリを維持できるようにします。 これは、公式のTypeScriptメモリMCP ServerのGo実装です。

##特徴

*High-Performance Storage: WALモードのSQLiteバックエンド、同時アクセスのための接続の分離を読み書き *ナレッジグラフ管理: 組織、関係、観察の持続的なグラフ *Advanced Search: BM25のランキング、同義語の拡張、および時間減衰スコアリングによるFTS5フルテキスト検索 *グラフのトラバース: 調査結果には、1ホップ関連のエンティティティが豊富に含まれています。

  • Entity Management: 重複したエンティティティをマージし、タイプを更新し、観察を変更し、競合を検出する *観察メタデータ:各観察の追跡ソース、自信、タグ *MCPリソースとプロンプト:AIクライアントは、グラフの要約をパッシブロードし、ガイド付きメモリワークフローを使用することができます
  • 適用範囲が広い輸送: 任意BearerかOAuth 2.1の証明のstdio、SSEおよび Streamable HTTPを支えて下さい

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

README

以下は原文 README の抜粋です。原文を見る。

Memory MCP Server (Go)

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 Go implementation of the official TypeScript Memory MCP Server.

Features

  • High-Performance Storage: SQLite backend with WAL mode, read/write connection separation for concurrent access
  • Knowledge Graph Management: Persistent graph of entities, relationships, and observations
  • Advanced Search: FTS5 full-text search with BM25 ranking, synonym expansion, and time-decay scoring
  • Graph Traversal: Search results include 1-hop related entities for richer context
  • Entity Management: Merge duplicate entities, update types, modify observations, detect conflicts
  • Observation Metadata: Track source, confidence, and tags for each observation
  • MCP Resources & Prompts: AI clients can passively load graph summaries and use guided memory workflows
  • Flexible Transport: Supports stdio, SSE, and Streamable HTTP with optional Bearer or OAuth 2.1 authentication
  • Seamless Migration: Automatic upgrade from JSONL to SQLite with zero intervention
  • Cross-Platform: Pure Go SQLite (no CGO required), works on Linux, macOS, and Windows

Available Tools

Core CRUD

Tool Description
create_entities Create new entities with name, type, and observations
create_relations Create relations between entities (active voice)
add_observations Add observations to existing entities
delete_entities Delete entities and their associated relations
delete_relations Delete specific relations
delete_observations Delete specific observations from entities

Query

Tool Description
search_nodes Search entities by keyword with FTS5, synonym expansion, and graph traversal. Returns lightweight results with snippets and related entities
open_nodes Get full details of specific entities by exact name
read_graph Get graph overview (summary mode) or full export (full mode)

Entity Management

Tool Description
merge_entities Merge two entities: migrate observations and relations from source to target, then delete source
update_entities Change an entity’s type
update_observations Replace an observation’s content
detect_conflicts Find potential duplicates and contradictions within an entity’s observations

MCP Resources

URI Description
memory://graph/summary Graph statistics and entity type distribution
GitHub で README 全文を見る

インストール

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

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

"mcpServers": { "memory": { "command": "mms", "env": { "MEMORY_FILE_PATH": "/path/to/memory.json" } } }