
t1nker-1220/memories-with-lessons-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
t1nker-1220/memories-with-lessons-mcp-server는 MCP 서버 후보자가 https://github.com/t1nker-1220/memories-with-lessons-mcp-server.에서 수입됩니다
개요
t1nker-1220/memories-with-lessons-mcp-server는 MCP 서버 후보자가 https://github.com/t1nker-1220/memories-with-lessons-mcp-server.에서 수입됩니다
개요(AI 번역)
현지 지식 그래프를 사용하여 지속적인 메모리의 기본 구현. Claude는 채팅을 통해 사용자에 대한 정보를 기억하고 수업 시스템을 통해 과거 오류에서 배울 수 있습니다.
핵심 개념
항목
Entities는 지식 그래프의 기본 노드입니다. 각 법인은:
- 고유명(identifier)
- 엔티티티 유형 (예 :, “person”, “organization”, “event”)
- 관측 목록
예:
관계
관계는 entities 사이의 연결을 정의합니다. 그들은 항상 활발한 목소리에 저장하고 각 다른 사람에게 어떻게 상호 작용하거나 relate하는 방법을 설명합니다.
예:
관측
관찰은 엔티티티티에 대한 정보의 조각입니다. 그들은:
- 문자열로 저장
- 특정 entities에 첨부
- 추가되거나 제거될 수 있습니다
- 원자가 있어야 (전망당 한 사실)
예:
수업
수업은 오류 및 솔루션에 대한 지식을 캡처하는 특수 능력입니다. 각 수업은:
- 고유명(identifier)
- 오류 패턴 정보 (type, message, context)
- 솔루션 단계 및 검증
- 성공률 추적
- 환경변수
- 메타데이터 (간섭, 타임스탬프, 주파수)
예:
API를
도구
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Knowledge Graph Memory Server
A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats and learn from past errors through a lesson system.
Core Concepts
Entities
Entities are the primary nodes in the knowledge graph. Each entity has:
- A unique name (identifier)
- An entity type (e.g., “person”, “organization”, “event”)
- A list of observations
Example:
{
"name": "John_Smith",
"entityType": "person",
"observations": ["Speaks fluent Spanish"]
}
Relations
Relations define directed connections between entities. They are always stored in active voice and describe how entities interact or relate to each other.
Example:
{
"from": "John_Smith",
"to": "Anthropic",
"relationType": "works_at"
}
Observations
Observations are discrete pieces of information about an entity. They are:
- Stored as strings
- Attached to specific entities
- Can be added or removed independently
- Should be atomic (one fact per observation)
Example:
{
"entityName": "John_Smith",
"observations": [
"Speaks fluent Spanish",
"Graduated in 2019",
"Prefers morning meetings"
]
}
Lessons
Lessons are special entities that capture knowledge about errors and their solutions. Each lesson has:
- A unique name (identifier)
- Error pattern information (type, message, context)
- Solution steps and verification
- Success rate tracking
- Environmental context
- Metadata (severity, timestamps, frequency)
Example:
{
"name": "NPM_VERSION_MISMATCH_01",
"entityType": "lesson",
"observations": [
"Error occurs when using incompatible package versions",
"Affects Windows environments specifically",
"Resolution requires version pinning"
],
"errorPattern": {
"type": "dependency",
"message": "Cannot find package @shadcn/ui",
"context": "package installation"
},
"metadata": {
"severity": "high",
"environment": {
"os": "windows",
"nodeVersion": "18.x"
},
"createdAt": "2025-02-13T13:21:58.523Z",
"updatedAt": "2025-02-13T13:22:21.336Z",
"frequency": 1,
"successRate": 1.0
},
"verificationSteps": [
{
"command": "pnpm add shadcn@latest",
"expectedOutput": "Successfully installed shadcn",
"successIndicators": ["added shadcn"]
}
]
}
API
Tools
- create_entities
- Create multiple new entities in the knowledge graph
- Input:
entities(array of objects)- Each object contains:
name(string): Entity identifier
- Each object contains:
설치
docker run -i -v claude-memory:/app/dist --rm mcp/memory설정
{
"mcpServers": {
"memory": {
"command": "docker",
"args": ["run", "-i", "-v", "claude-memory:/app/dist", "--rm", "mcp/memory"]
}
}
}