Cloudflare Workers MCP server: agent-workflow-engine
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Advance to the next workflow step, evaluating conditional branches. Returns next_agent and updated workflow_token.
Current workflow token
Output from last agent. Used for conditional branch evaluation.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Advance to the next workflow step, evaluating conditional branches. Returns next_agent and updated workflow_token.
| Argument | Type | Description |
|---|---|---|
| workflow_token* | string | Current workflow token |
| current_agent_output | object | Output from last agent. Used for conditional branch evaluation. |
{
"type": "object",
"required": [
"workflow_token"
],
"properties": {
"workflow_token": {
"type": "string",
"description": "Current workflow token"
},
"current_agent_output": {
"type": "object",
"description": "Output from last agent. Used for conditional branch evaluation."
}
}
}Create a new multi-agent workflow. Returns a workflow_token encoding the full state — pass it to all subsequent calls.
| Argument | Type | Description |
|---|---|---|
| name* | string | Workflow name |
| steps | array | Ordered step sequence (agent IDs) |
| agents* | array | Agent IDs in this workflow |
{
"type": "object",
"required": [
"name",
"agents"
],
"properties": {
"name": {
"type": "string",
"description": "Workflow name"
},
"steps": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ordered step sequence (agent IDs)"
},
"agents": {
"type": "array",
"items": {
"type": "string"
},
"description": "Agent IDs in this workflow"
}
}
}Decode a workflow_token and return full status summary.
| Argument | Type | Description |
|---|---|---|
| workflow_token* | string | Token encoding workflow state |
{
"type": "object",
"required": [
"workflow_token"
],
"properties": {
"workflow_token": {
"type": "string",
"description": "Token encoding workflow state"
}
}
}Attach a conditional branch to a step. Operator is evaluated against agent output when routing. Returns updated workflow_token.
| Argument | Type | Description |
|---|---|---|
| step_index* | integer | Step index to attach condition to |
| workflow_token* | string | Current workflow token |
| condition_logic* | object |
{
"type": "object",
"required": [
"workflow_token",
"step_index",
"condition_logic"
],
"properties": {
"step_index": {
"type": "integer",
"description": "Step index to attach condition to"
},
"workflow_token": {
"type": "string",
"description": "Current workflow token"
},
"condition_logic": {
"type": "object",
"required": [
"operator",
"true_agent"
],
"properties": {
"field": {
"type": "string",
"example": "success",
"description": "Output field to evaluate"
},
"value": {
"description": "Comparison value for equals/gte/lte/contains operators"
},
"operator": {
"enum": [
"equals",
"not_equals",
"truthy",
"falsy",
"gte",
"lte",
"contains"
],
"type": "string"
},
"true_agent": {
"type": "string",
"description": "Agent ID if condition is true"
},
"description": {
"type": "string",
"description": "Human-readable description"
},
"false_agent": {
"type": "string",
"description": "Agent ID if condition is false"
}
}
}
}
}Update agent execution state. Returns updated workflow_token.
| Argument | Type | Description |
|---|---|---|
| error | string | Error message (if failed) |
| output | object | Agent output payload |
| status* | string | |
| agent_id* | string | Agent identifier |
| workflow_token* | string | Token from create_workflow or previous call |
| execution_time_ms | number | Execution time in ms |
{
"type": "object",
"required": [
"workflow_token",
"agent_id",
"status"
],
"properties": {
"error": {
"type": "string",
"description": "Error message (if failed)"
},
"output": {
"type": "object",
"description": "Agent output payload"
},
"status": {
"enum": [
"pending",
"running",
"completed",
"failed"
],
"type": "string"
},
"agent_id": {
"type": "string",
"description": "Agent identifier"
},
"workflow_token": {
"type": "string",
"description": "Token from create_workflow or previous call"
},
"execution_time_ms": {
"type": "number",
"description": "Execution time in ms"
}
}
}