
Git Reflog Archaeologist Mcp
io.github.mrfentmen由 GitHub 帳號 mrfentmen 發布v1.0.0更新於 Oct 30, 2026
Aggregate local Git reflog and recovery signals without exposing repository content. Tools...
概覽
本機 MCP 伺服器,彙整 Git reflog、stash 與不可達物件的訊號,提示遺失的工作是否仍可能救回。
- 可以做什麼
- 彙整 reflog 活動:項目數量、時間分桶以及鬆散或打包物件數量
- 彙整復原潛力:依類型統計不可達物件數量
- 彙整 stash:數量與時間分桶
- 回傳粗略提示,例如近期歷史可能可復原或發現不可達提交,但不含雜湊、參照名稱、路徑、作者或檔案內容
- 適用情境
- 適合在誤執行 reset、刪除分支或放棄實驗之後,想在不暴露儲存庫內容的前提下,快速判斷 Git 中繼資料是否顯示仍有復原可能,再決定是否深入處理。
- 執行需求
- 以本機 Node.js 程序執行,從 npm 套件安裝並透過 stdio 啟動;需設定 GIT_ARCHAEOLOGY_ROOT 限定可檢查的儲存庫範圍。不需網路、帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Git Reflog Archaeologist Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
git-reflog-archaeologist-mcp
Git Reflog Archaeologist is a local MCP for the moment after an accidental reset, deleted branch, or abandoned experiment. It looks at Git metadata that can help answer whether recovery may still be possible.
Tools
reflog_signals: aggregate reflog count, age buckets, and loose or packed object countsrecovery_signals: aggregate unreachable object counts by typestash_signals: aggregate stash count and age buckets
The outputs include coarse recovery hints such as recent-history-may-be-recoverable or unreachable-commits-found. They do not return commit hashes, subjects, ref names, file paths, remote names, author data, or file contents.
Safety
- Local Git commands only. No network access is used.
- The selected repository must stay inside
GIT_ARCHAEOLOGY_ROOT. - Git output is line and count bounded.
- The server never runs mutating commands such as reset, reflog expire, prune, or garbage collection.
- This is a recovery signal tool, not a guarantee that an object can be restored.
Run
The server uses stdio and works with Claude Desktop, Cursor, VS Code, MCP Inspector, and compatible CLI harnesses.
來源:README.md,提交 0c1fbdd
工具
0版本歷史
1- v1.0.0最新Sep 22, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。