MCP.Market

Mergetrain MCP server

by yongjip·io.github.yongjip/mergetrain·v3.7.1·5 stars

Queue parallel-agent worktree branches, test together, serialize and recover Git pushes.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

not scanned yet

Adoption
Growing

5 stars193 downloads/wk

Reviews

Write one

Nobody has reviewed Mergetrain yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Mergetrain tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Mergetrain compares

Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 90% of 1,119 Developer tools servers
GitHub stars
5
more than 78% of 856 Developer tools servers
Downloads a week
193
more than 71% of 442 Developer tools servers with a package

Release history: 7 versions in the registry since 2026-09-05, latest 2026-10-26, typically one every 8 days.

Install Mergetrain in Claude Code, Cursor or VS Code

claude mcp add mergetrain -- uvx mergetrain
Add to Cursor

What the publisher says

From the Mergetrain repository's README, as published. We do not edit it. Read it on GitHub

mergetrain

<!-- mcp-name: io.github.yongjip/mergetrain -->

Safely integrate committed branches from parallel coding agents.

mergetrain is a local-first deploy train for coding-agent worktrees. Agents commit and enqueue their branches; one runner assembles them in order, tests the combined tree, and atomically updates your Git refs only after explicit approval. It is intentionally optimized as an owner-operated local utility, not a hosted team platform.

There is no mergetrain account, hosted control plane, OAuth app, or product telemetry. Queue and runner state stay on your machine; only your configured Git remote and trusted gate or verification commands may contact external services.

The problem

Worktrees let several agents edit one repository without sharing a checkout. They do not decide landing order, test the combined result, prevent push races, or tell you what happened if a laptop dies mid-push.

Without an integration boundary, the human becomes that boundary: rebase every finished branch, rerun gates after each merge, resolve cross-branch failures, and decide which session may push. The parallel coding gain disappears at the last mile.

mergetrain makes that last mile a durable protocol:

agent branches → FIFO queue → isolated integration worktree → combined gates
               → explicit approval → one atomic push → post-push verification

Who should use it?

Use mergetrain when:

day;

  • multiple coding agents finish branches in the same repository throughout the
  • agents work in Git worktrees and should enqueue rather than push deploy refs;
  • the combined result must pass local tests before it lands;
  • you want unattended processing only for explicitly pre-approved jobs; or
  • one local hub should show queues and runners across several repositories.

It is harness-agnostic: Codex, Claude Code, agy, scripts, and humans all use the same CLI and JSON contract.

Who should not use it?

You probably do not need mergetrain when:

runner service; or

  • one person or agent lands one branch at a time;
  • every change already goes through a PR and your forge-native merge queue;
  • you need a hosted review UI, organization-wide permission system, or remote
  • you are looking for a general job queue, CI provider, or deployment platform.

For PR-first teams, use GitHub Merge Queue or GitLab Merge Trains. mergetrain is for local-agent, worktree-first integration, with or before a PR.

Enforcement boundary

Lease tokens fence concurrent and stale mergetrain runners. They do not intercept an arbitrary git push from a task agent that has shell access and an integration-branch credential. To make “one runner owns the push” an enforced property rather than a protocol assumption, use this topology:

task agents: commit + exact-SHA enqueue; no integration push credential
runner:      separate deploy identity
remote:      protected integration branch; runner or reviewed PR path only

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Mergetrain: common questions

Is Mergetrain MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Mergetrain safety report
How do I install Mergetrain?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Mergetrain need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Mergetrain maintained?
The last commit was 21 days ago (2026-10-16). The latest release is v3.7.1.
What can I use instead of Mergetrain?
Servers from other publishers that do the same job: Git MCP server, Foremerge MCP server and RepoPilot MCP server. Compare all Mergetrain alternatives.
How does Mergetrain compare with other Developer tools MCP servers?
safety score 92/100 (higher than 90% of 1,119 Developer tools servers); github stars 5 (more than 78% of 856 Developer tools servers); downloads a week 193 (more than 71% of 442 Developer tools servers with a package). Full comparison.

Alternatives to Mergetrain

Same job from other publishers: the closest match first, then the best rated.

All Mergetrain alternatives →
  • Git
    Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
    A
  • Foremerge
    Coordinate parallel coding agents, above Git
    A
  • RepoPilot
    Local, deterministic review of Git changes: weakened tests and CI gates, risky flows, blast radius.
    A
  • Repowise
    Codebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.
    B
  • Gitwand
    Auto-resolves Git merge conflicts so agents only touch the complex hunks.
    A