
GitWarren
io.github.klarluft由 GitHub 帳號 klarluft 發布v1.0.1更新於 Nov 4, 2026
Code review on your own machine, for you and your coding agent. Nothing leaves your computer.
概覽
本機 MCP 伺服器,讓編碼代理在你自己的 git 儲存庫上發起程式碼審查、讀取你的留言、在討論串中回覆並標記為已解決。
- 可以做什麼
- 針對本機 git 儲存庫發起審查,像拉取請求一樣比較兩個 ref
- 把工作區中已暫存、未暫存與未追蹤的變更併入 diff,在提交前完成審查
- 讀取你的審查留言並在同一討論串中回覆
- 將代理已處理的留言標記為已解決
- 檢視 diff、變更檔案並瀏覽儲存庫內容,全部在本機完成
- 適用情境
- 適合在 Claude Code、Codex 等編碼代理剛改完磁碟上的檔案、變更尚未提交時使用:在同一處審查未提交的 diff,並與代理來回討論,而不必推送到遠端服務。
- 執行需求
- 以本機 stdio 程序執行,通常透過 npx gitwarren 啟動,需要 Node.js 22.14 或更新版本,也可使用桌面應用程式或命令列。需要本機的 git 儲存庫。選用環境變數 GITWARREN_DATA_DIR 指定審查用 SQLite 資料庫位置,未設定時使用系統的應用程式資料目錄。無需帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 GitWarren,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
GitWarren
[Build status] [Version on npm] [Downloads a month from npm] [License: GPL-3.0-or-later] [MCP server rated A on Glama]
Code review for your own git repositories, on your own machines. Your machines, your agents, no one else's server — and no account.
Built for the moment a coding agent — Claude Code, Codex, or anything else that edits files on your disk — has just finished, and its work is sitting in your worktree uncommitted. Read that diff here, on your own machine, before it becomes a commit.
gitwarren.com has downloads for macOS, Windows and Linux.
What it does
Tell GitWarren which local git repositories you care about, then open reviews against them — a review is a comparison of two refs, presented the way a pull request is, with conversation, commits and files changed tabs, and a browse files tab for the code the change did not touch.
- Review work before it is a commit. If the branch you are reviewing is checked out in a worktree, GitWarren finds that worktree — wherever it is — and folds its staged, unstaged and untracked changes into the diff. That is exactly when review is most useful, and it is the part that makes this worth having.
- Prose as well as code. Diffs read unified or side by side, with the changed words picked out of a changed line. A Markdown file can be read rendered, with its edits marked like tracked changes, and commented on paragraph by paragraph.
- Nothing is cached. Every branch name, commit and diff on screen is read from git at the moment it is shown.
- Nothing leaves your machine. Reviews live in one SQLite file in your application-data directory. No account, no telemetry; the desktop app's one outbound request is the update check.
- Agents are first-class. Local AI agents get the same capabilities through an MCP server over stdio — they open reviews, read your comments, reply in a thread and resolve what they fixed.
- Desktop app or browser. It runs as an Electron app on macOS, Windows and Linux, or as a command that serves the same review UI into a browser tab. Same renderer either way; the shell is the only thing that differs.
- Your other machines too. A machine with no screen at all — a VPS, a WSL
distro, a box an agent works on — runs the headless half and is reviewed from
somewhere else, over SSH, over
wsl.exe, or over your own tailnet, and its repositories are listed on the same home screen as this machine's. Reviews live on the machine the code is on and stay there; nothing is replicated or relayed anywhere but the computers you already own.
Comments go on the line, the way a pull request does them. The agent that wrote the code answers in the same thread, while you are still reading the diff:
Install
The desktop app
Download it from gitwarren.com, or on macOS:
The command line
Serves the same review UI in a browser instead of an Electron window — for a machine that will not have the app on it, or one with no screen at all:
Then gitwarren serve --open. See
The gitwarren command line.
Into a coding agent
If you arrive from a coding agent, start here instead. The plugin brings the MCP server and a note that teaches the agent when to open a review and how to answer your comments:
Cursor, Codex, VS Code and Kiro read the same repository from their plugin screens. See Installing it as a plugin.
Documentation
Agents setting GitWarren up on a user's machine should read llms-install.md.
Contributing
Contributions are welcome. Anything larger than a bug fix starts as a discussion in Ideas, so the shape can be agreed before you spend time on it; once it is settled it becomes an issue. See CONTRIBUTING.md for the development workflow, the two design constraints that changes need to respect, and what a good pull request looks like here.
Before a first contribution can be merged you will be asked to sign the Contributor License Agreement. A bot handles it on your pull request; it takes about ten seconds and only happens once. The CLA keeps copyright in the codebase in one place, which is what makes it possible to offer GitWarren under a commercial licence alongside the GPL, or to change licence later, without having to track down every past contributor. You keep full ownership of your work and can use it elsewhere however you like.
Support and privacy
Questions, ideas and setups worth copying go to Discussions — Q&A if you are stuck on something, Ideas for a feature, and Show and tell for an agent or remote-machine arrangement other people should steal. Bugs you can describe — what GitWarren does, and when — go to issues. Anything you would rather not post publicly goes to [email protected].
GitWarren keeps everything on your machine: reviews live in one SQLite file in your application-data directory, the diff is read from your git worktree, and there is no account and no telemetry. The desktop app's one outbound request is the auto-update check against this repository's GitHub Releases. The website's privacy policy covers gitwarren.com itself.
License
GitWarren is free software, licensed under the GNU General Public License, version 3 or (at your option) any later version. The full text is in LICENSE.
In short: you may use, study, modify and redistribute it, including commercially. If you distribute a modified version, or a program that incorporates this one, you must release that under the GPL as well and make the source available. That reciprocity is the point — it keeps GitWarren and anything built on it open.
The copyright is held by Klarluft B.V. (Rotterdam, The Netherlands · KVK 86875590), and every contribution is covered by the CLA. Because the copyright sits in one place rather than being spread across contributors, a licence other than the GPL — for embedding GitWarren in a closed-source product, for instance — can be granted on request: email [email protected].
Michal Wrzosek ([email protected]) is the creator of GitWarren and currently its main maintainer.
來源:README.md,提交 ca10f6c
工具
0版本歷史
5- v1.0.1最新Oct 14, 2026
- v0.1.18Oct 9, 2026
- v0.1.17Sep 18, 2026
- v0.1.16Sep 18, 2026
- v0.1.14Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分