Structured Workflowのロゴ

Structured Workflow

コミュニティ
kingdomseed

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

公開者kingdomseed
リポジトリstructured-workflow
フォーク
3
スター
12
利用可能なツール
20
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Structured Workflowは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 20個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには12件のスターと3件のフォークがあります。

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.

インストール

TypingMind
前提条件:

Node.js 18+

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

利用可能なツール

  • 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

Structured WorkflowのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Structured Workflowに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Structured Workflowをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Structured WorkflowのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "structured-workflow": {
      "command": "npx",
      "args": [
        "-y",
        "structured-workflow-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてStructured WorkflowのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Structured WorkflowのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Structured Workflowを使ってこのタスクを手伝ってもらえますか?
Structured Workflow
はい、読みました。
Structured Workflowで調べた結果をお伝えします。

よくある質問

Structured Workflow MCPサーバーは何に使いますか?

Structured Workflowは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでStructured Workflow MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでStructured Workflowを利用できます。

TypingMindでStructured Workflow MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Structured Workflowを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Structured Workflow MCPをTypingMindに接続するにはどうすればよいですか?

Structured WorkflowはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでStructured Workflow MCPのどのようなツールを利用できますか?

Structured Workflowは20個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Structured Workflow MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Structured Workflowで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇