Organised layout
Clones land in Public/, Private/ and Forks/, then by language, so the same repository is always at the same path. On macOS each folder also gets Finder tags.
How the layout worksOpen-source command-line tool
corralctl clones your repositories from six forges into one predictable layout, keeps them in sync, and lets AI coding agents search all of them at once.
What it does
Each card opens its section on the features page.
Clones land in Public/, Private/ and Forks/, then by language, so the same repository is always at the same path. On macOS each folder also gets Finder tags.
How the layout worksA sidecar file records each clone's last known push. When the forge reports nothing new, corralctl skips the git pull entirely.
How smart syncing worksRun one shell command across every clone at once, narrowed by language or visibility: git status, a test run, an audit.
How exec workscorralctl sync pushes the organised tree out to GitLab, Gitea, Forgejo, Codeberg, Bitbucket or GitHub, and never force-pushes a branch.
How mirroring worksServes your local clones to AI coding agents. Read-only by default: no network calls, and the GitHub API is never contacted.
How the MCP server worksFind where a function or type is declared, and where text is written, across every clone on the machine rather than the one an editor has open.
How symbol lookup worksWho it is for
The same commands, for four different jobs.
Developers
One command clones what is missing, pulls what is stale and leaves the rest alone, then puts every clone where you would look for it.
Read the use caseAI agents
The MCP server tells an agent which repository holds a symbol before it opens a file, and refuses to delete anything holding unpublished work.
Read the use caseForges
Clone from one host and mirror to the others, keeping each repository's visibility, with a dry run before anything is pushed.
Read the use caseAutomation
Every git call runs without prompts, so a cron job or systemd timer fails cleanly instead of hanging, and a non-zero exit tells you why.
Read the use caseInstall
corralctl is a single static Go binary. Install it with mise, Homebrew, the AUR, Nix or the Go toolchain, sign in to GitHub, and point it at an owner.
# Install (macOS or Linux)
mise use -g github:sebastienrousseau/corralctl
# Sign in once, or set GITHUB_TOKEN
gh auth login
# Clone and organise every repository you own
corralctl clone my-username
# Preview the next run without touching disk
corralctl plan my-usernamecorralctl runs with your own credentials on your own machine, so its security model is about limiting the blast radius of a mistake.
Prune and the MCP delete tool decline any clone holding uncommitted, unpushed, stashed, submodule or gitignored work. Tokens never reach a command line or .git/config, and every release is signed and reproducible.
In numbers
Counted from the corralctl README; the timing is its measured cross-repository lookup on a real 187-repository workspace.
corralctl is a free, open-source command-line tool and MCP server, written in Go and released under the GNU General Public License v3.0. Given an owner name, it lists that owner's repositories on GitHub, GitLab, Gitea, Forgejo, Codeberg or Bitbucket, clones the ones missing from your machine, pulls the ones that have changed, and files every clone under Public/, Private/ or Forks/, then by language. Corral is the project; corralctl is the binary you run.
A loop over git clone gets the repositories onto disk once. corralctl keeps them right afterwards:
corralctl plan shows what a run would do without changing anything.corralctl prune removes clones that no longer exist upstream, but declines any clone holding uncommitted, unpushed, stashed or gitignored work.corralctl sync mirrors the organised tree back out to them.Corral is written and maintained by Sebastien Rousseau, a payments leader with 19 years in banking who builds open-source tools for finance and for developers. The source, the issue tracker and every signed release are on GitHub. Read more on the about page.