Mlua Swarm
FreeNot checkedMCP server that executes Blueprint workflows (flow.ir) with swarm operations, dispatching agent steps to backends like Lua, Rust, processes, or interactive Oper
About
MCP server that executes Blueprint workflows (flow.ir) with swarm operations, dispatching agent steps to backends like Lua, Rust, processes, or interactive Operator sessions.
README
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 / assign 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
cargo install mlua-swarm-cli
This installs the mse binary with two subcommands:
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:
{ "command": "mse", "args": ["mcp"] }
Docker (no Rust toolchain required)
Also listed on the MCP Registry
as io.github.ynishi/mlua-swarm:
{
"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 bymse mcpand 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 atmse://api/blueprint-schema(also available as thebp_schematool).
Workspace crates
| crate | role |
|---|---|
mlua-swarm |
engine core (workspace root package) |
mlua-swarm-schema |
Blueprint schema types |
mlua-swarm-server |
HTTP + WS server library |
mlua-swarm-cli |
the mse binary |
License
Licensed under either of Apache License 2.0 or MIT License at your option.
Installing Mlua Swarm
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ynishi/mlua-swarmFAQ
Is Mlua Swarm MCP free?
Yes, Mlua Swarm MCP is free — one-click install via Unyly at no cost.
Does Mlua Swarm need an API key?
No, Mlua Swarm runs without API keys or environment variables.
Is Mlua Swarm hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Mlua Swarm in Claude Desktop, Claude Code or Cursor?
Open Mlua Swarm on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Mlua Swarm with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
