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.

概览

AI 生成的概览

Moira 是一个可自托管的智能体工作流引擎,让 AI 助手按多步骤流程执行,每步都有指令、完成标准和结构化校验的响应。

可以做什么
  • 发现可用工作流,并为任务选定准确的 owner/slug
  • 准备并执行工作流步骤,支持步骤重试、运行续接和受控取消
  • 按每步的完成标准提交经 schema 校验的响应
  • 读取运行时帮助主题和当前带类型的工具目录
  • 持久化执行状态,使另一个智能体会话可以继续同一次运行
  • 通过内置 Web UI 和工作流 CLI 编辑工作流、查看运行记录
适用场景
当你希望智能体遵循定义好的多步骤流程、每步都有明确指令与完成标准,并且能跨会话恢复运行时适用。适合愿意自行托管该引擎或使用其托管服务的团队,而非只需单一功能工具的场景。
运行要求
以 stdio 本地进程运行,或通过自建实例的 /mcp 路径以 streamable-http 端点运行。自托管需要 Docker 与 Compose 插件及部署文件,镜像从公共仓库拉取。连接智能体需完成实例的认证授权流程,自托管账户需管理员审批。
安装前请注意
schema 校验只检查响应结构,不能证明工作确实完成。自托管首次启动会一次性打印生成的管理员密码,并把密钥写入 data/.secrets.env,须与数据库一同保留。工作流、执行记录和工作区文件保存在本地数据目录,需要单独备份;可选的 Local 虚拟机执行需要所有者显式授权。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Moira,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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.

bash
cp .env.example .envdocker compose up -d

The localhost defaults pull the public image without a source build. Open:

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:

bash
docker compose pulldocker compose up -ddocker compose ps

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:

bash
npm cinpm run local:buildnpm run local -- --help

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:

bash
nvm usenpm ci

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
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分