Version Control · Developer Tools

Claude Code Iterm Worktree MCP

timoconnellaus/claude-code-iterm-worktree-mcp

An MCP service for git worktree management integrated with iTerm2, providing worktree creation, closing, navigation and smart tab detection to optimize multi-branch development workflows.

Install

See repository

Setup steps are in the repository README.

Open README
Category
Version Control, Developer Tools
Updated
Oct 6, 2026

About Claude Code Iterm Worktree MCP

A Model Context Protocol (MCP) server that automates git worktree management with iTerm2 integration for Claude Code.

Features

  • Create Worktree: Creates a new git worktree with a feature branch and opens it in a new iTerm2 tab

  • Close Worktree: Safely closes worktrees after verifying they're clean and pushed

  • Open Worktree: Opens an existing worktree in a new iTerm2 tab (with force option to override if already open)

  • Active Worktrees: Lists all git worktrees and shows which iTerm2 tabs they're running in

  • Switch to Worktree: Quickly switch to a worktree's iTerm2 tab by name or specific tab ID

  • Dynamic Discovery: No metadata files - finds tabs by analyzing their working directories in real-time

  • Multi-Tab Support: Shows all tabs running the same worktree across different windows

  • Window Context: Identifies which tabs are in the current window with thisWindow flag

Tools (5)

  • createWorktree

    Create new worktree + branch, open in iTerm2 tab

  • closeWorktree

    Validate, close, and cleanup worktree

  • activeWorktrees

    List all worktrees and their iTerm2 tabs

  • switchToWorktree

    Switch to worktree's iTerm2 tab

  • openWorktree

    Open existing worktree in new tab

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control