
Worktree Orbit Mcp
io.github.mrfentmen由 GitHub 帳號 mrfentmen 發布v1.0.0更新於 Oct 30, 2026
Aggregate local Git worktree topology without exposing repository content. Tools include inspect...
概覽
本機 MCP 伺服器,以彙總方式回報儲存庫的 Git worktree 拓撲,例如數量、乾淨或髒狀態、鎖定與可清理標記,不揭露儲存庫內容。
- 可以做什麼
- 檢查儲存庫的 worktree 拓撲:worktree 總數、主要與連結 worktree 數量、乾淨或髒的數量、分離、鎖定與可清理狀態,以及粗略的拓撲提示。
- 只回傳彙總訊號,不回傳路徑、分支名稱、雜湊、遠端位址、鎖定原因、提交主旨、作者或檔案內容。
- 適用情境
- 適合同時維護多個 Git worktree 的開發者,讓助理判斷某個儲存庫是否有並行 worktree、它們是否乾淨,以及是否有分離、鎖定或可清理的 worktree 需要處理。
- 執行需求
- 以 stdio 方式在使用者電腦上執行的本機程序,從 npm 套件安裝,建置後以 Node.js 啟動。所選儲存庫必須位於 WORKTREE_ORBIT_ROOT 環境變數指定的目錄內。僅使用本機 Git 指令,不使用網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Worktree Orbit Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
worktree-orbit-mcp
Worktree Orbit is a local MCP for developers who keep several Git worktrees alive at once. It answers whether a repository has parallel worktrees, whether they are clean, and whether detached, locked, or prunable worktrees need attention.
Tool
inspect_worktree_topology: returns aggregate worktree count, primary and linked counts, clean or dirty counts, detached state, lock state, prunable state, and a coarse topology hint.
It never returns paths, branch names, hashes, remotes, lock reasons, subjects, authors, or file contents.
Safety
- Local Git commands only. No network access is used.
- The selected repository must stay inside
WORKTREE_ORBIT_ROOT. - Commands are read-only: the server does not add, remove, move, lock, unlock, reset, prune, or modify worktrees.
- Worktree status checks are bounded and time limited.
- Results are aggregate signals, not a replacement for inspecting a specific worktree before deleting it.
Run
來源:README.md,提交 7330cc2
工具
0版本歷史
1- v1.0.0最新Sep 22, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。