Troubleshooting
Table of Contents
- Claude Command Not Found
- Worktree Issues
- Build Issues
- macOS: Full Disk Access (FDA)
- Windows: UNC Path Issues
- MCP Connection Issues
- Terminal Not Rendering
- Session Won’t Start
Claude Command Not Found
The Claude CLI must be installed globally and in your PATH:
npm install -g @anthropic-ai/claude-code
which claude # Should show the path
If which claude returns nothing, ensure your npm global bin directory is in your PATH. Common locations:
- macOS/Linux:
~/.npm-global/binor/usr/local/bin - Windows:
%AppData%\npm
The same applies to gemini and codex — they must be globally installed and in your PATH.
Worktree Issues
If worktrees get into a bad state:
# List all worktrees
git worktree list
# Remove a specific worktree
git worktree remove /path/to/worktree --force
# Prune stale worktree entries
git worktree prune
Common Worktree Problems
“Branch is already checked out” — This means another worktree (or your main repo) already has that branch checked out. Either:
- Close the session using that branch first
- Use a different branch name
- Manually remove the stale worktree with
git worktree remove
Orphaned worktrees — If Maestro crashes, worktrees may not be cleaned up. Run git worktree prune in your repository to remove stale references, then delete the leftover directories from ~/.claude-maestro/worktrees/.
Build Issues
If you encounter build issues:
# Clear all Rust build caches
rm -rf src-tauri/target
rm -rf maestro-mcp-server/target
# Clear node modules and reinstall
rm -rf node_modules
npm install
# Rebuild MCP server first, then Tauri app
cargo build --release -p maestro-mcp-server
npm run tauri build
macOS: Full Disk Access (FDA)
On macOS, Maestro may need Full Disk Access to work with projects in certain protected directories (Desktop, Documents, Downloads).
Symptoms:
- Terminal sessions can’t access project files
- Permission denied errors when opening projects in protected locations
Fix:
- Open System Settings > Privacy & Security > Full Disk Access
- Add Maestro to the allowed applications
- Restart Maestro
Maestro will prompt you to grant FDA when it detects it’s needed. You can also proactively enable it.
Windows: UNC Path Issues
On Windows, terminal sessions may show a UNC path prefix (\\?\) in the working directory.
Symptoms:
- Terminal prompt shows
\\?\C:\Users\...instead ofC:\Users\... - Some CLI tools don’t handle UNC paths correctly
Fix: This is handled automatically in recent versions of Maestro. If you still see this issue, update to the latest release.
MCP Connection Issues
If AI agents aren’t reporting their status to Maestro:
- Check the MCP server binary exists:
ls src-tauri/target/release/maestro-mcp-serverIf missing, rebuild:
cargo build --release -p maestro-mcp-server -
Check the MCP configuration: Ensure
.mcp.jsonpoints to the correct binary path. - Check agent logs: Look for MCP-related errors in the AI agent’s output.
Terminal Not Rendering
If terminals appear blank or don’t render properly:
- Try resizing the window — This can trigger a re-render
- Check WebView2 (Windows) — Ensure WebView2 Runtime is installed
- Check webkit2gtk (Linux) — Ensure
libwebkit2gtk-4.1-devis installed - GPU acceleration — Try disabling GPU acceleration if you see rendering artifacts
Session Won’t Start
If clicking “Launch” doesn’t start sessions:
- Verify the selected project directory exists and is a git repository
- Check that the AI CLI is installed (
which claude,which gemini,which codex) - Look for errors in the terminal output area
- Try with “Plain Terminal” mode to isolate whether the issue is with the AI CLI or Maestro itself