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.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

本地 MCP 服务器,让编码代理在你自己的 git 仓库上发起代码审查、读取你的评论、在讨论串中回复并标记已解决。

可以做什么
  • 针对本地 git 仓库发起审查,像拉取请求一样比较两个 ref
  • 把工作区中已暂存、未暂存和未跟踪的改动并入 diff,在提交前完成审查
  • 读取你的审查评论并在同一讨论串中回复
  • 将代理已处理的评论标记为已解决
  • 查看 diff、变更文件并浏览仓库内容,全部在本机完成
适用场景
适合在 Claude Code、Codex 等编码代理刚改完磁盘上的文件、改动尚未提交时使用:在同一处审查未提交的 diff,并与代理来回讨论,而无需推送到远端服务。
运行要求
以本地 stdio 进程运行,通常通过 npx gitwarren 启动,需要 Node.js 22.14 或更高版本,也可使用桌面应用或命令行。需要本地的 git 仓库。可选环境变量 GITWARREN_DATA_DIR 指定审查用 SQLite 数据库位置,未设置时使用系统的应用数据目录。无需账号或 API 密钥。
安装前请注意
代理可以发起审查、在讨论串中回复并标记解决,会写入本地审查数据库。审查内容和 diff 保留在本机,但桌面应用会向 GitHub Releases 发起一次更新检查。接入仓库后,代理可看到仓库内容及未提交的改动。

安装

在 SourceWeft 中

  1. 打开 控制台中的 GitWarren,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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.

[A GitWarren review: the files-changed tab with staged, unstaged and untracked work folded into the diff, and the amber uncommitted badge in the branch header]


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:

[A line in the diff is hovered, the comment composer opens, a question about Escape handling is typed and submitted, and Claude Code answers in the same thread]


Install

The desktop app

Download it from gitwarren.com, or on macOS:

bash
brew install --cask klarluft/tap/gitwarren

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:

bash
brew install klarluft/tap/gitwarren-cli               # macOS and Linux, brings its own Nodecurl -fsSL https://gitwarren.com/install.sh | sh      # macOS and Linux, no Homebrew needednpx gitwarren serve                                   # anywhere Node 22.14+ is, including Windows

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:

bash
/plugin marketplace add klarluft/gitwarren-app       # Claude Code, then:/plugin install gitwarren@gitwarrengemini extensions install https://github.com/klarluft/gitwarren-appnpx skills add klarluft/gitwarren-app                 # the note alone, for any agent

Cursor, Codex, VS Code and Kiro read the same repository from their plugin screens. See Installing it as a plugin.


Documentation

GuideWhat is in it
ReviewsWhat a review is, how uncommitted work is found, reading and navigating a large diff, side by side and wrapped lines, Markdown previews, browsing and searching the repository, marking files reviewed, opening a file in your editor, keyboard shortcuts
Agent access (MCP)The MCP tools, installing the plugin, how an agent links you back into the app, comment threads, images
The gitwarren command lineserve, service install, the four ways to install the CLI, updating and removing it
Your other machinesReaching a repository over SSH, over wsl.exe from Windows, on your tailnet, and from a phone
ArchitectureThe stack, the shared service layer both surfaces call, and what is and is not stored
DevelopmentRunning from source, the project layout, database migrations
ReleasingCutting a release, auto-update, code signing and notarization
The Glama build specThe fields Glama's admin page actually reads, and why they say what they say
Known limitationsWhat GitWarren does not do, and why
GitWarren across hostsThe design plan behind the remote-host model

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.

Copyright © 2026 Klarluft B.V.
This program is free software: you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation, either version 3 of the License, or (at your option) any laterversion.
This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along withthis program. If not, see <https://www.gnu.org/licenses/>.

来源:README.md,提交 ca10f6c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

5
  1. v1.0.1最新Oct 14, 2026
  2. v0.1.18Oct 9, 2026
  3. v0.1.17Sep 18, 2026
  4. v0.1.16Sep 18, 2026
  5. v0.1.14Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分