Mencatat keputusan coding agent dan batasan-batasannya ke dalam database SQLite lokal untuk melacak preseden dan memperbarui keputusan lama.
Juga dikenal sebagai LearningNodes/Elen, @learningnodes/elen-mcp
- Stars
- 4
- Tools
- 12
- Unduhan, 30 hari
- 257
- Versi terbaru
- 0.3.1
- Commit terakhir
- 20 Okt 2026
- Lisensi
- AGPL-3.0
Apa itu elen MCP?
elen adalah MCP server. Mencatat keputusan coding agent dan batasan-batasannya ke dalam database SQLite lokal untuk melacak preseden dan memperbarui keputusan lama. Server ini menyediakan 12 tool, seperti elen_commit, elen_get_competency, elen_consolidate.
Ringkasan dibuat dari README proyek
Tentang elen MCP server
Elen menyediakan cara bagi coding agent untuk mempertahankan memori mengenai pilihan teknis dan batasan yang mendasarinya. Dengan menggunakan database SQLite lokal, yang biasanya terletak di ~/.elen/decisions.db, server ini memungkinkan agent untuk melacak preseden dan memperbaruinya saat ada perubahan kebutuhan. Hal ini membantu mencegah agent mengulangi kesalahan masa lalu atau mengabaikan aturan proyek yang sudah ditetapkan.
Developer dapat mengintegrasikan server ini ke berbagai environment termasuk Cursor, Claude Code, VS Code, dan Gemini CLI menggunakan npx. Sistem ini bekerja terutama dalam mode lokal, meskipun mode terhubung yang memerlukan API key saat ini sedang dalam tahap beta. Server ini menyediakan tool spesifik seperti elen_commit untuk menyimpan keputusan baru dan elen_supersede untuk menandai keputusan lama sebagai tidak berlaku lagi.
Untuk memaksimalkan penggunaan server, pengguna sebaiknya menyertakan instruksi khusus dalam system prompt mereka. Ini memastikan agent menggunakan elen_suggest untuk menemukan preseden yang sudah ada dan elen_expand untuk melihat detail lengkap sebelum memutuskan jalur baru. Toolset ini juga mencakup elen_get_competency untuk menampilkan riwayat keputusan agent yang telah divalidasi.
Apa yang bisa Anda lakukan dengannya
- 1Mencegah kesalahan teknis yang berulangAgent dapat mencari pilihan teknis sebelumnya untuk memastikan keputusan baru tidak bertentangan dengan preseden yang sudah ada.
- 2Memperbarui aturan proyek yang sudah usangKetika kebutuhan baru membatalkan pilihan sebelumnya, agent dapat menandai keputusan lama tersebut sebagai superseded.
- 3Mendokumentasikan batasan teknisDeveloper dapat menginstruksikan agent untuk mencatat batasan spesifik, seperti budget performa, bersamaan dengan setiap keputusan baru.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal elen MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal elen MCP di Claude Code
$ claude mcp add elen -- npx -y @learningnodes/elen-mcpInstal elen MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"elen": {
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Instal elen MCP di VS Code
.vscode/mcp.json
{
"servers": {
"elen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Instal elen MCP di VS Code CLI
$ code --add-mcp '{"name":"elen","type":"stdio","command":"npx","args":["-y","@learningnodes/elen-mcp"]}'Instal elen MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"elen": {
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Instal elen MCP di Codex
$ codex mcp add elen -- npx -y @learningnodes/elen-mcpInstal elen MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.elen] command = "npx" args = ["-y", "@learningnodes/elen-mcp"]
Instal elen MCP di Gemini CLI
$ gemini mcp add -s user elen npx -- -y @learningnodes/elen-mcpInstal elen MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"elen": {
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Tool elen MCP 12
Terdeteksi dari READMEelen_commitelen_get_competencyelen_consolidateelen_get_contextelen_expandelen_incomingelen_log_decisionelen_search_precedentselen_statuselen_suggestelen_supersedeelen_team_search
| elen_commit | — | |
| elen_get_competency | — | |
| elen_consolidate | — | |
| elen_get_context | — | |
| elen_expand | — | |
| elen_incoming | — | |
| elen_log_decision | — | |
| elen_search_precedents | — | |
| elen_status | — | |
| elen_suggest | — | |
| elen_supersede | — | |
| elen_team_search | — |
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerLolos
- Remote endpoint menggunakan HTTPSTidak diperiksa
- Tools yang bersifat destruktif telah diberi labelLolos
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaLolos
README
Lihat di GitHubElen is an open-source MCP server that records the decisions your coding agent makes, with the limits that bound them, and marks old decisions as superseded. It installs with one npx line, works with Cursor, Claude Code and any MCP client, and keeps decisions in a local SQLite file.
Install
npx -y @learningnodes/elen-mcp@0.3.1
Claude Code
claude mcp add --transport stdio elen -- npx -y @learningnodes/elen-mcp@0.3.1
VS Code
Open this link to install:
vscode:mcp/install?%7B%22name%22%3A%22elen%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40learningnodes%2Felen-mcp%400.3.1%22%5D%7D
Cursor
Add this to .cursor/mcp.json in your project:
{
"mcpServers": {
"elen": {
"command": "npx",
"args": ["-y", "@learningnodes/elen-mcp@0.3.1"]
}
}
}
Gemini CLI
Add this to settings.json (~/.gemini/settings.json, or .gemini/settings.json in your project):
{
"mcpServers": {
"elen": {
"command": "npx",
"args": ["-y", "@learningnodes/elen-mcp@0.3.1"]
}
}
}
Any other MCP client
Use the same mcpServers entry:
{
"mcpServers": {
"elen": {
"command": "npx",
"args": ["-y", "@learningnodes/elen-mcp@0.3.1"]
}
}
}
Tested with
| Client | Status |
|---|---|
| Claude Code | Run by the maintainer |
| Cursor | Configuration follows the client's documentation. Not yet recorded as tested. |
| VS Code | Configuration follows the client's documentation. Not yet recorded as tested. |
| Gemini CLI | Configuration follows the client's documentation. Not yet recorded as tested. |
| Other MCP clients | Configuration follows the client's documentation. Not yet recorded as tested. |
Make your agent use it
The tools alone give an agent no habit: it sees what each tool does, but it does not stop mid-task to ask whether a precedent exists. Add the block below to your rules file or system prompt so that searching before a decision and committing after one become part of every session.
# Epistemic Decision Memory Protocol
You must adhere to the Minimal Token Protocol for decisions:
1. Pointer-First Retrieval: Before making a technical decision, ALWAYS use elen_suggest to retrieve Top-K minimal pointers.
2. On-Demand Expansion: If a pointer looks relevant, you MUST call elen_expand on that specific ID. Do not hallucinate constraints.
3. Commiting Atoms: When deciding, use elen_commit. Summarize constraints into plain-text arrays (e.g. "budget < 500ms").
4. Graph Revision: If a decision invalidates a precedent, you MUST use elen_supersede to advance the graph state.
What it stores
In local mode decisions stay in a SQLite file on your machine (default ~/.elen/decisions.db). Connected mode is optional, needs elen login and an API key, and is in beta.
Tools
| Tool | What it does |
|---|---|
elen_commit |
Commits a new decision to the graph, with its constraints as a plain-text list. |
elen_get_competency |
Shows the competency profile for this agent, built from its validated decision history. |
elen_consolidate |
Suggests clusters and duplicate or stale candidates without changing the graph. |
elen_get_context |
Gives an overview of active decision threads grouped by domain, for the start of a session. |
elen_expand |
Expands a decision ID into its full constraints and text. |
elen_incoming |
Lists decisions other people have shared into your workspace. Connected mode, beta. |
elen_log_decision |
Creates a validated Decision Record from constraints, evidence and an answer. |
elen_search_precedents |
Searches validated decisions for precedents. |
elen_status |
Returns the agent, project, database path and counts, to check the namespace before committing. |
elen_suggest |
Retrieves short pointers to prior decisions before you make a new one. |
elen_supersede |
Revises an older decision and marks it superseded by a new one. |
elen_team_search |
Searches team and human decisions visible to your workspace for a topic. Connected mode, beta. |
Links
- Repository: https://github.com/LearningNodes/Elen
- Issues: https://github.com/LearningNodes/Elen/issues
- Discord: https://discord.gg/zJG6n2WGzM
- Licence: AGPL-3.0
Elen is the open-source part of Learning Nodes, the DecisionOps workspace. For the business decisions behind the code: https://workstation.learningnodes.com?utm_source=elen-readme&utm_medium=referral&utm_campaign=npm-page
Pertanyaan tentang elen MCP
Bagaimana cara menambahkan elen MCP ke Claude Code?
Jalankan claude mcp add elen -- npx -y @learningnodes/elen-mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan elen MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Tool apa yang disediakan elen MCP?
Server ini menyediakan 12 tool, termasuk elen_commit, elen_get_competency, elen_consolidate, elen_get_context, elen_expand.
Di mana keputusan disimpan?
Keputusan disimpan dalam file SQLite lokal di mesin Anda, secara default berada di ~/.elen/decisions.db.
Apakah ini berfungsi dengan Claude Code?
Ya, ini kompatibel dengan Claude Code dan sudah diuji coba oleh maintainer.
Bagaimana cara membuat agent saya menggunakan elen?
Anda perlu menambahkan blok 'Epistemic Decision Memory Protocol' khusus ke dalam file rules atau system prompt agent Anda untuk memastikan agent tersebut mencari dan mencatat keputusan.
Apakah ada mode cloud atau terhubung?
Ya, mode terhubung tersedia dalam versi beta yang memerlukan login elen dan API key.