
Elefante
io.github.amenophis1er由 GitHub 帳號 amenophis1er 發布v0.1.9更新於 Nov 3, 2026
Open, Git-native memory protocol for MCP agents. Portable, versioned, human-editable.
概覽
為 MCP 代理設計的 Git 原生記憶庫:把代理記憶以 Markdown 檔案存進使用者自己的 Git 儲存庫,並提供讀寫、搜尋與同步工具。
- 可以做什麼
- 寫入、讀取、更新與刪除以帶 YAML frontmatter 的 Markdown 檔案形式保存的記憶
- 依關鍵字、類型或專案範圍搜尋與列出記憶
- 與 Git 遠端儲存庫同步記憶庫並重建搜尋索引
- 透過讀取工作目錄的 git remote 自動依專案劃分記憶範圍,並提供全域與跨專案的例外選項
- 啟動時把重要記憶注入代理的系統提示,無須先搜尋即可取得偏好與脈絡
- 適用情境
- 適合希望自己擁有並可稽核代理記憶的情境:可在 Claude、Codex、Cursor 等不同 MCP 代理間通用,可用任何編輯器手動修改,並透過 Git 歷史保留版本。適合熟悉 Git、更重視擁有權與可稽核性而非檢索品質的使用者。
- 執行需求
- 以 npm 套件 elefante-mcp 透過 stdio 在本機執行,需要 Node.js 與 npx。需要一個作為記憶庫的 Git 儲存庫(以儲存庫網址初始化),以及可用的 Git 憑證(SSH 金鑰、憑證輔助程式、gh auth token 或 ELEFANTE_GITHUB_TOKEN 環境變數)。與遠端同步需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Elefante,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Elefante
The open, Git-native memory protocol for MCP agents: portable, inspectable, versioned, and human-editable.
Why
Every AI agent has its own memory system. Claude's works only with Claude. ChatGPT's works only with ChatGPT. They're all opaque, vendor-locked, and non-portable.
Elefante takes a different approach. Instead of optimizing for retrieval quality, it optimizes for ownership, auditability, and portability — the things that matter when memory is a first-class asset, not a hidden implementation detail.
Quick Start
Connect to Your Agent
From the terminal (before starting Claude Code):
From inside Claude Code (during a session):
Or manually — add to your MCP config (~/.claude.json, .cursor/mcp.json, etc.):
Cursor / VS Code / Codex — same config. Any agent that speaks MCP can read and write to the same vault.
Once connected, your agent gets 7 tools: memory_write, memory_read, memory_search, memory_list, memory_update, memory_delete, memory_sync.
Auto-Discovery
Elefante injects your top memories directly into the agent's system prompt at startup via MCP instructions. The agent sees your preferences, feedback, and project context without needing to search first.
No CLAUDE.md hacks. No "search my elefante memory" prompts. It just works.
Project-Aware Memory
Elefante auto-detects which project you're in and scopes memories accordingly. No configuration needed.
How It Works
When the MCP server starts, it reads the git remote from your working directory:
What Gets Scoped
The agent decides based on context. User preferences and behavioral feedback are typically global. Project details and references are typically scoped.
What You See When You Search
Global memories always show up. Project memories only show up in their project.
Escape Hatches
What a Memory Looks Like
Every memory is a Markdown file with YAML frontmatter. You can open it in any editor.
What a Git Log Looks Like
Every write is remember:. Every update is update:. Every delete is forget:. Your memory has a clean, auditable history.
Vault Structure
Memory Types
Four types. Intentionally constrained — a small taxonomy forces good classification.
Authentication
Elefante doesn't reinvent auth. It uses whatever Git credentials you already have.
Resolution order:
- Local git credentials (SSH keys, macOS Keychain, credential helpers)
gh auth token(if GitHub CLI is installed)ELEFANTE_GITHUB_TOKENenvironment variable~/.elefante/config.jsontoken field
If git or gh is authenticated, Elefante works with zero config.
CLI Reference
How It Compares
Elefante doesn't compete on retrieval quality. It competes on ownership.
"Why not Obsidian + MCP plugin?" — Obsidian is a tool for humans that agents can access. Elefante is a tool for agents that humans can access. Same data format (Markdown + Git), different design center.
Protocol
The full protocol specification — memory model, vault structure, MCP interface, concurrency model, indexing, security considerations — is in PROTOCOL.md.
License
MIT
來源:README.md,提交 24b02e7
工具
0版本歷史
1- v0.1.9最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。