About Sync Worktrees
Sync Worktrees is an MCP server in the Agents category: auto-sync Git worktrees with remote branches. Includes an MCP server so Claude Code, Cursor & other AI agents can inspect and manage worktrees.
Install
git clone https://github.com/yordan-kanchelov/sync-worktreesThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (9)
create_worktreeCreate a worktree for a branch; optionally create the branch from `baseBranch`. Newly created branches are pushed to origin unless `push=false`.
Parameters not published.
detect_contextInspect a path, resolve the bare repo, enumerate sibling worktrees, report config-driven sibling repositories and capabilities. Pass `includeAllWorktrees: true` to include every configured repo's worktrees keyed by repo name.
Parameters not published.
get_worktree_statusDetailed status for one worktree (dirty files, unpushed commits, stashes, operation in progress).
Parameters not published.
initializeClone the bare repo and create the main worktree. Requires config. Streams progress.
Parameters not published.
list_worktreesList worktrees with status label (`clean`/`dirty`/`stale`/`current`), divergence, `safeToRemove`, last sync. Without `repoName` and with a loaded config, results are grouped across all configured repos.
Parameters not published.
load_configLoad or reload a config file at runtime.
Parameters not published.
set_current_repositorySelect the active repo when multiple are configured.
Parameters not published.
syncFull sync cycle (fetch, create, prune, update). Requires config. Streams progress notifications.
Parameters not published.
update_worktreeFast-forward one worktree to match upstream.
Parameters not published.
Ask AI
Ask AI about Sync Worktrees
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.