mcp-workflow mcp
v1.0.0 · MCP Tool · automation · registry.pascalai.org
Workflow management — define, run, and track multi-step workflows with step execution and status tracking. Operations: create_workflow, list_workflows, get_workflow, delete_workflow, start_run, update_step, get_run, list_runs.
workflowautomationorchestrationpipelinetasks
Input Parameters
| Parameter | Type | Description |
| operationrequired |
string |
Operation to perform. One of: create_workflow, list_workflows, get_workflow, delete_workflow, start_run, update_step, get_run, list_runs. |
| storagePathoptional |
string |
Directory for workflow storage (default: ./workflows). |
| workflowIdoptional |
string |
Workflow ID. |
| workflowNameoptional |
string |
Workflow name for create_workflow. |
| runIdoptional |
string |
Run ID for run operations. |
| stepIdoptional |
string |
Step ID for update_step. |
| stepsoptional |
string |
JSON array of step definitions for create_workflow. |
| workflowInputoptional |
string |
JSON input data for start_run. |
| stepOutputoptional |
string |
JSON output of the step for update_step. |
| stepStatusoptional |
string |
Step status for update_step: running, completed, failed. One of: running, completed, failed. |
Output Fields
| Field | Type | Description |
| workflow |
object |
|
| workflows |
array[object] |
|
| run |
object |
|
| runs |
array[object] |
|
| ok |
boolean |
|
| error |
string |
|
Examples
Create a workflow
// Input
{
"operation": "create_workflow",
"workflowName": "Data Pipeline",
"steps": "[{\"id\":\"fetch\",\"name\":\"Fetch data\"},{\"id\":\"process\",\"name\":\"Process\"}]"
}
// Output
{
"workflow": {
"id": "wf_abc",
"name": "Data Pipeline"
}
}
Install & Discovery
Install
ppm install mcp-workflow
Get JSON Schema
GET /v1/packages/mcp-workflow/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=workflow
Discovery hint: Install with ppm install mcp-workflow or invoke remotely via POST /v1/invoke/mcp-workflow on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-workflow');
var R := Tool.Call(JsonObj(['operation','list_workflows']));
Writeln(R.ToJSON);