Query your Corral-organised local mirror of cloned GitHub repositories. Zero network calls.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Corral.
corral_list_reposFilter local clones by visibility / language / name / sync state
corral_find_repoResolve a fuzzy name to one clone (returns candidates on ambiguity)
corral_get_repo_metadataFull metadata for one clone, including current branch
corral_status_summaryWorkspace summary: counts by visibility and language
corral_workspace_indexFull structured index in a single call
corral_find_symbolWhere a symbol is declared, across *every* clone
Automatically clone and organise repositories from GitHub, GitLab, Gitea, Forgejo, Codeberg and Bitbucket using Finder-friendly collections, ecosystems, and metadata.
Getting started
Features & Capabilities
Reference & Operational
Project
This installs the latest released corralctl binary and keeps it managed with
the rest of your mise tools.
Homebrew here is a cask, which is a macOS-only mechanism β brew install on
Linux will refuse it. On Linux use the .deb/.rpm packages or the tarballs
attached to each release,
or install with mise or the
Go toolchain.
The flake ships the binary with its manpages and shell completions, and
nix develop gives a shell with every tool the project's CI gates need,
pinned by flake.lock.
Installs into $(go env GOPATH)/bin (or $GOBIN when set). Note that a
binary built this way reports corralctl version dev: the real version is
stamped by the release pipeline through -ldflags, which go install does
not apply. Use a release artefact if you need --version to be meaningful.
Requires Go 1.26+ and Git:
Install gh separately following the GitHub CLI installation guide.
Run Corral with an owner name (GitHub username or organization) to clone and automatically sort all repositories into a clean local directory hierarchy:
This converges your local directory structure into a structured mirror:
On macOS, Corral also writes native Finder Tags to repository folders while preserving tags you added yourself. This keeps the physical hierarchy shallow and makes Finder searches and Smart Folders useful across ecosystems.
| Feature | Description |
|---|---|
| Apple-style Layout | Sorts source repositories into Public/, Private/, and Forks/, using Finder-friendly ecosystem names such as Go, Rust, Python, and Web. |
| Finder Tags | Applies native macOS lifecycle colors and searchable visibility, ecosystem, owner, fork, archive, template, and mirror metadata without replacing personal tags. |
| Smart Syncing | Compares remote pushed_at metadata to skip redundant network calls, speeding up syncs by 10x-50x. |
| Interactive Selection | A fully featured Terminal UI (TUI) selector dashboard to search, preview, and select repositories to clone. |
| Legacy Migration | Automatically moves existing flat directory layouts into the new structure and cleans up empty folders. |
| Concurrency | Processes clones and pulls concurrently with configurable worker limits (--concurrency). |
| Batch Commands | Batch execute Git commands concurrently across all cloned repositories using exec. |
| Zero Configuration | No configuration files required β simple, sensible defaults that work out of the box. |
A single run resolves git, fetches every repository concurrently from the forge (GitHub, GitLab, Gitea, Forgejo, Codeberg or Bitbucket), optionally lets you pick a subset interactively, then dispatches clone / smart-sync / skip decisions across a worker pool. Smart sync consults a per-repository .corral-state.json sidecar to skip a git pull when the upstream pushed_at is unchanged.
By passing the -i or --interactive flag, you can launch the selection dashboard:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/corral)<a href="https://allmcps.com/mcp/corral"><img src="https://allmcps.com/api/badge/corral?style=directory" alt="Corral on AllMCPs" /></a>