Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search code and symbols across every clone in your Corral workspace. Zero network calls.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"corral": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sebastienrousseau/corral:0.0.36"
]
}
}
}在终端中运行这条命令
claude mcp add corral -- docker run -i --rm ghcr.io/sebastienrousseau/corral:0.0.36粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"corral": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sebastienrousseau/corral:0.0.36"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"corral": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sebastienrousseau/corral:0.0.36"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 sebastienrousseau 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.0.36)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
corralctl
Automatically clone and organise repositories from GitHub, GitLab, Gitea, Forgejo, Codeberg and Bitbucket using Finder-friendly collections, ecosystems, and metadata.
Getting started
Features & Capabilities
corralctl sync pushes the tree to GitLab, Gitea, Forgejo, Codeberg, Bitbucket or GitHubReference & Operational
Project
mise use -g github:sebastienrousseau/corralctl
This installs the latest released corralctl binary and keeps it managed with the rest of your mise tools.
brew install sebastienrousseau/tap/corralctl
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.
yay -S corralctl-bin # or: paru -S corralctl-bin
nix run github:sebastienrousseau/corralctl -- --help # run without installing
nix profile install github:sebastienrousseau/corralctl # install
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.
go install github.com/sebastienrousseau/corralctl/cmd/corralctl@latest
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 Git and Go at or above the go directive in go.mod, but not Go 1.27.0 to 1.27.2, which carry a reachable crypto/x509 advisory (see the minimum toolchain policy):
git clone https://github.com/sebastienrousseau/corralctl.git
cd corral make install # installs ~/.local/bin/corralctl
macOS
brew install go git gh
Ubuntu / Debian / WSL2
sudo apt install golang git
Install gh separately following the GitHub CLI installation guide.
Fedora / RHEL
sudo dnf install golang git gh
Run corralctl clone with an owner name (GitHub username or organization) to clone and automatically sort all repositories into a clean local directory hierarchy:
# Log in to GitHub CLI first (or set GITHUB_TOKEN)
gh auth login
corralctl clone my-username
The bare form, corralctl my-username, does the same thing. One binary, one base command, and every operation is a subcommand of it:
| Command | Does |
|---|---|
corralctl clone | Clone what is missing, pull what is stale, into the organised layout |
corralctl sync --to | Mirror the organised tree out to another forge — see Mirror to other forges |
corralctl status | Inventory local clones and their state |
corralctl plan | Preview a reconciliation without touching disk |
corralctl prune | Remove clones no longer upstream, refusing any with unpublished work |
corralctl exec | Run a command across every clone — see Exec Mode |
corralctl mcp | Serve the workspace to AI agents — see MCP Server |
This converges your local directory structure into a structured mirror:
~/Code/
├── Public/ │ ├── Go/ │ │ └── corral/ │ ├── Rust/ │ │ └── my-crate/ │ └── Web/ │ └── project.github.io/ ├── Private/ │ └── Python/ │ └── internal-tool/ ├── Forks/ │ └── Rust/ │ └── upstream-project/ └── Work/
On macOS, corralctl 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.
graph TD
A[User Shell] --> B{corralctl} B --> C[Pre-flight: exec.LookPath git] C -- Missing --> Z1[Exit: git not found on PATH] C -- OK --> D[Resolve auto/token/gh auth] D --> E[Forge API: list repos] E --> E1["First page
pages 2..N (max 5)"] E2 -- No --> F E3 --> F[Filtered repository set] F --> F1{TUI selector?} F1 -- "--select" --> F2[Interactive TUI /sort, /all, /none, search] F1 -- No --> G F2 --> G[Layout template render Collection/Bucket/Name] G --> H["Worker pool (--concurrency)"] H --> I{Already cloned?} I -- No --> J["git clone (+ blobless/ depth/single-branch)"] I -- "Yes (--no-sync)" --> K[SKIP] I -- Yes --> L{Smart sync: pushed_at advanced?} L -- No --> M[SKIP up-to-date] L -- "Yes (or --force-sync)" --> LG{"Operation in progress, local commits ahead, or no upstream?"} LG -- Yes --> LR[ERROR: pull refused] LG -- No --> N[git pull --rebase --autostash] N --> N1["+ optional submodule update (--ignore-submodule-failures)"] J & N1 --> O[Stamp .corral-state.json] O & K & M & LR --> P{All workers done?} P -- No --> H P -- Yes --> Q[Cleanup empty legacy dirs] Q --> R{--orphans?} R -- Yes --> S[Walk baseDir parse .git/config] R -- No --> T[Print summary] S --> T
By passing the -i or --interactive flag, you can launch the selection dashboard:
./corralctl -i my-username
[space] — Toggle selection of the current repository.[ctrl+a] — Select all currently filtered repositories.[ctrl+n] — Deselect all currently filtered repositories.[/] — Enter command / filter mode.[enter] — Confirm selection and begin cloning/syncing.[esc] — Exit the application silently.Press / inside the TUI to enter Command Mode. Commands s
只显示了开头部分;其余内容请在仓库中阅读