Elen

com.learningnodes由 learningnodes.com 發布v0.3.1更新於 Nov 4, 2026

Records coding-agent decisions with their limits and marks old ones superseded. Local SQLite.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

Elen 把編碼代理做出的技術決策連同其限制記錄到本機 SQLite 決策圖,並讓助理日後檢索、展開與取代這些決策。

可以做什麼
  • 提交與記錄決策及其限制、證據與結論
  • 檢索既有決策的簡短指標,並依決策 ID 展開完整限制與正文
  • 搜尋已驗證決策中的先例,連線模式下還可搜尋團隊與人工決策
  • 修訂舊決策並將其標記為被新決策取代
  • 檢視依領域分組的進行中決策脈絡、能力概況、合併建議與資料庫狀態
適用情境
適合希望編碼代理在做新技術決策前先查既有先例,並長期保留決策理由與界線的專案。對跨工作階段需要沿用先例與限制的長期專案尤其有用。
執行需求
透過 npx 以 stdio 方式在本機執行 npm 套件 @learningnodes/elen-mcp,需要 Node.js 與支援 MCP 的用戶端(如 Claude Code、Cursor、VS Code、Gemini CLI)。決策存放在本機 SQLite 檔案,預設位於使用者家目錄下。選用的連線模式需要 Elen 登入與 API 金鑰。
安裝前請注意
此伺服器會寫入並修訂本機 SQLite 資料庫中的記錄,取代操作會改變既有決策的狀態。連線模式仍在測試階段,需要 API 金鑰,並會把決策分享到工作區,團隊與外部決策來自他人。README 說明僅 Claude Code 有維護者實際執行紀錄,其他用戶端設定尚未驗證。專案採用 AGPL-3.0 授權,README 中連結了商業工作區。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Elen,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Elen 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

bash
npx -y @learningnodes/[email protected]

Claude Code

bash
claude mcp add --transport stdio elen -- npx -y @learningnodes/[email protected]

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:

json
{  "mcpServers": {    "elen": {      "command": "npx",      "args": ["-y", "@learningnodes/[email protected]"]    }  }}

Gemini CLI

Add this to settings.json (~/.gemini/settings.json, or .gemini/settings.json in your project):

json
{  "mcpServers": {    "elen": {      "command": "npx",      "args": ["-y", "@learningnodes/[email protected]"]    }  }}

Any other MCP client

Use the same mcpServers entry:

json
{  "mcpServers": {    "elen": {      "command": "npx",      "args": ["-y", "@learningnodes/[email protected]"]    }  }}

Tested with

ClientStatus
Claude CodeRun by the maintainer
CursorConfiguration follows the client's documentation. Not yet recorded as tested.
VS CodeConfiguration follows the client's documentation. Not yet recorded as tested.
Gemini CLIConfiguration follows the client's documentation. Not yet recorded as tested.
Other MCP clientsConfiguration 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.

markdown
# 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

ToolWhat it does
elen_commitCommits a new decision to the graph, with its constraints as a plain-text list.
elen_get_competencyShows the competency profile for this agent, built from its validated decision history.
elen_consolidateSuggests clusters and duplicate or stale candidates without changing the graph.
elen_get_contextGives an overview of active decision threads grouped by domain, for the start of a session.
elen_expandExpands a decision ID into its full constraints and text.
elen_incomingLists decisions other people have shared into your workspace. Connected mode, beta.
elen_log_decisionCreates a validated Decision Record from constraints, evidence and an answer.
elen_search_precedentsSearches validated decisions for precedents.
elen_statusReturns the agent, project, database path and counts, to check the namespace before committing.
elen_suggestRetrieves short pointers to prior decisions before you make a new one.
elen_supersedeRevises an older decision and marks it superseded by a new one.
elen_team_searchSearches team and human decisions visible to your workspace for a topic. Connected mode, beta.

Links

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

來源:packages/mcp-server/README.md,提交 6ed6c0f

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.3.1最新Oct 14, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分