Skip to main content
Glama
eustin

Orchestrator Python MCP Server

by eustin

Orchestrator Python MCP Server

面向 AI 编码助手的机器验证式 4 阶段工作流 MCP 服务器。通过人工审批门禁、状态完整性检查和 DAG 任务调度,强制执行 DESIGN → PLAN → EXECUTE → VERIFY → COMPLETE 流程。


🚀 工作流生命周期

[Start] ──> orchestrate_init(task="...")
                │
                ▼ (DESIGN Phase)
        Write `.orchestrator/design.md`
                │
                ▼
        orchestrate_approve()  ──>  orchestrate_verify()
                                        │
                ┌───────────────────────┘
                ▼ (PLAN Phase)
        Write `.orchestrator/plan.md`
                │
                ▼
        orchestrate_approve()  ──>  orchestrate_verify()
                                        │
                ┌───────────────────────┘
                ▼ (EXECUTE Phase)
        orchestrate_get_dag_batches()
        Subagents implement tasks & mark [x]
                │
                ▼
        orchestrate_verify()
                │
                ▼ (VERIFY Phase)
        orchestrate_verify() (runs automated test command)
                │
                ▼ (COMPLETE Phase)
        orchestrate_archive() ──> [Done]

Related MCP server: Overture

🛠️ MCP 工具参考

工具名称

参数

描述

orchestrate_init

task_description: str

DESIGN 阶段初始化新会话,获取原子锁,并返回初始 SOP 提示。

orchestrate_status

(无)

返回 { active_session: bool, phase: str, message: str }

orchestrate_approve

(无)

人工门禁审批。解锁 DESIGNPLAN 阶段的验证。

orchestrate_verify

(无)

验证阶段交付物。通过后推进到下一阶段,返回下一阶段的 SOP 提示。

orchestrate_get_dag_batches

(无)

解析 plan.md 中的任务,并返回带有文件冲突防护的有序并行批次。

orchestrate_archive

force: bool = True

释放锁并将会话文件移动到 .orchestrator/archive/<session_id>/


📋 各阶段交付物要求

  1. DESIGN 阶段

    • 交付物:.orchestrator/design.md

    • 必需标题:## Requirements## Architecture## Self-Confidence Audit

    • 门禁:验证前需调用 orchestrate_approve

  2. PLAN 阶段

    • 交付物:.orchestrator/plan.md

    • 任务格式:- [ ] **<id>**: <desc> (Agent: <role>, Target: <file>, blocked_by: [<deps>])

    • 详细规格:每个任务都需要一个 ### <id> 小节。

    • 最终关卡:最终任务必须指派给 Agent: implementation-reviewer,并被所有先前任务阻塞。

    • 测试命令:在 ## Verification 下提供有效的可执行 Test command: <cmd>

    • 门禁:验证前需调用 orchestrate_approve

  3. EXECUTE 阶段

    • 规则:.orchestrator/plan.md 中的所有任务必须标记为已勾 - [x]

    • 规则:目标文件必须存在于磁盘上,且大小大于 0 字节。

  4. VERIFY 阶段

    • 规则:通过 shell 子进程运行计划中的测试命令(120 秒超时)。若退出码为 0,则通过。


⚡ 快速开始

安装与运行

# Sync environment
uv sync

# Run tests (Unit + 18 BDD Scenarios)
uv run pytest

# Start MCP server (stdio transport)
uv run python -m orchestrator_mcp.server

OpenCode MCP 配置(opencode.jsonconfig

{
  "mcpServers": {
    "orchestrator": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/orchestrate", "python", "-m", "orchestrator_mcp.server"]
    }
  }
}
Install Server
F
license - not found
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eustin/mcp-server-orchestrate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server