# Máy chủ bộ nhớ đồ thị tri thức MCP - Cửa hàng quan hệ và thực thể liên tục (`mcp-knowledge-graph-memory`)

> Biểu đồ quan sát mối quan hệ thực thể được JSONL hỗ trợ cục bộ cung cấp cho các tác nhân mã hóa bộ nhớ dự án liên tục qua các phiên.

- **Canonical URL:** https://syndipath.com/vi/mcp/mcp-knowledge-graph-memory
- **Runtime:** `npm` | **Transport:** STDIO | **License:** MIT | **Package:** `@modelcontextprotocol/server-memory`
- **Upvotes:** 814 | **GitHub Stars:** 7620 | **Weekly Installs:** 72400
- **Security Note:** HTTP-200 đã được xác minh trên NPM Đăng ký (@modelcontextprotocol/server-memory); chạy qua npx bên trong phiên STDIO trong phạm vi không gian làm việc.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y @modelcontextprotocol/server-memory

# Add to Claude Code CLI
claude mcp add mcp-knowledge-graph-memory -- npx -y @modelcontextprotocol/server-memory
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "mcp-knowledge-graph-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `mcp_knowledge_graph_memo_semantic_search(query: string, top_k?: number)`: Local JSONL-backed entity-relation-observation graph giving coding agents persistent project memory across sessions.
- `mcp_knowledge_graph_memo_upsert_context(content: string, metadata?: object)`: Indexes chunked technical context with deterministic metadata filters.
