iTerm2 Git Worktree Manager

Automates git worktree management with iTerm2 integration, creating isolated feature branches in dedicated terminal sessions and s

timoconnellaus 12
Claude CodeClaude DesktopGeneric
View source ↗

This MCP server automates git worktree management with iTerm2 integration for feature development workflows, enabling AI assistants to create isolated git environments with dedicated terminal sessions. Built using Python with the iterm2 library, it provides tools for creating worktrees with new feature branches that automatically open in new iTerm2 tabs with Claude sessions, closing worktrees after validating clean state and pushed commits, and tracking active worktrees through persistent metadata. The implementation includes safety validations to prevent data loss, automatic git exclude configuration for metadata files, branch cleanup for empty feature branches, and seamless iTerm2 tab management, making it valuable for developers who want AI-assisted feature development with proper git isolation and terminal automation.

Source

Repository: https://github.com/timoconnellaus/claude-code-iterm-worktree-mcp

Maintain iTerm2 Git Worktree Manager?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[iTerm2 Git Worktree Manager on getagentictools](https://getagentictools.com/mcp/timoconnellaus-claude-code-iterm-worktree-mcp?ref=badge)