Git Conflict MCP
Provides tools for managing and resolving Git merge conflicts in repositories
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Git Conflict MCPcheck for merge conflicts in the current repository"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
git-conflict-mcp
A powerful Model Context Protocol (MCP) server designed to help AI agents and developers resolve Git merge conflicts efficiently. It includes a built-in visual WebUI for interactive conflict resolution.
Features
MCP Tools: Full suite of tools for agents to detect, read, and resolve git conflicts.
Visual WebUI: A dedicated web interface (default: http://localhost:3456) for human-in-the-loop resolution.
Syntax Highlighting: Read code clearly with automatic language detection.
Diff View: See changes clearly with intelligent diff display.
Editable Interface: Directly edit conflicting files in the browser.
IDE Integration: One-click opening of files in your preferred editor (VSCode, WebStorm, Cursor, etc.).
Smart Port Management: Automatically detects if the WebUI is already running and reuses the instance to avoid conflicts.
Conflict Tracking: Keeps track of resolution status and rejection reasons.
Usage
via npx
You can run the server directly using npx. This requires no manual installation if you have Node.js installed.
npx -y git-conflict-mcpThe WebUI will start automatically. You can access it at: http://localhost:3456
MCP Configuration
Claude Desktop
You can add the server using the claude CLI:
claude mcp add git-conflict-mcp -- npx -y git-conflict-mcpOr manually edit claude_desktop_config.json:
{
"mcpServers": {
"git-conflict-mcp": {
"command": "npx",
"args": ["-y", "git-conflict-mcp"],
"env": {
"WEBUI_PORT": "3456"
}
}
}
}Codex
You can add the server using the codex CLI:
codex mcp add git-conflict-mcp -- npx -y git-conflict-mcpJSON Type (Generic)
{
"mcpServers": {
"git-conflict-mcp": {
"command": "npx",
"args": ["-y", "git-conflict-mcp"]
}
}
}Development
To install dependencies:
npm installTo build (includes both Core and WebUI):
npm run buildTo run locally:
npm startTo run WebUI in development mode:
npm run dev:webuiResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattyatea/git-conflict-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server