
jamesanz/memory-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
여러 LLM에서 기억을 저장하고 검색하는 간단한 MCP 서버.
개요
저장, 검색 및 지능형 컨텍스트 아카이브로 기억 관리. MongoDB 백업 저장. MCP (Model Context Protocol) 서버는 Cursor 및 Claude Desktop과 같은 AI 코딩 환경에 대한 메모리 관리 및 컨텍스트 창 캐싱을 제공합니다. - Mon – MongoDB-backed 메모리는 세션을 생존 - Mon – 대화 컨텍스트의 지능 아카이브 및 검색 - ️️ - 태그로 구성하고 기억을 찾아 - – 자동 점수 아카이브 콘텐츠 relevance - ⚡ – 원 클릭 커서 또는 간단한 수동 설정 설치 AI 워크플로우에 메모리를 추가하려면?
개요(AI 번역)
LLM 대화에 대한 지속적인 메모리 및 컨텍스트 창 캐싱. 저장, 검색 및 지능형 컨텍스트 아카이브로 기억 관리. MongoDB 백업 저장.
MCP (Model Context Protocol) 서버는 Cursor 및 Claude Desktop과 같은 AI 코딩 환경에 대한 메모리 관리 및 컨텍스트 창 캐싱을 제공합니다.
왜 기억 MCP를 사용합니까?
- Mon Persistent Storage - 세션을 생존하는 MongoDB 백업 메모리
- **콘텍스 캐싱 ** - 지능형 아카이브 및 대화 컨텍스트 검색
- T️Tag-based Search – 태그로 기억을 나누고
- **Relevance Scoring ** - 자동 점수 아카이브 콘텐츠 relevance
- ⚡ Easy Setup - Cursor 또는 간단한 수동 설정에서 원 클릭 설치
빠른 시작
AI 워크플로우에 메모리를 추가하려면? 몇 초 안에 설치:
** Cursor (추천)의 내부 : **
12.1 커서에 설치
** 또는 수동 설치 : **
특징
기본 메모리 도구
-save-memories - 데이터베이스에 기억을 저장합니다.
get-memories- 모든 저장 기억을 검색add-memories– overwriting없이 새로운 추억을 보내십시오clear-memories– 모든 저장 기억을 제거
Context 창 캐싱
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Memory MCP Server (Embedded GraphRAG + Vector Memory)
Persistent knowledge graph memory and context window caching for LLM conversations. Built on an embedded KuzuDB Cypher graph database with local HuggingFace vector embeddings (
Xenova/all-MiniLM-L6-v2) — zero external database setup required.
An MCP (Model Context Protocol) server that provides hybrid semantic vector + multi-hop Cypher graph memory retrieval and context window caching for AI coding environments like Cursor and Claude Desktop.
Why Use Memory MCP?
- Embedded Knowledge Graph (KuzuDB) – Stores entities, observations, and typed relationships in a local, in-process Cypher graph database (
~/.memory-mcp/graph_db) with zero external setup. - Hybrid Vector + Graph Retrieval – Uses local 384-d embeddings (
Xenova/all-MiniLM-L6-v2) and Kuzuarray_cosine_similarityto find entry nodes, then traverses 1–3 relationship hops via Cypher so the LLM only receives compact, high-signal facts. - Context Window Caching – Intelligent archiving, semantic relevance scoring, and graph-linked summaries (
Summarizes/Mentionsedges). - Zero-Config Install – No MongoDB or Neo4j server required.
Quick Start
Install in Cursor (Recommended):
Or install manually:
npm install -g @jamesanz/memory-mcp
# Or from source:
git clone https://github.com/JamesANZ/memory-mcp.git
cd memory-mcp && npm install && npm run build
Features
Knowledge Graph & Hybrid Retrieval Tools
store-graph-memory– Upsert structured entities (name,entityType,observations[]) and directedrelations(from,to,relationType) with automatic 384-d embeddings.query-memory– Hybrid semantic vector + multi-hop Cypher traversal query that returns only the relevant connected subgraph and memory chunks.remove-graph-entities– Remove outdated entities or specific relationships so contradictory facts do not linger.
Basic Memory Tools
save-memories– Save memories to the graph database (overwrites existing)get-memories– Retrieve all stored memory logsadd-memories– Append new memories and auto-extract entity mentionsclear-memories– Remove all stored memories and graph entities
Context Window Caching
archive-context– Archive conversation context with tags and vector embeddingsretrieve-context– Retrieve relevant archived contextscore-relevance– Score archived content relevance using vector cosine similaritycreate-summary– Create summaries of archived content linked viaSummarizesedges
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"memory-mcp": {
"command": "node",
"args": ["/absolute/path/to/memory-mcp/build/index.js"]
}
}
}