OM

okooo5km/memory-mcp-server-go

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

94 stars 10 forks 품질 71 트렌드 14

okooo5km/memory-mcp-server-go는 MCP 서버 후보로 https://github.com/okooo5km/memory-mcp-server-go.에서 수입

개요

okooo5km/memory-mcp-server-go는 MCP 서버 후보로 https://github.com/okooo5km/memory-mcp-server-go.에서 수입

개요(AI 번역)

지식 그래프 관리 기능을 제공하는 모델 Context Protocol 서버. 이 서버는 LLMs가 작성, 읽기, 업데이트, 삭제 entities and relationships in a persistent knowledge graph, AI 조수가 대화를 통해 메모리를 유지합니다. 공식 TypeScript Memory MCP Server의 Go 구현입니다.

특징

  • High-Performance Storage: SQLite는 WAL 모드로 백업, 동시 액세스에 대한 연결 분리 읽기
  • Knowledge 그래프 관리: entities, 관계 및 관측의 지속적인 그래프
  • ** 고급 검색**: BM25 랭킹, synonym 확장 및 시간 - Decay 득점과 FTS5 전체 텍스트 검색
  • **그래픽 트래버스 **: 검색 결과가 포함됨 1-hop related entities for richer context
  • Entity Management: Merge duplicate entities, 업데이트 유형, 관측 수정, 충돌 감지
  • **Observation Metadata **: 각 관측에 대한 추적 소스, 신뢰, 태그
  • ** MCP Resources & Prompts**: 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" } } }