Logo de Structured Workflow

Structured Workflow

Comunidade
kingdomseed

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

Publicado porkingdomseed
Repositóriostructured-workflow
Forks
3
Estrelas
12
Ferramentas disponíveis
20
Tipo de transportestdio
Categorias
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    Structured Workflow disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 20 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    12 estrelas e 3 forks no repositório vinculado.

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.

Instalação

TypingMind
Pré-requisitos:

Node.js 18+

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

Ferramentas disponíveis

  • 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

Use o MCP de Structured Workflow com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar Structured Workflow, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione Structured Workflow como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de Structured Workflow.
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "structured-workflow": {
      "command": "npx",
      "args": [
        "-y",
        "structured-workflow-mcp"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de Structured Workflow, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de Structured Workflow.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar Structured Workflow para me ajudar nesta tarefa?
Structured Workflow
Claro. Já li.
Veja o que encontrei usando Structured Workflow.

Perguntas frequentes

Para que serve o servidor MCP Structured Workflow?

Structured Workflow é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP Structured Workflow com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar Structured Workflow com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP Structured Workflow com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com Structured Workflow conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP Structured Workflow ao TypingMind?

Structured Workflow funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP Structured Workflow oferece no TypingMind?

Structured Workflow disponibiliza 20 ferramentas MCP que podem ser ativadas na página Plugins do TypingMind e usadas no chat ou atribuídas a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP Structured Workflow?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se Structured Workflow exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇