ClaudeTrees is a macOS menu bar app for two day-to-day workflows:
- Enabling/disabling MCP servers from
~/.claude/settings.json - Creating and opening Git worktrees from a lightweight popover UI
The app runs as a menu bar extra (LSUIElement), so it does not show a Dock icon or a main app window.
Note: This project is still a work in progress
- Toggle MCP servers on/off by writing the
disabledflag in~/.claude/settings.json - Preserve unrelated keys in your Claude settings file while editing MCP entries
- Add and persist Git repositories for quick worktree access
- List existing worktrees per repo (
git worktree list --porcelain) - Create a new worktree with a new branch from a chosen base branch
- Open worktrees in Finder or directly in your preferred terminal app
- Optional launch-at-login setting
ClaudeTrees detects installed terminals and lets you choose among:
- Ghostty
- Terminal.app
- iTerm2
- Warp
- Alacritty
- Kitty
- WezTerm
- Rio
- macOS (project deployment target is currently
26.2) - Xcode with SwiftUI support
- Git installed (
/usr/bin/git) - Optional:
~/.claude/settings.jsonwith anmcpServersobject
- Clone this repository.
- Open
ClaudeTrees.xcodeprojin Xcode. - Select the
ClaudeTreesscheme. - Build and run.
- Click the branch icon in the macOS menu bar to open the app.
- Reads
~/.claude/settings.json - Shows MCP servers from
mcpServers - Use toggles to enable/disable servers
- Changes are saved back to the same file
- Click
+and pick a local Git repository. - Expand the repo section to view its worktrees.
- Use
+on a repo to create a new worktree:- Enter new branch name
- Choose base branch
- Click Create & Open
- Use row actions to open a worktree in Finder or terminal.
- Choose preferred terminal
- Toggle launch at login
- Configure Claude CLI path (stored in app settings)
The project includes Swift Testing-based unit tests in ClaudeTreesTests/ and UI tests in ClaudeTreesUITests/.
You can run tests in Xcode, or from CLI:
xcodebuild -scheme ClaudeTrees -configuration Debug testClaudeTrees/- app sourceModels/- app data modelsServices/- Git, settings, terminal launching, persistenceViews/- SwiftUI views for MCPs/worktrees/settings
ClaudeTreesTests/- unit testsClaudeTreesUITests/- UI tests