Logo Structured Workflow

Structured Workflow

Cộng đồng
kingdomseed

An MCP server that tries to force an AI agent to follow structured problem solving steps to accomplish a goal.

Nhà phát hànhkingdomseed
Kho mãstructured-workflow
Bản fork
3
Sao
12
Công cụ có sẵn
20
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Structured Workflow cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 20 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    12 sao và 3 bản fork từ kho mã được liên kết.

Structured Workflow

[!IMPORTANT] Work in progress. The 20 workflow skills are available for review and experimentation. Project initialization, templates, companion subagents, hooks, and packaged installation are still being designed.

Structured Workflow started as an MCP server in the Sonnet 3.5/3.7 era, when I was trying to answer a question: “How do I get my agents to follow a more structured approach, like a human would, when facing new problems and unknown territory?” This update evolves that idea by bringing in the MYP Design Cycle from my years as a teacher as the core process for building anything with agents.

Structured Workflow is a collaborative skillset for agents and humans. It gives coding agents an evidence-producing design cycle as a workflow structure, guiding them through the reasoned process that a product developer, designer, or engineer would use when approaching and solving a problem. It can be lightweight or support detailed analysis and research. It provides a useful default direction while allowing the work to follow new questions, ideas, prototypes, implementation discoveries, and evaluation evidence wherever they lead.

The repository currently contains 20 skills: one parent and four criterion skills for each of four phases. It also defines the durable project files that preserve shared understanding and workflow position across sessions.

The design cycle

The default direction is to work through phases A–D, one criterion at a time. Work can move to any criterion or phase that best answers the current question. Research, ideas, exploratory visuals, and evaluation can move naturally between criteria as the current question changes.

A — Inquire and Analyze

  • A1 — Explain and justify the need
  • A2 — Identify and prioritize research
  • A3 — Analyze prior art
  • A4 — Develop the Design Brief

The phase produces an approved Design Brief supported by inquiry evidence.

B — Develop Ideas

  • B1 — Develop design specifications
  • B2 — Develop feasible ideas
  • B3 — Present and justify the chosen design
  • B4 — Develop planning drawings and diagrams

The phase produces an approved Spec that defines the chosen solution.

C — Create Solution

  • C1 — Construct a logical plan
  • C2 — Demonstrate technical skills
  • C3 — Follow the plan to create the solution
  • C4 — Justify changes to the design

The phase produces approved tickets, a working solution, verification evidence, and justified changes.

D — Evaluate

  • D1 — Design testing methods
  • D2 — Evaluate the solution against the design specification
  • D3 — Explain how the solution could be improved
  • D4 — Explain the solution's impact

The phase produces an evidence-backed verdict, improvements, and an impact explanation.

The default direction inside A and B follows criterion order. Criterion C starts with C1, demonstrates C2 while carrying out C3, and uses C4 when creation requires a design change. A complete final evaluation follows D1 through D4.

Evaluation is also available throughout the cycle. A Design Brief, Spec, plan, ticket set, prototype, implementation, or claim can be evaluated whenever the work needs an evidence-based judgment.

How artifacts develop

Each phase maintains one authoritative project document:

  1. The inquiry document preserves A1–A4 evidence and produces the Design Brief.
  2. The developing-ideas document preserves B1–B4 evidence and completes the Spec.
  3. The creating-solution document preserves the logical plan, technical skills evidence, creation record, and justified changes. Approved implementation tickets live in the project's issue tracker.
  4. The evaluation document accumulates reviews and final evaluation evidence.

The documents preserve the reasoning behind each handoff. A later phase can load the approved artifact first and retrieve deeper evidence from the owning phase document when needed.

Durable project context

Structured Workflow uses a small set of project files to survive context loss:

  • AGENTS.md contains the short, always-loaded workflow rules.
  • workflow-tracker.md records the current phase, exact criterion, current question, active artifact, target result, and likely next move.
  • GLOSSARY.md preserves the shared meaning of important project terms.
  • Phase documents preserve findings, evidence, decisions, and uncertainty.
  • Project templates define the document locations and reusable expectations, including the project's Definition of Done.

The tracker records position rather than findings. Research and reasoning belong in the phase document that owns them. Implementation work belongs in the issue tracker.

Human-agent collaboration

Prefer retrieval-led reasoning over training-led reasoning. The agent begins with the project, its code or materials, direct human knowledge, and primary sources. Material claims are cited where they are recorded. Supported facts, human judgments, inferences, and unknowns remain distinguishable.

The agent develops questions from the request, project evidence, industry evidence, contradictions, constraints, and missing understanding. It leads retrieval, review, synthesis, and other bounded work. The human directs intent, priorities, values, and consequential choices. The balance can be even or mostly agent-led, depending on the human and the work.

This evidence trail gives the human a concrete basis for inspecting the agent's reasoning, evidence, and uncertainty.

Repository status

The current repository includes:

  • the always-loaded workflow rules in AGENTS.md;
  • four parent skills and sixteen criterion skills under skills/;
  • four human-facing phase guides;
  • a project-level workflow tracker template.

The following surfaces are still planned:

  • project initialization and document templates;
  • companion subagent definitions;
  • continuity and guardrail hooks;
  • packaged installation and update commands.

The skills can be inspected and tested now, but the repository does not yet provide a complete installer. Projects using the workflow must currently place the skills and project files through their agent harness's normal configuration mechanism.

Repository structure

text
AGENTS.md
README.md
skills/
  inquiry-analysis/
    README.md
    start-inquire-and-analyze/
    explain-and-justify-the-need/
    identify-and-prioritize-research/
    analyze-prior-art/
    develop-design-brief/
  developing-ideas/
    README.md
    start-develop-ideas/
    develop-design-specifications/
    develop-feasible-ideas/
    present-and-justify-the-chosen-design/
    develop-planning-drawings-and-diagrams/
  creating-solution/
    README.md
    start-create-solution/
    construct-a-logical-plan/
    demonstrate-technical-skills/
    follow-the-plan-to-create-the-solution/
    justify-changes-to-the-design/
  evaluating/
    README.md
    start-evaluate/
    design-testing-methods/
    evaluate-against-the-design-specification/
    explain-how-the-solution-could-be-improved/
    explain-the-solutions-impact/
  workflow-management/
    workflow-tracker.md

The phase folders organize the skills; they are not additional workflow phases. workflow-management/ contains cross-phase project resources.

Sources and acknowledgments

Structured Workflow adapts the four criteria of the IB MYP Design Cycle for human-agent software work.

The criterion structure was checked against the IB MYP Design Subject Brief and the diagrams published by Design and Inquiry.

The workflow and skill design were informed by:

The human-judgment and evidence-trace principles were also informed by Shaw and Nave's research on cognitive surrender.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "structured-workflow": {
      "command": "npx",
      "args": [
        "structured-workflow-mcp@latest"
      ]
    }
  }
}

Công cụ có sẵn

  • refactor_workflow

    Start a structured refactoring workflow to improve existing code without changing functionality

  • create_feature_workflow

    Start a structured workflow for adding new functionality with integrated testing

  • test_workflow

    Start a focused workflow for writing or improving test coverage

  • tdd_workflow

    Start a Test-Driven Development workflow with Red-Green-Refactor cycles

  • build_custom_workflow

    Build a custom workflow with full control over phases and configuration. Use specific workflow tools (refactor_workflow, create_feature_workflow, etc.) for optimized presets.

  • setup_guidance

    Get guidance for the SETUP phase - initialize workflow and establish patterns

  • audit_inventory_guidance

    Get guidance for the AUDIT_INVENTORY phase - analyze code and catalog changes

  • compare_analyze_guidance

    Get guidance for the COMPARE/ANALYZE phase - evaluating approaches

  • question_determine_guidance

    Get guidance for the QUESTION_DETERMINE phase - clarify and finalize plan

  • refactor_guidance

    Get guidance for the WRITE/REFACTOR phase - implementing changes

  • lint_guidance

    Get guidance for the LINT phase - verifying code quality

  • iterate_guidance

    Get guidance for the ITERATE phase - fixing issues

  • present_guidance

    Get guidance for the PRESENT phase - summarizing work

  • test_guidance

    Get MANDATORY guidance for the TEST phase - execute tests and validate functionality after refactoring

  • validate_action

    Check if an action follows critical safety rules

  • validate_phase_completion

    Validate that current phase meets all completion requirements before allowing progression

  • user_input_required_guidance

    Handle escalation to user input when iteration limits reached or checkpoints triggered

  • workflow_status

    Check current workflow progress and session state

  • phase_output

    Record the output/results when completing a workflow phase - REQUIRES ACTUAL OUTPUT ARTIFACTS with numbered file naming

  • discover_workflow_tools

    List the workflow guidance tools provided by this MCP server

Dùng MCP Structured Workflow với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Structured Workflow, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Structured Workflow làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Structured Workflow.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "structured-workflow": {
      "command": "npx",
      "args": [
        "-y",
        "structured-workflow-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Structured Workflow, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Structured Workflow.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Structured Workflow giúp tôi làm việc này không?
Structured Workflow
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Structured Workflow.

Câu hỏi thường gặp

Máy chủ MCP Structured Workflow dùng để làm gì?

Structured Workflow là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Structured Workflow với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Structured Workflow với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Structured Workflow với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Structured Workflow, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Structured Workflow với TypingMind?

Structured Workflow hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Structured Workflow cung cấp những công cụ nào trong TypingMind?

Structured Workflow cung cấp 20 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Structured Workflow không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Structured Workflow yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇