
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 分