worktree-compose (wtc)

● Active

io.github.mostafasudo/worktree-compose

An isolated Docker Compose stack per git worktree: start it, run commands in it, read its logs.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "worktree-compose": {
      "command": "npx",
      "args": [
        "-y",
        "worktree-compose@2.0.1",
        "mcp"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add worktree-compose -- npx -y worktree-compose@2.0.1 mcp
OpenAI Codex CLI
codex mcp add worktree-compose -- npx -y worktree-compose@2.0.1 mcp
VS Code
code --add-mcp '{"name":"worktree-compose","type":"stdio","command":"npx","args":["-y","worktree-compose@2.0.1","mcp"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
2.0.1
Registry
active
Published
Dec 2, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 5, 2026

Looks healthy: worktree-compose (wtc) is maintained, open source.

Maintained
Active
Last commit 2 days ago (Dec 2, 2026), 0 open issues.
Official registry
Active
Published as io.github.mostafasudo/worktree-compose in the official MCP registry, version 2.0.1.
Source
Open source, MIT
Public repository under the MIT licence, 53 stars, 8 forks.
Runs
On your machine
A local npm package started by your client; it can reach whatever your user account can.
Credentials
None declared
The registry entry declares no required environment variables.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

A

Grade A · Production-ready

Maintenance & production-readiness — 87/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit 2 days ago.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption+7/20

    53 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-mostafasudo-worktree-compose?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-mostafasudo-worktree-compose/report-badge.svg" alt="worktree-compose (wtc) — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

On GitHub

read Dec 3, 2026
Stars
53
Forks
8
Last push
Dec 2, 2026
License
MIT

TypeScriptagentic-codingclaude-codecoding-agentsdev-environmentdocker-composegit-worktreelocal-developmentmcp-serverpodmanworktree

From the README

worktree-compose · wtc Zero-config Docker Compose isolation for git worktrees Every worktree gets its own ports, database, cache, and containers. Website · Docs · Changelog · Agent skill Put several AI agents or developers on one repo, each in its own git worktree, and they fight over one Docker Compose setup: the same ports, the same database, the same container names. wtc reads the compose file you already have and gives each worktree a stack of its own, so they all run side by side. Think docker compose -p with the rest done for you: free ports, env files, file sync, promote and cleanup. Install Type wtc, never npx wtc: an unrelated npm package has that name. To run it without installing, use npx worktree-compose . Quick start When the work is done: Commands Inside a worktree, a command acts on that worktree's stack (list shows them all). start, stop, restart and down also take worktrees by index, branch, directory name or path, and --all. From the main checkout, start, stop and restart without a selector act on every worktree. How it works • Ports. A worktree's host ports start from 20000 + port + index (a backend on 8000 is on 28001 in worktree 1), move to the next free port when that one is taken, and then stay: a stack keeps its ports across restarts. • Isolation. Each worktree's stack is its own compose project, like myapp-wt-1-feature, so containers, networks and volumes are never shared. • Your compose file stays as it is.…

Read the full README on GitHub →

The most-starred Developer Tools servers in the index, with their live-check result.

ServerStarsLast pushLive check
REA477,629Nov 2026Local / not checked
AutoGPT188,274Dec 2026Needs sign-in
GitHub34,870Nov 2026Needs sign-in
Repomix29,604Dec 2026Local / not checked
Oh My Posh Validator23,801Nov 2026Working

worktree-compose (wtc): questions people ask

Is worktree-compose (wtc) a remote or a local MCP server?
According to its entry in the official MCP registry, worktree-compose (wtc) ships as a local package (npm) that your client starts on your machine.
Is worktree-compose (wtc) safe to use?
Looks healthy: worktree-compose (wtc) is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Dec 5, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is worktree-compose (wtc) still maintained?
Active: the repository's last commit 2 days ago. Last push Dec 2, 2026, 53 GitHub stars, MIT licence. Read from GitHub on Dec 3, 2026.
How do I add worktree-compose (wtc) to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Developer Tools →

Add the badge to your site

Show visitors that worktree-compose (wtc) is listed here — it’s also the link we check for a free listing.

worktree-compose (wtc) — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mostafasudo-worktree-compose?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="worktree-compose (wtc) — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![worktree-compose (wtc) — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mostafasudo-worktree-compose?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-mostafasudo-worktree-compose) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-mostafasudo-worktree-compose) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-mostafasudo-worktree-compose)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-mostafasudo-worktree-compose"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-mostafasudo-worktree-compose"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-mostafasudo-worktree-compose"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).