Mergelock: open-source MCP server catches semantic merge conflicts git misses across parallel AI agents

ksadayamuthu · reddit · 2026-10-16

Developer ksadayamuthu open-sourced mergelock, a local MCP server + CLI targeting a pain point of running parallel coding agents (Claude Code, Cursor, Codex on separate branches): git reports a clean merge but the build breaks — e.g., one agent changes login()'s signature while another adds calls using the old one in a different file.

Two read-only MCP tools

Setup: brew install sadayamuthu/tap/mergelock, then claude mcp add mergelock -- mergelock serve; a Stop hook blocks Claude Code completion while conflicting with main. Built in Go with tree-sitter and git merge-tree, supports TypeScript/JavaScript/Python, Apache-2.0, listed in the official MCP Registry.

Original post →

More from coding & agent

coding & agent channel →