Mlua Swarm

io.github.ynishi由 GitHub 帳號 ynishi 發布v0.32.1更新於 Oct 24, 2026

MCP server for mlua-swarm: engine that compiles flow.ir Blueprints and dispatches agent steps.

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

AI 產生的概覽

mlua-swarm 引擎的 MCP 轉接器,可編譯 flow.ir Blueprint 並把其中的 agent 步驟分派給 worker 執行。

可以做什麼
  • 透過 swarm_run 工具一次性執行 Blueprint,走引擎標準的任務啟動路徑。
  • 讀取 mse:// 下隨附的文件資源,包括入門、Blueprint 生命週期、撰寫指南與 MCP 工具參考。
  • 取得範例 Blueprint 與即時的 Blueprint JSON Schema,也可透過 bp_schema 工具取得。
  • 驅動由 step、seq、branch、loop、fanout、try、let 節點組成的流程,agent 可解析為行程內 Lua、Rust 函式、子行程或互動式 Operator。
適用情境
適合讓助理撰寫、驗證並執行 mlua-swarm Blueprint,並在同一個 MCP 工作階段中編排多步驟 agent 工作流程。較適合已在使用的 mlua-swarm 引擎的團隊,而非一般自動化情境。
執行需求
以 stdio 在本機執行。可用 cargo install mlua-swarm-cli 安裝 mse 執行檔,並設定指令 mse、參數 mcp;或以 docker run -i --rm 加上 mcp 參數執行已發布的容器映像。未宣告任何驗證、環境變數或標頭。
安裝前請注意
執行 Blueprint 會分派 agent 步驟,可能啟動子行程或交由互動式 Operator 處理,執行前應先確認 Blueprint 引用了什麼。引擎也會記錄任務狀態;另外 mse serve 模式會開放 HTTP 與 WebSocket 伺服器。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

mlua-swarm

A long-running swarm engine host that compiles flow.ir Blueprints and dispatches their agent steps to workers. A Blueprint declares a flow (step / seq / branch / loop / fanout / try / let nodes) plus the agents it references; the engine resolves each agent to a backend (in-process Lua, a Rust function, a child process, or an interactive Operator) and drives the flow while recording task state.

Install

bash
cargo install mlua-swarm-cli

This installs the mse binary with two subcommands:

bash
mse serve   # HTTP + WS server (tasks, Blueprint store, WS Operator sessions)mse mcp     # MCP adapter over stdio, for AI agents (Claude Code etc.)

One-shot Blueprint execution is available through the swarm_run MCP tool (exposed by mse mcp), which runs through the canonical TaskApplication.handle / TaskLaunchService::launch path.

MCP client config:

json
{ "command": "mse", "args": ["mcp"] }
Docker (no Rust toolchain required)

Also listed on the MCP Registry as io.github.ynishi/mlua-swarm:

json
{  "mcpServers": {    "mlua-swarm": {      "command": "docker",      "args": [        "run", "-i", "--rm",        "ghcr.io/ynishi/mse:latest",        "mcp"      ]    }  }}

Documentation

Documentation is served from the code itself:

  • API / architecture — rustdoc on docs.rs (the crate root doc is the architecture overview).
  • Guides / samples / schema — bundled MCP resources under mse://, served by mse mcp and always version-matched to the binary: mse://guides/getting-started, mse://guides/bp-lifecycle (the develop → trial-run → operate workflow map), mse://guides/blueprint-authoring, mse://guides/mcp-tool-reference, mse://blueprints/samples/*, and the live Blueprint JSON Schema at mse://api/blueprint-schema (also available as the bp_schema tool).

Workspace crates

craterole
mlua-swarmengine core (workspace root package)
mlua-swarm-schemaBlueprint schema types
mlua-swarm-serverHTTP + WS server library
mlua-swarm-clithe mse binary

License

Licensed under either of Apache License 2.0 or MIT License at your option.

來源:README.md,提交 97e2112

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

5
  1. v0.32.1最新Oct 19, 2026
  2. v0.32.0Oct 19, 2026
  3. v0.31.0Oct 18, 2026
  4. v0.30.0Oct 18, 2026
  5. v0.29.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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