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-08 · ★ 3 · #58 OF 229 MAINTAINED CODING AGENT · VERIFIED 2026-09-18

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.0.7 · 2026-09-05

Replace the removed duplicate-enqueue option in error messages with supported · status and retry guidance. Identify the owning job when branch changes, failed · gates, or semantic conflicts require a clean repair…

v3.0.6 · 2026-09-05

Make the benchmark runners use platform temporary directories and make · their synthetic subprocess test portable across Linux, macOS and Windows. · Clarify existing-queue handoff even when only one branch is ready.…

v3.0.5 · 2026-09-04

Update the dashboard build's Browserslist dependency to 4.28.9 and refresh · its compatible browser-data dependencies, resolving the reported cache-growth · and custom-stats advisories without changing the packaged…

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 #58 of 229 actively-maintained coding agent servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-05)
registry
io.github.yongjip/mergetrain (active, first published 2026-07-29 · 21 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-18, its last commit was 2026-09-08 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