Zordon

io.github.piotrkowalczuk由 GitHub 帳號 piotrkowalczuk 發布v0.28.1更新於 Nov 4, 2026

Supervise a local dev stack — databases, brokers and services declared in an Alphasfile — over MCP.

概覽

AI 產生的概覽

透過 MCP 監管 Alphasfile 中宣告的本地開發堆疊(資料庫、訊息代理與服務),讓助理啟動、檢視並執行預置任務。

可以做什麼
  • 啟動、停止宣告的整套堆疊,並檢視整條鏈上目前執行的內容
  • 建立彼此隔離的平行工作區,執行具名預置任務或其清理步驟
  • 檢視服務狀態、就緒情況與日誌,輸出為面向代理的精簡結構化格式
  • 把每個 zordon 指令與每個已宣告的預置任務都作為 MCP 工具提供給助理
適用情境
當專案的本地相依元件(資料庫、訊息代理、代理伺服器、服務)已在 Alphasfile 中宣告,並希望助理在改程式時啟動堆疊、檢查狀態並執行初始化步驟時使用。
執行需求
本機需安裝 zordon,且 zordon、alpha、tommy 三個執行檔在 PATH 上,專案目錄中需有 Alphasfile。MCP 用戶端從專案目錄啟動伺服器,或設定 ZORDON_HOME。可選 HTTP 傳輸監聽本地位址。
安裝前請注意
服務以一般主機行程執行而非容器,會佔用真實連接埠並寫入主機。文件說明 HTTP 傳輸端點尚未進行身分驗證。預置任務及啟動、停止、清理都會改變本機狀態,助理可執行 Alphasfile 中宣告的任一預置任務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Zordon,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Zordon

[Go Reference] [Go Report Card] [CI] [License: GPL v3]

The local stack your inner loop runs against — databases, brokers, proxies and services as fast, disposable host processes, declared once and supervised together. No containers.

Zordon is a supervisor for the local stack your code runs against — the databases, brokers, proxies and services that have to be alive for your code to be exercised for real. It runs them as ordinary host processes instead of containers, declared once in an Alphasfile and supervised together, so standing the stack up, duplicating it, and throwing it away are all cheap.

Three goals shape every decision. Low latency — standing the stack up and re-running sit inside the loop, not around it; iteration shouldn't wait on infrastructure. Resourcefulness — per-stack overhead stays small enough that many agents run side by side, each with a stack real enough to evaluate against rather than a wall of mocks. Guardrails — the Alphasfile doubles as a contract, so the MCP server hands an agent only a narrow, declared surface: bring the stack up, inspect it, run a provision you named, and work through that interface instead of improvising against the host.

Why not containers? Code is increasingly written in a loop — change something, run the real stack against it, read the result, go again, hundreds of times an hour. Containers buy isolation by paying full cold-start and idle-overhead cost on every run: right for production, wasteful for a loop. Zordon takes the other side, recovering isolation from per-run workspaces instead of images — so a second stack beside yours, or a tenth, is a non-event.

Declare the whole stack in one Alphasfile:

hcl
service "go" "nats" {  git {    url = "github.com/nats-io/nats-server"    tag = "v2.14.0"  }
  vars = { client = net::pickport() }   # grab a free port, no clashes  arguments { values = { main = { p = self.vars.client } } }}
sh
zordon start   # resolve, build, bring it up, stream logs until everything is READY

Features

  • No containers, no daemon. Your databases, brokers, proxies and services run as plain supervised host processes — nothing to image, mount or register.
  • Polyglot toolchains. Go, Rust, Ruby, Node.js and Java (Maven/Gradle) services built straight from a git URL or local source; native packages (Redis, PostgreSQL, etcd, …) provisioned through mise.
  • One manifest. The whole stack — source, build, run, env, readiness, logs — declared in a single Alphasfile.
  • Dynamic configuration as a graph. Values are functions, not strings: net::pickport() picks a free port, fs::tmp()/fs::hash() give per-run paths, and services reference each other (service.go.caddy.vars.http) with zero hardcoded wiring. → docs
  • Workspaces. zordon workspace create x stands up a second, fully isolated copy of the entire stack — own ports, own dirs — an agent's sandbox beside yours, no port-mapping. → docs
  • Federation. Alphasfiles chain by directory position: a project sits below shared infra instead of importing it. Move it in the tree and its environment recomputes. → docs
  • Readiness-aware bringup. HTTP and exec readiness checks over a dependency graph; zordon start returns the moment every service is READY, then keeps the stack alive in the background.
  • Convergent re-runs. Re-running costs only what actually changed — no blanket teardown and rebuild.
  • Provisions. One-off setup (migrations, seeding, topic creation) declared per service, run on demand, with zordon clean for teardown.
  • Agent-friendly output. --agent emits terse, structured logs; output is kept signal-dense because when a model reads your logs, tokens are the budget.
  • MCP server. zordon mcp exposes every command — and every provision — as MCP tools, so an agent can drive the whole stack. → docs
  • Guardrails for agents. The Alphasfile plus the MCP surface form a narrow, declared interface between agent and stack — it runs the named provisions you defined, not an open shell, so it can't improvise its way around your setup.
  • No runtime dependencies. Three static Go binaries — zordon, alpha, tommy — and nothing else to install, image, or register.

Documentation

Full docs: https://zordon.io (source in docs/, built with MkDocs Material).

Installation

Homebrew (macOS):

sh
brew install piotrkowalczuk/tap/zordon

A release tarball (macOS and Linux, arm64 and amd64) from Releases:

sh
tar -xzf zordon_<version>_<os>_<arch>.tar.gz -C ~/.local/bin zordon alpha tommy

Or from source, if you have a Go toolchain:

sh
go install github.com/piotrkowalczuk/zordon/cmd/...@latest

Every variant installs the same three binaries — zordon, alpha, and the tommy reaper. Keep them in one directory and make sure that directory is on your $PATH: zordon finds alpha via $PATH, and alpha finds tommy only as a sibling of its own executable. See Binaries and layout.

Quick start

Create an Alphasfile (see examples/simple), then:

sh
zordon start              # spawn alpha, push config, stream bringup logszordon status             # what's running across the whole chain right now?zordon stop               # ask alpha to shut its children down and exitzordon clean              # run each provision's clean teardown (stack stopped)zordon workspace create x  # a parallel, isolated copy of the stack

See the docs for everything else.

Use with Claude (MCP)

zordon mcp runs an MCP server, over stdio by default or over HTTP with --transport=http. It exposes every zordon command — and every provision — as a tool, so an agent can drive your stack and run provisions on demand.

The fastest path is the Claude Code plugin — no manual config:

sh
/plugin marketplace add piotrkowalczuk/zordon/plugin install zordon@zordon

This registers the zordon mcp server and a skill nudging the agent toward it automatically; see the install how-to.

For other MCP clients, or without the plugin:

The MCP client launches the server; you don't run zordon mcp yourself. With Claude Code, register it from your project directory:

sh
claude mcp add zordon -- zordon mcp

Or add it to your client's MCP config (e.g. .mcp.json):

json
{ "mcpServers": { "zordon": { "command": "zordon", "args": ["mcp"] } } }

The server resolves the chain from its working directory, so launch the client from the project tree (or pass -e ZORDON_HOME=…). Provisions run inside the live alpha, so zordon start first — or let the agent call the start tool.

To let an agent confined to a container or sandbox drive a host-side stack, serve it over HTTP instead — the client then needs only a URL, with no zordon binary inside the box:

sh
zordon mcp --transport=http --listen 127.0.0.1:7391

See the how-to; note the endpoint is not authenticated yet.

The server advertises its purpose to the agent via MCP instructions (when to reach for these tools), so it should pick them up on its own. To nudge it harder in a zordon-managed repo, add a line to your CLAUDE.md (or AGENTS.md): "this project's local stack is managed by zordon — use the zordon MCP tools to bring it up, inspect it, and run provisions."

See the zordon mcp reference and how-to.

License

GNU General Public License v3.0, see LICENSE.md.

來源:README.md,提交 383e0a9

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

8
  1. v0.28.1最新Nov 4, 2026
  2. v0.28.0Nov 3, 2026
  3. v0.26.0Oct 30, 2026
  4. v0.24.0Oct 29, 2026
  5. v0.22.3Oct 6, 2026
  6. v0.21.0Oct 6, 2026
  7. v0.20.0Sep 28, 2026
  8. v0.19.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分