ConflictMate — Git Conflict AI Assistant
Resolve Git merge conflicts faster: a structured conflict view, one-click ours / theirs / both, AI suggestions with your own API key, and an MCP server entry so AI agents can drive resolution.
"Conflicts, explained before you resolve them."
Features
- Structured conflict view — detect all conflict blocks in a file, see ours vs. theirs side by side with line numbers.
- One-click resolution — take ours, theirs, or both for any conflict block; the file is updated and re-scanned instantly.
- AI suggestions (Pro) — with your own API key, get a recommended strategy and a short explanation for each conflict.
- MCP server — expose
list_conflicts, read_conflict, suggest_resolution, and apply_resolution so Claude Desktop / Cursor / other AI agents can resolve conflicts programmatically.
- Local & private — your code never leaves your machine except to the AI provider you configure. No accounts, no cloud, no telemetry.
Install
- Open the VS Code Marketplace and search ConflictMate (publisher
LxStudio), or install the .vsix:
code --install-extension conflictmate-lx-1.0.0.vsix
- Open a folder with Git conflicts (or a file with conflict markers).
Usage
1. Detect conflicts
Run ConflictMate: Detect Conflicts in Current File (Ctrl+Alt+C), or open the ConflictMate view in the activity bar. The view lists every conflicted file and each conflict block with its line range.
2. Resolve quickly
Click a conflict block, then use the inline actions or the shortcuts:
| Action |
Shortcut |
Result |
| Take Ours |
Ctrl+Alt+1 |
Keeps the current-branch (HEAD) version |
| Take Theirs |
Ctrl+Alt+2 |
Keeps the incoming-branch version |
| Take Both |
Ctrl+Alt+3 |
Keeps both versions (ours then theirs) |
The shortcut acts on the conflict you are targeting: click a conflict in the view, or place the cursor inside the conflict markers in the editor. If neither is set, ConflictMate asks you to select a conflict first.
The file is written immediately and re-scanned. This works with no API key, no Pro license — resolution is free.
3. AI suggestions (Pro)
Run ConflictMate: AI Suggest Resolution or ConflictMate: AI Explain This Conflict on a selected conflict. A Pro license plus your own AI key is required.
Configure your AI key (stored locally only):
Settings → ConflictMate → aiProvider (openai / claude / gemini)
Settings → ConflictMate → aiApiKey (your key)
Settings → ConflictMate → aiBaseUrl (optional custom endpoint)
Your content is sent only to the endpoint you configure (OpenAI / Anthropic / Gemini compatible). It is never sent to us.
4. MCP server
ConflictMate ships a local MCP server. Run ConflictMate: Write MCP Server Config to create .vscode/mcp.json, or add it manually:
For Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"conflictmate": {
"command": "node",
"args": ["/path/to/conflictmate/mcp/server.js"]
}
}
}
For Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"conflictmate": {
"command": "node",
"args": ["/path/to/conflictmate/mcp/server.js"]
}
}
}
Exposed tools:
| Tool |
Purpose |
list_conflicts |
List conflict blocks in a file (count + line ranges) |
read_conflict |
Read one block's full ours / theirs content |
suggest_resolution |
Ask your AI for a recommended strategy |
apply_resolution |
Apply ours / theirs / both and write the file |
Pro license
|
Free |
Pro ($9 one-time) |
| Conflict detection |
✅ |
✅ |
| One-click ours / theirs / both |
✅ |
✅ |
MCP list_conflicts / read_conflict / apply_resolution |
✅ |
✅ |
AI suggest_resolution / AI suggestions |
❌ |
✅ |
Upgrade: ConflictMate: Upgrade to Pro ($9) — opens the Paddle checkout. Then run ConflictMate: Activate Pro License and paste your license key.
Privacy
- ConflictMate runs entirely locally. It never uploads your code, conflicts, or any file content.
- The only outbound call is to your own AI provider when you request an AI suggestion (Pro). You choose the provider, endpoint, and key.
- No telemetry, no analytics, no accounts.
See privacy-policy.html for the full policy.
License
Source code is MIT-licensed (see LICENSE.md). Free tier is fully usable; Pro features require a license key.
Changelog
See CHANGELOG.md.