Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Classify merge-conflict hunks as safe mechanical resolutions or risky; risky hunks stay manual.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"conflictfix": {
"command": "npx",
"args": [
"-y",
"@reneturcios/conflictfix",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add conflictfix -- npx -y @reneturcios/conflictfix mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"conflictfix": {
"command": "npx",
"args": [
"-y",
"@reneturcios/conflictfix",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"conflictfix": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/conflictfix",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Apify MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A merge conflict already exists, and the question for each hunk in it is narrow: can this one be resolved mechanically, or does a human need to look at it? conflictfix answers hunk by hunk. You supply the file path and, for every hunk, the three line lists a three-way merge works from — the common ancestor's lines (base), your side's lines (ours), and their side's lines (theirs) — and it classifies each hunk, returning the resolved lines for the ones that are safe and leaving the risky ones alone.
Four classes are safe. When ours and theirs are exactly the same, the hunk is identical and resolves to those lines, however they differ from base. When only one side moved — ours still equals base, so the hunk is theirs_only and resolves to theirs, or theirs still equals base, so the hunk is ours_only and resolves to ours — the side that changed wins outright, including when it deleted every line. When the two sides differ only in whitespace, the hunk is whitespace_only and resolves to ours echoed verbatim, spacing and all: normalization decides the class, it never rewrites the lines. Everything else is conflict: not safe, resolution null, and never auto-merged by this tool.
The checks run in that fixed order and the first match wins, so a hunk where all three lists agree is identical, not ours_only, and a one-sided change that also happens to be whitespace-equal is reported as the one-sided change it is. Whitespace normalization trims each line, drops leading and trailing entries that are empty after trimming, and joins what remains with newlines. Interior blank lines are preserved by that process, so a blank line appearing in the middle of one side only is a real difference and the hunk is a conflict, not a whitespace difference.
The result echoes the path, carries one entry per input hunk with its 0-based index, class, safe flag, and resolution, and totals the outcome: safe_count, risky_count, and fully_resolvable, which is true exactly when no hunk is risky. Malformed input — a missing, empty, or non-string path, a missing, non-array, or empty hunks list, a hunk that is not an object, a missing or non-array base, ours, or theirs, or any line that is not a string — is a validation error naming the offending path, such as hunks[2].ours[0] must be a string, with no partial result. Unknown extra fields are ignored, including inside hunk items. The computation is pure and local: no repository is read, no merge is performed, and no files are touched.
npx @reneturcios/conflictfix triage --input args.json
npx @reneturcios/conflictfix --version
args.json contains the full arguments object:
{
"path": "src/app.ts", "hunks": [ { "base": ["const x = 1;"], "ours": ["const x = 1;"], "theirs": ["const x = 2;"] }, { "base": ["return a;"], "ours": ["return b;"], "theirs": ["return c;"] } ] }
The result is printed as JSON:
{
"path": "src/app.ts", "hunks": [ { "index": 0, "class": "theirs_only", "safe": true, "resolution": ["const x = 2;"] }, { "index": 1, "class": "conflict", "safe": false, "resolution": null } ], "safe_count": 1, "risky_count": 1, "fully_resolvable": false }
Exit codes: 0 on success, 1 on a runtime error (including an unreadable or invalid input file, or invalid input), 2 on a usage error.
npx -y @reneturcios/conflictfix mcp
MCP client config:
{
"mcpServers": { "conflictfix": { "command": "npx", "args": ["-y", "@reneturcios/conflictfix", "mcp"] } } }
triage_conflicts — Triage a three-way merge conflict: classify each hunk as a safe mechanical resolution or risky from caller-supplied base, ours, and theirs lines. Safe hunks return their resolved lines; risky hunks are never auto-merged.path (string, required, non-empty) — file path the conflict hunks belong tohunks (array, required, at least 1 item) — conflict hunks to triage; each item carries:base (array of strings, required, may be empty) — lines from the common ancestorours (array of strings, required, may be empty) — lines from our sidetheirs (array of strings, required, may be empty) — lines from their sideReturns {path, hunks, safe_count, risky_count, fully_resolvable}, where each entry in hunks is {index, class, safe, resolution} with class one of identical, theirs_only, ours_only, whitespace_only, or conflict.
docker run -i ghcr.io/cloudcorprecords/conflictfix
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/conflictfix triage --input /w/args.json
npm install
npm run build # tsc -> dist/ npm test # tsx --test test/*.test.ts (pure local, no network) npm run dev # run the CLI from source
MIT — Copyright (c) 2026 Rene Turcios