GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Isolated dev environments, one per git worktree: ports, env, and DB slices as agent tools.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"binky": {
"command": "uvx",
"args": [
"binky",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add binky -- uvx binky mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"binky": {
"command": "uvx",
"args": [
"binky",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"binky": {
"type": "stdio",
"command": "uvx",
"args": [
"binky",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 andreisilva1 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
One isolated local world per git worktree — ports, env, database, URLs.
So a swarm of coding agents runs in parallel on one machine without anything colliding.
Docs · Quickstart · Adapters · Commands · For agents · How it works · Troubleshooting
docker-compose was built for one process at a time. Binky is built for fifteen at once.
Status: alpha. The core works end to end — worktree isolation, ports, adapters, supervision,
reconciler, admission, proxy, HTTPS. The config format is stable; the CLI may still move.
You point three agents at the same repo. The second one runs pnpm dev and gets EADDRINUSE. The third runs your migrations and drops the table the first was reading. You start hand-editing .env files, and now you're the scheduler.
Binky is the scheduler. One binky up per agent, and each gets its own ports, its own database, its own URLs — from the same committed config.
Python 3.11+ and git, on Linux or Windows — the two platforms Binky is tested on for real. macOS isn't a supported target yet; a well-tested port would be a welcome contribution.
uv tool install binky # or: pipx install binky
binky --version
Or from a clone, to run the unreleased main or to hack on it:
git clone https://github.com/andreisilva1/binky && cd binky
uv tool install . # or: pipx install .
Adapters that need a driver ship as extras — installing Binky for Redis shouldn't pull boto3:
uv tool install "binky[postgres]" # or [redis], [mysql], [mongodb], [s3], [kafka]
uv tool install "binky[all-adapters]" # the whole matrix
Already have a docker-compose.yml? Start from it:
binky init # writes a binky.toml you can read and edit
binky check # validate it
Or write it by hand — this is the whole config:
[project]
name = "acme"
[services.web] cmd = "pnpm dev --port ${self.port}" url = "web" # → web. .acme.localhost depends_on = ["api"] env = { API_URL = "${api.url}" }
[services.api] cmd = "go run ./cmd/server" url = "api" # asking for a URL is what asks for a port depends_on = ["db"] env = { DATABASE_URL = "${db.url}" }
[services.db] adapter = "postgres" # a private database per worktree admin_url = "${env.POSTGRES_ADMIN_URL}" migrate = "make migrate" seed = "make seed" clone_from = "golden" # migrate+seed once, then copy per worktree
Then bring worktrees up in parallel:
$ binky up login-fix
api pid 16560 :4846 web pid 29732 :4504 ✓ up: login-fix (2 service(s))
$ binky up checkout-v2 api pid 21768 :4137 web pid 46336 :4605 ✓ up: checkout-v2 (2 service(s))
$ binky status acme checkout-v2 [running] api :4137 web :4605 login-fix [running] api :4846 web :4504
Two branches, four processes, four ports nobody chose by hand. Hand a worktree's coordinates to whoever needs them — a shell, an agent, a test run:
$ binky env login-fix --dotenv
WEB_URL=http://web.login-fix.acme.localhost API_URL=http://api.login-fix.acme.localhost
And the rest of the lifecycle:
binky down login-fix # pause (keeps files + ports); `up` again is instant
binky remove login-fix # destroy it (refuses if there are uncommitted changes)
Nothing is hardcoded and nothing is discovered at runtime: every process boots already knowing the whole port map, its own and its dependencies'.
One rule to internalise. A service gets a port when it declares
urlorports— asking is
explicit. A service with neither gets none, which is correct for a worker or a one-shot job, and a
trap if you then write
${self.port}in itscmd. Unknown tokens are left alone rather than
blanked, so the literal
${self.port}reaches the shell and the process dies on its own argument
parsing.
binky checkwarns when a service does this.
The claim is that N isolated worlds shouldn't cost N times one world. Measured, not asserted — benchmarks/worlds.py is in this repo and reproduces the table below (postgres:16, 200,000 rows per world, Docker Desktop on Windows 11):
| worlds | RAM: a container each | RAM: Binky | time: a container each | time: Binky |
|---|---|---|---|---|
| 1 | 150 MiB | 174 MiB | 6s | 4s |
| 2 | 298 MiB | 182 MiB | 11s | 6s |
| 4 | 596 MiB | 228 MiB | 20s | 10s |
| 8 | 1197 MiB | 295 MiB | 40s | 16s |
The 8th world costs +150 MiB and +4.8s as its own container, or +17 MiB and +1.7s under Binky.
Read the first row too. At one world Binky is behind — it pays for a server plus a golden template nobody is using yet, and only earns that back on the second. And disk is not a win: CREATE DATABASE ... TEMPLATE is a file copy, not copy-on-write, so every world is still a full copy of the rows. What Binky removes is the *server* per world, not the *bytes* per world. It also doesn't make your own app processes cheaper — one dev server per worktree costs the same either way.
python benchmarks/worlds.py --sweep 1,2,4,8 --rows 200000
Worth saying plainly, because the first row of that table already says it:
An adapter carves an isolated slice of one shared server — a database, a key prefix, a bucket — instead of running one server per worktree. 16 names, 10 implementations, every one exercised against a real server in CI.
| slice | adapters |
|---|---|
| a database | postgres · mysql · mariadb · percona · mongodb · clickhouse |
| a key prefix | redis · valkey |
| a bucket / prefix | s3 · minio |
| a vhost / topic prefix | rabbitmq · kafka · redpanda |
| a collection | qdrant |
| an index prefix | elasticsearch · opensearch |
Protocol-compatible names share one implementation rather than a copy of it — valkey is the Redis adapter, percona is the MySQL one, opensearch is the Elasticsearch one.
clone_from: pay for migrate+seed onceWith clone_from, the first binky up builds a golden template — provision, migrate, seed — and every worktree after that is a copy of it. The template is keyed by a hash of your migrate and seed commands, so changing either rebuilds it automatically.
Supported where the server can copy a slice server-side (postgres, mysql, mariadb, percona, mongodb). Where it isn't, or where a clone fails on something environmental — a client binary too old to authenticate, a missing grant — Binky falls back to provision+migrate+seed for that worktree and logs clone_fallback. Correctness never depends on cloning; only speed does.
One sharp edge worth knowing: the hash covers the migrate and seed *commands*, not the files they call. Editing a script those commands run does not rebuild the template — delete its marker under ~/.binky/golden/ to force one.
Two tiers, one contract. Both implement the same four verbs:
| verb | does |
|---|---|
provision(slice) | create the slice (CREATE DATABASE ...) |
resolve(slice) | return its address → ${db.url} |
teardown(slice) | destroy it |
capabilities() | what it supports, e.g. {"clone": true} |
In-process adapters are Python classes in this repo, discovered by name. External adapters are executables in any language, discovered as binky-adapter- on PATH and driven over a one-shot subprocess + JSON protocol:
$ binky-adapter-filestore provision <<< '{"slice": "acme_login-fix", "config": {}}'
{"ok": true} $ binky-adapter-filestore resolve <<< '{"slice": "acme_login-fix", "config": {}}' {"ok": true, "address": "file:///tmp/binky-filestore/acme_login-fix"}
Python authors get the protocol for free — binky.adapter_sdk.run() bridges a normal adapter class to it. See examples/adapters/filestore.py for a complete, dependency-free one in 30 lines.
| Command | What it does | ||
|---|---|---|---|
binky init [dir] [--force] | Write a starting binky.toml from docker-compose.yml + .env | ||
binky check [path] | Validate a binky.toml and flag footguns | ||
binky up [--group g] | Create/use the branch's worktree, allocate ports, provision resources, start services | ||
binky reload [--group g] | Restart in place — stop, then bring back up on the same ports and data | ||
binky down | Stop the worktree's processes (keeps its files and ports) | ||
binky remove [--force] | Destroy the worktree — stop, drop its slices, remove its files | ||
binky status [.] | List worktrees (grouped by project); . = current project only | ||
binky env [--dotenv] | Print a worktree's exposed coordinates, for you or an agent | ||
binky curl [path] | Call a service through the proxy with the Host header filled in (-X/-d/-H/-i/-f) | ||
binky verify | Run the project's agents.verify checks; exits non-zero on failure | ||
binky logs | Print a worktree's captured service logs | ||
binky gc | Sweep orphaned adapter slices a crash left half-provisioned | ||
binky config | Show the machine-global settings (RAM/disk reserves, proxy ports) | ||
binky reserve [--ram %] [--disk gb] | Set how much RAM/disk Binky permanently keeps free | ||
binky port [--proxy p] [--https p] | Set the proxy/HTTPS ports | ||
binky dashboard | Live TUI of every worktree | ||
binky doctor | Diagnose the install and daemon; exits non-zero if something is wrong | ||
binky metrics | Point-in-time daemon metrics as JSON | ||
binky mcp | Run the MCP server so agents can call Binky's verbs as tools | ||
| `binky daemon start\ | stop\ | status` | Manage the background daemon |
binky mcp speaks MCP over stdio, exposing up, down, status, env and verify — the same verbs the CLI calls, against the same daemon.
In Claude Code, one line wires it up:
claude mcp add binky -- binky mcp
Any other client that speaks the protocol takes the same stdio server as a config block — the same one everywhere, only the file differs:
{ "mcpServers": { "binky": { "command": "binky", "args": ["mcp"] } } }
To run it with nothing installed, hand it to uvx instead — claude mcp add binky -- uvx --from "binky[mcp]" binky mcp, or as a block, "command": "uvx", "args": ["--from", "binky[mcp]", "binky", "mcp"]. For a project whose worktrees provision adapter slices, add those extras too, e.g. binky[mcp,postgres] (or binky[mcp,all-adapters] for the whole matrix).
Binky is published in the [MCP Registry](https://registry.modelcont
只显示了开头部分;其余内容请在仓库中阅读