Serveur MCP

agent-workflow-engine

io.github.lazymac2x/agent-workflow-engine
Infrastructure MCP et agents Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Creates and manages multi-agent workflows, including execution state, conditional branches, routing, and workflow status.

auto_route_next_step
Advance to the next workflow step, evaluating conditional branches. Returns next_agent and updated workflow_token.
Schéma d’entrée
{'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_workflow
Create a new multi-agent workflow. Returns a workflow_token encoding the full state — pass it to all subsequent calls.
Schéma d’entrée
{'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'}}}
get_workflow_status
Decode a workflow_token and return full status summary.
Schéma d’entrée
{'type': 'object', 'required': ['workflow_token'], 'properties': {'workflow_token': {'type': 'string', 'description': 'Token encoding workflow state'}}}
set_conditional_branch
Attach a conditional branch to a step. Operator is evaluated against agent output when routing. Returns updated workflow_token.
Schéma d’entrée
{'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'}}}}}
track_agent_state
Update agent execution state. Returns updated workflow_token.
Schéma d’entrée
{'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'}}}
Ajouté
set_conditional_branch
17 September 2026 12:43
Ajouté
auto_route_next_step
17 September 2026 12:43
Ajouté
get_workflow_status
17 September 2026 12:43
Ajouté
track_agent_state
17 September 2026 12:43
Ajouté
create_workflow
17 September 2026 12:43