@vheins/local-memory-mcp 0.13.2 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.id.md +94 -0
- package/README.md +19 -24
- package/dist/{chunk-O4B6AFYU.js → chunk-GXQCHTXK.js} +572 -61
- package/dist/dashboard/public/assets/index-C1OTQhII.js +87 -0
- package/dist/dashboard/public/assets/index-CUg8rZCA.css +1 -0
- package/dist/dashboard/public/index.html +2 -2
- package/dist/dashboard/server.js +34 -15
- package/dist/mcp/server.js +102 -393
- package/package.json +3 -2
- package/dist/dashboard/public/assets/index-CbVS6V5d.js +0 -87
- package/dist/dashboard/public/assets/index-d4GwN8c5.css +0 -1
package/README.id.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# @vheins/local-memory-mcp
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@vheins/local-memory-mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/@vheins/local-memory-mcp)
|
|
5
|
+
[](https://www.npmjs.com/package/@vheins/local-memory-mcp)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
**MCP Local Memory Service** adalah server [Model Context Protocol (MCP)](https://modelcontextprotocol.io) berkinerja tinggi yang menyediakan memori jangka panjang untuk AI Agent (seperti Claude Desktop, Cursor, atau Windsurf).
|
|
9
|
+
|
|
10
|
+
Dibangun dengan filosofi **Local-First**, layanan ini menyimpan keputusan arsitektur, pola kode, dan fakta kritis secara lokal di mesin Anda menggunakan SQLite dan Pencarian Semantik berbasis AI.
|
|
11
|
+
|
|
12
|
+
## Fitur Utama
|
|
13
|
+
|
|
14
|
+
- **Pencarian Semantik (V2):** Temukan memori berdasarkan makna, bukan hanya kata kunci, menggunakan model `all-MiniLM-L6-v2` secara lokal.
|
|
15
|
+
- **Tech-Stack Affinity:** Bagikan pengetahuan antar repositori secara cerdas berdasarkan tag teknologi (misalnya memori Filament di Repo A dapat diakses di Repo B).
|
|
16
|
+
- **Anti-Hallusinasi:** Mencegah Agent berhalusinasi dengan batas kemiripan yang ketat dan deteksi konflik keputusan.
|
|
17
|
+
- **Decay Memori Otomatis:** Mengarsipkan memori usang secara otomatis untuk menjaga konteks tetap bersih dan relevan.
|
|
18
|
+
- **Dashboard Modern:** Visualisasikan memori, statistik penggunaan, dan log audit melalui antarmuka web.
|
|
19
|
+
|
|
20
|
+
## Penggunaan & Konfigurasi MCP
|
|
21
|
+
|
|
22
|
+
Tambahkan layanan ini ke AI Agent Anda menggunakan salah satu metode di bawah.
|
|
23
|
+
|
|
24
|
+
> **Rekomendasi:** Jika MCP Anda sering berjalan, hindari `npx` dan gunakan instalasi global. Ini mengurangi unduhan NPM dan mempercepat startup Agent.
|
|
25
|
+
|
|
26
|
+
### Quick Start (Zero Setup)
|
|
27
|
+
|
|
28
|
+
Cocok untuk **pengguna pertama** atau **pengujian cepat**.
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
"local-memory": {
|
|
32
|
+
"command": "npx",
|
|
33
|
+
"args": ["-y", "@vheins/local-memory-mcp"],
|
|
34
|
+
"type": "stdio"
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Direkomendasikan untuk Produksi
|
|
39
|
+
|
|
40
|
+
1. **Install secara global:**
|
|
41
|
+
```bash
|
|
42
|
+
npm install -g @vheins/local-memory-mcp
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
2. **Tambahkan ke konfigurasi:**
|
|
46
|
+
```json
|
|
47
|
+
"local-memory": {
|
|
48
|
+
"command": "local-memory-mcp",
|
|
49
|
+
"type": "stdio"
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Dashboard
|
|
54
|
+
|
|
55
|
+
Jalankan dashboard web untuk visualisasi memori dan task:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
local-memory-mcp dashboard
|
|
59
|
+
```
|
|
60
|
+
*Jika belum install global:* `npx @vheins/local-memory-mcp dashboard`
|
|
61
|
+
|
|
62
|
+
Buka `http://localhost:3456` di browser.
|
|
63
|
+
|
|
64
|
+
### Auto-Start Dashboard di IDE
|
|
65
|
+
|
|
66
|
+
Dashboard bisa otomatis menyala saat project dibuka di VS Code, Cursor, Windsurf, Zed, atau JetBrains.
|
|
67
|
+
|
|
68
|
+
📖 **[Panduan auto-start dashboard →](docs/id/auto-start-dashboard.md)**
|
|
69
|
+
|
|
70
|
+
## Dokumentasi
|
|
71
|
+
|
|
72
|
+
- [Memulai & Instalasi](docs/id/getting-started.md) — Instalasi dan konfigurasi klien
|
|
73
|
+
- [Panduan Penggunaan Tools](docs/id/tools-reference.md) — Dokumentasi tools lengkap dengan contoh dan alur kerja
|
|
74
|
+
- [Panduan Pemecahan Masalah](docs/id/troubleshooting.md) — Mengatasi masalah umum
|
|
75
|
+
- [Fitur & Cara Kerja](docs/id/features.md) — Semantic search, anti-hallusinasi, decay memori
|
|
76
|
+
- [Logika Hybrid Search](docs/id/hybrid-search.md) — Cara kerja skoring pencarian
|
|
77
|
+
- [Panduan Dashboard](docs/id/dashboard-guide.md) — UI web untuk manajemen memori & task
|
|
78
|
+
- [Referensi Protokol MCP](docs/id/mcp-concepts.md) — Detail teknis protokol
|
|
79
|
+
- [Integrasi dengan Claude Code](docs/id/claude-code-integration.md) — Panduan setup untuk Claude Code CLI
|
|
80
|
+
- [Integrasi dengan Codex (OpenAI)](docs/id/codex-integration.md) — Panduan setup untuk Codex CLI
|
|
81
|
+
- [Integrasi dengan Kiro](docs/id/kiro-integration.md) — Panduan setup untuk Kiro IDE
|
|
82
|
+
- [Auto-Start Dashboard di IDE](docs/id/auto-start-dashboard.md) — tasks.json untuk VS Code, Cursor, Windsurf, Zed, JetBrains
|
|
83
|
+
|
|
84
|
+
> 🇬🇧 **English version available:** [`README.md`](README.md) & docs in [`docs/en/`](docs/en/)
|
|
85
|
+
|
|
86
|
+
- [Panduan Kontribusi](CONTRIBUTING.md)
|
|
87
|
+
|
|
88
|
+
## Penyangkalan
|
|
89
|
+
|
|
90
|
+
**PERANGKAT LUNAK INI DISEDIAKAN "SEBAGAIMANA ADANYA", TANPA JAMINAN DALAM BENTUK APAPUN**, baik tersurat maupun tersirat, termasuk namun tidak terbatas pada jaminan kepatutan, kesesuaian untuk tujuan tertentu, dan tidak melanggar hak pihak ketiga. Dalam hal apa pun penulis atau pemegang hak cipta tidak bertanggung jawab atas klaim, kerusakan, atau kewajiban lainnya, baik dalam tindakan kontrak, gugatan, atau lainnya, yang timbul dari, di luar, atau sehubungan dengan perangkat lunak ini.
|
|
91
|
+
|
|
92
|
+
## Lisensi
|
|
93
|
+
|
|
94
|
+
MIT © Muhammad Rheza Alfin
|
package/README.md
CHANGED
|
@@ -98,34 +98,29 @@ npm run build
|
|
|
98
98
|
|
|
99
99
|
> The server serves the compiled Svelte build from `dist/dashboard/public/` in production.
|
|
100
100
|
|
|
101
|
-
### Auto-launch in
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"tasks": [
|
|
107
|
-
{
|
|
108
|
-
"label": "Launch Memory Dashboard",
|
|
109
|
-
"type": "shell",
|
|
110
|
-
"command": "npx -y @vheins/local-memory-mcp dashboard",
|
|
111
|
-
"isBackground": true,
|
|
112
|
-
"runOptions": { "runOn": "folderOpen" }
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
}
|
|
116
|
-
```
|
|
101
|
+
### Auto-launch Dashboard in IDEs
|
|
102
|
+
|
|
103
|
+
The dashboard can auto-start when you open a project in VS Code, Cursor, Windsurf, Zed, or JetBrains IDEs.
|
|
104
|
+
|
|
105
|
+
📖 **[See the auto-start guide →](docs/en/auto-start-dashboard.md)**
|
|
117
106
|
|
|
118
107
|
## 📖 Documentation
|
|
119
108
|
|
|
120
|
-
- [Getting Started & Setup](docs/
|
|
121
|
-
- [
|
|
122
|
-
- [
|
|
123
|
-
- [
|
|
124
|
-
- [Hybrid Search Logic](docs/
|
|
109
|
+
- [Getting Started & Setup](docs/en/getting-started.md) — Installation & client configuration
|
|
110
|
+
- [Tool Reference & Usage Guide](docs/en/tools-reference.md) — Complete tool docs with examples and workflows
|
|
111
|
+
- [Troubleshooting Guide](docs/en/troubleshooting.md) — Fix common issues
|
|
112
|
+
- [Features & How It Works](docs/en/features.md) — Semantic search, anti-hallucination, memory decay
|
|
113
|
+
- [Hybrid Search Logic](docs/en/hybrid-search.md) — How search scoring works
|
|
114
|
+
- [Dashboard Guide](docs/en/dashboard-guide.md) — Web UI for memory & task management
|
|
115
|
+
- [MCP Protocol Reference](docs/en/mcp-concepts.md) — Technical protocol details
|
|
116
|
+
- [Claude Code Integration](docs/en/claude-code-integration.md) — Setup for Claude Code CLI
|
|
117
|
+
- [Codex (OpenAI) Integration](docs/en/codex-integration.md) — Setup for Codex CLI
|
|
118
|
+
- [Kiro Integration](docs/en/kiro-integration.md) — Setup for Kiro IDE
|
|
119
|
+
- [Auto-Start Dashboard in IDEs](docs/en/auto-start-dashboard.md) — tasks.json for VS Code, Cursor, Windsurf, Zed, JetBrains
|
|
120
|
+
|
|
121
|
+
> 🇮🇩 **Indonesian version available:** [`README.id.md`](README.id.md) & docs in [`docs/id/`](docs/id/)
|
|
122
|
+
|
|
125
123
|
- [Contribution Guidelines](CONTRIBUTING.md)
|
|
126
|
-
- [Developer: Architecture & Design](.agents/documents/design/architecture/architecture.md)
|
|
127
|
-
- [Developer: Implementation Details](.agents/documents/implementation-details.md)
|
|
128
|
-
- [Developer: Debugging Guide](.agents/documents/debugging-guide.md)
|
|
129
124
|
|
|
130
125
|
## ⚠️ Disclaimer
|
|
131
126
|
|