Mergetrain MCP Server

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.

People who work with git, merge queue and antigravity cli and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-30 · ★ 3 · #38 OF 250 MAINTAINED CODING AGENT · VERIFIED 2026-09-30

MIT · Python servers · how we verify → /methodology

01 · Install Mergetrain

Claude Code

claude mcp add yongjip-mergetrain -- uvx mergetrain

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "yongjip-mergetrain": {
      "command": "uvx",
      "args": [
        "mergetrain"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package mergetrain - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.yongjip is GitHub-verified and matches the repo owner

03 · What Mergetrain can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v3.4.0 · 2026-09-30

queue and recovery state fixes from the 2026-09-30 review · MCP process lifecycle fixes from the 2026-09-30 review · config, read, and output fixes from the 2026-09-30 review · config and CLI input fixes from the…

v3.3.0 · 2026-09-29

3.3.0 - 2026-09-30 · Build every train on the integration branch itself, never on a tag or local · branch that shares its short name. mergetrain resolved origin/main the way · Git resolves any short name, which prefers…

v3.2.0 · 2026-09-29

3.1.1 safety fixes from the simplification audit · 3.2.0: simplify internals and release the push lock when git push reports

04 · Who maintains Mergetrain

Mergetrain is maintained by yongjip. It's the only MCP server we track from this author; the repo dates to Jun 2026.

05 · Facts

category
coding agent - ranked #38 of 250 actively-maintained coding agent servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-30)
registry
io.github.yongjip/mergetrain (active, first published 2026-07-29 · 27 versions)
packages
pypi:mergetrain

06 · Mergetrain FAQ

What is 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.

Is Mergetrain still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-30 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Mergetrain?

Run `uvx mergetrain`. You can also paste the ready-made client config above.

Does Mergetrain run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Mergetrain