loading…
Search for a command to run...
loading…
Provides lightweight Git merge analysis with quick overviews of changes, file lists, and branch status without complex conflict checks.
Provides lightweight Git merge analysis with quick overviews of changes, file lists, and branch status without complex conflict checks.
A lightweight MCP server for quick Git merge analysis. Shows only essential information without complex conflict checks.
# Clone the repository
git clone <repository-url>
cd local-merge-review-mcp
# Install dependencies
npm install
# Build the project
npm run build
show_merge_diffShow changes between branches before merge.
await mcp.call_tool("show_merge_diff", {
repoPath: "/path/to/your/repo",
fromBranch: "main", // optional, defaults to main
toBranch: "feature/new-feature" // optional, defaults to current
});
Result:
{
"sourceBranch": "main",
"targetBranch": "feature/new-feature",
"filesChanged": ["src/component.js", "package.json", "README.md"],
"insertions": 45,
"deletions": 12,
"commits": 3,
"summary": "3 commits, 3 files, +45/-12 lines"
}
quick_merge_summaryQuick merge change summary.
await mcp.call_tool("quick_merge_summary", {
repoPath: "/path/to/your/repo",
branch: "feature/auth" // optional, defaults to current
});
Result:
{
"currentBranch": "feature/auth",
"baseBranch": "main",
"message": "5 commits ahead",
"aheadBy": 5,
"behindBy": 0,
"needsMerge": true
}
"Show changes in feature/payment branch compared to main"
# show_merge_diff
"How many commits ahead is the current branch?"
# quick_merge_summary
"How many files will change after merging this branch?"
# show_merge_diff + file list analysis
"Show changes between main and feature/auth in /home/user/myproject"
"How many commits ahead is current branch from main?"
"Which files will change after merge?"
By default, conflicts are not expected, so complex checks are unnecessary. This MCP shows only what's truly important before merging.
Выполни в терминале:
claude mcp add simple-merge-review-mcp -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development