agent-worktree

Seretos/agent-worktree
★ 0 stars Python AI/LLM Updated today
MCP server for git worktree lifecycle management. Create/list/remove worktrees with branch handling, run per-project setup scripts on creation, and detect uncommitted changes before destructive operations.
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": {
    "agent-worktree": {
      "command": "uvx",
      "args": [
        "agent-worktree"
      ]
    }
  }
}

Or install with pip: pip install agent-worktree

README Excerpt

MCP server for git worktree lifecycle management. Create/list/remove worktrees with branch handling, run per-project setup scripts on creation, and detect uncommitted changes before destructive operations. A thin MCP wrapper around [`lib-python-worktree`](https://github.com/Seretos/lib-python-worktree). Ships as a self-contained frozen binary — no Python needed on the host. Five MCP tools split along the two real lifecycles a checkout goes through: checkout lifecycle (`worktree_create`, `worktre

Tools (4)

environment_startenvironment_stopworktree_createworktree_remove