How To Use

This app is an MCP server named workflow-os.

It helps an MCP client route a request into one of the bundled workflow domains, run a single main workflow, optionally apply one utility pass, and end with one concrete next action.

What It Does

The server exposes:

The intended pattern is:

  1. Route the task first
  2. Select or inspect the right workflow/resource if needed
  3. Run one main workflow
  4. Optionally apply one utility prompt
  5. Return one immediate next action

Start The Server

Build first:

pnpm install
pnpm run build

Run in stdio mode:

node dist/index.js

Run in HTTP mode:

MCP_TRANSPORT=http MCP_PORT=<port> node dist/index.js
# Example: MCP_TRANSPORT=http MCP_PORT=3000 node dist/index.js

HTTP endpoints:

In HTTP mode, interactive API docs are available at /docs, and the raw OpenAPI document is available at /docs-api.json.

Environment Variables

Variable Default Meaning
MCP_TRANSPORT stdio Transport mode: stdio or http
MCP_PORT defaults to 3000 HTTP port when using HTTP transport
WORKFLOW_ROOT ./workflows bundle Override workflow markdown source directory

Main Tools

route_task

Use this first.

Input:

Output:

Example intent:

Route: "Help me validate a digital product idea for busy founders"

select_domain_workflow

Use this when you want the workflow resource URI and normalized stage before running.

Input:

Output includes:

run_workflow_sequence

This is the primary execution tool.

Input:

Output includes:

apply_utility_prompt

Use only after a main workflow has already run.

Available utilities:

generate_next_action

Use this when you already have output and need exactly one immediate next step.

Prompts

The server also exposes prompts for higher-level MCP clients.

Mode prompts:

Domain prompts:

Front-door prompt:

Resources

Full workflow resources:

Section resources follow this template:

workflow://{domain}/v4/{sectionGroup}/{sectionName}

Examples:

Recommended Client Flow

For most client integrations, use this sequence:

  1. Call route_task
  2. Optionally read resource_uri or a section resource
  3. Call run_workflow_sequence
  4. If needed, call apply_utility_prompt once
  5. Return the final output with the supplied next_action

Client Configuration

For client setup across Codex, Claude, ChatGPT, Kimi, Claw-style clients, and VS Code extensions, use the generic MCP configuration guide:

Notes