
Moira
io.github.moira-mcp由 GitHub 帳號 moira-mcp 發布v0.3.4更新於 Nov 3, 2026
Agent Workflow Engine — multi-step MCP workflows with per-step directives and validation.
概覽
Moira 是可自架的代理工作流程引擎,讓 AI 助理依多步驟流程執行,每個步驟都有指令、完成標準與結構化驗證的回應。
- 可以做什麼
- 探索可用工作流程,並為任務選定正確的 owner/slug
- 準備並執行工作流程步驟,支援步驟重試、接續執行與受控取消
- 依每個步驟的完成標準提交經 schema 驗證的回應
- 讀取執行期說明主題與目前具型別的工具目錄
- 保存執行狀態,讓另一個代理工作階段能接續同一次執行
- 透過內建 Web UI 與工作流程 CLI 編輯工作流程、檢視執行紀錄
- 適用情境
- 當你希望代理依循既定多步驟流程、每步都有明確指令與完成標準,且能跨工作階段接續執行時適用。適合願意自行架設此引擎或使用其託管服務的團隊,而非只需單一功能工具的情境。
- 執行需求
- 以 stdio 本機程序執行,或透過自架執行個體的 /mcp 路徑以 streamable-http 端點執行。自架需要 Docker 與 Compose 外掛及部署檔案,映像檔自公開登錄庫拉取。連接代理需完成執行個體的驗證授權流程,自架帳號需管理員核准。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Moira,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MCP Moira
Moira is a workflow engine for AI agents. An agent connects through the Model Context Protocol (MCP), receives the current instruction and completion criteria, performs the work, and submits a schema-checked response. Moira persists execution state so another agent session can continue the same run. The Web UI provides workflow editing, run inspection and account administration. Schema validation checks a response's structure; it does not prove that the work happened.
Run the open-source application on your own infrastructure, or use the managed service at moira-mcp.com. This repository contains the engine, MCP server, Web API/UI, documentation and self-host deployment. See the documentation index and project structure for source ownership.
Self-host
Install Docker with the Compose plugin. Use this checkout, or download the three deployment files
following the Self-Hosting guide:
docker-compose.yml, .env.example and config/traefik-self-host.yml. Keep the ingress configuration
beside the Compose file.
The localhost defaults pull the public image without a source build. Open:
- Web UI: http://localhost:8080
- Documentation: http://localhost:8080/docs/ (English) or http://localhost:8080/ru/docs/ (Russian)
- MCP endpoint: http://localhost:8080/mcp
For another host, set MOIRA_HOST, MOIRA_PORT and STATIC_ARTIFACTS_DOMAIN together in .env.
Published HTML artifacts use individual subdomains of the artifact domain; public deployments need
the matching DNS and wildcard TLS. Preserve the supplied workspace Upgrade route through ingress;
an ordinary frontend-port mapping is not equivalent. Configure proxy trust for your actual topology.
See deployment configuration for origins, secrets, email and network admission.
Self-host registration requires administrator approval. On first start the image generates missing
secrets and prints the generated administrator password once; the default administrator email is
[email protected]. Preserve data/.secrets.env with the database. Sign in, then approve new
accounts through Admin Panel → Users. Self-host uses email/password; social login and broader
cross-user administration/analytics follow the separate SaaS policy. See
account administration for approval, blocking, password recovery and
administrator access recovery, including installations without real email delivery.
Connect an agent and use workflows
Connect your MCP client to your instance's /mcp endpoint and complete its authenticated
authorization flow. Use the MCP Clients guide
for the configuration generated for each supported client. The connection name moira-local is a
client label, independent of the optional Local companion executable.
Ask the agent to discover available workflows and choose the current exact owner/slug for the
task. The workflow catalog
explains the choices; the Agent Guide
owns prepare/execute, step attempts, continuation and guarded cancellation. Runtime help discovers
English topics; help({ topic: "tools" }) renders the current typed tool catalog. The website also
provides Russian translations.
Use workflow authoring and the workflow CLI to create or edit definitions. Node syntax, templates, tool schemas and examples stay in their canonical references rather than a second README catalog. For public HTML results, see artifacts for upload, ownership, quotas, expiry and browser isolation.
Update and recover
Use the image selection in your installation's .env, then:
Before startup migrations of an existing self-host database, the image verifies a coherent SQLite
snapshot and the prompt-manifest state. It retains rotating recovery states and an interruption
marker; failure attempts restoration and keeps services unavailable. A first start has a separate
cleanup path because no previous database exists. These safeguards do not replace operator backups.
If initialization fails, inspect docker compose logs moira and follow
Updating and Recovery;
do not bypass the guard or repeatedly restart an unchanged failure. A confirmed bundled-workflow
conflict uses the catalog reconciliation procedure.
Application accounts, workflows and executions persist in ./data. Workspace files, full command
output, operation receipts and immutable publications remain with their workspace service or paired
controller. Back up those private owner stores and disks separately; a database backup does not
contain their file bytes. Preserve encryption keys, and collect original operations after uncertain
outcomes before considering another mutation. See workspace recovery
and GitHub Releases.
Optional workspace and extension support
The paired Local controller can provision the common workspace service in GitHub Codespaces and run approved repositories in Local microVMs. Controller enrollment does not require initializing a physical Local VM. Local VM execution requires the supported macOS Apple-silicon runtime and explicit owner grants; repository Git authority is separate from social login. From the checkout:
Follow workspace setup and custody for pairing, physical capability,
permissions, installation and explicit maintenance. Staging a release does not replace the running
owner; client exit does not stop its VMs. The common moira-workspace guest CLI owns commands, files,
sessions and original results in both Local and GitHub guests. Lost replies require collecting the
original operation, not replaying the command or creating a replacement environment.
Extensions are disabled by default. The optional Compose profile builds a separate runner from this checkout; binary channels execute beside their source owner. Follow Enable extensions and Writing an Extension for bundle installation, permissions, user settings and failure boundaries.
Contribute
Read CONTRIBUTING for issue coordination, pull requests, DCO and release policy. Use Node.js 24 and the root npm workspace:
Contributor setup explains the isolated development container, environment selection and native build commands. The testing guide owns suite selection and root npm entrypoints; the coverage map locates maintained fixtures. Do not use the disposable contributor container for persistent installation data.
Start at docs/README.md for architecture, execution, HTTP/authentication, workspaces, UI patterns, documentation ownership, observability and operator procedures. Custom Claude Code commands are documented in commands/README.md. Current work is tracked in GitHub Issues.
License, security and branding
Source code is licensed under Apache-2.0. See third-party notices, the trademark policy for name/logo use, the code of conduct, and SECURITY.md for vulnerability reporting. Private deployment branding, secrets and operational material belong outside this public repository.
來源:README.md,提交 46fffaf
工具
0版本歷史
1- v0.3.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分