worktree-switcher

pioootrek/worktree-switcher
★ 0 stars TypeScript Code/Dev Tools Updated today
Switch dev servers between Git worktrees, with MCP claims for humans and coding agents
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "worktree-switcher": {
      "command": "npx",
      "args": [
        "-y",
        "pioootrek/worktree-switcher"
      ]
    }
  }
}

README Excerpt

One dev server per project. Switch its Git worktree without changing the port. If you keep the same application checked out on several branches, you probably know the routine: find the terminal that owns the server, stop it, change directories, start it again, then check whether an old process kept the port.

Tools (6)

claim_projectget_project_statuslist_projectslist_worktreesrelease_project_claimrenew_project_claim

Topics

developer-toolsgit-worktreelocal-firstmcpnextjs