A flexible and extensible TypeScript workflow engine with MCP (Multi-Cloud Platform) integration.
- Plugin-based architecture with MCP support
- Built-in condition types
- Context-driven data flow
- Type-safe workflow definitions
- Extensible plugin system
- MCP server integration for cloud operations
npm installimport { WorkflowDefinition } from './types/types';
const workflow: WorkflowDefinition = {
id: 'example-workflow',
version: '1.0',
name: 'Example Workflow',
steps: [
{
id: 'step1',
type: 'task',
plugin: 'mcp_plugin',
tool: 'mcp_tool',
parameters: {
server: {
path: '$.input.server',
required: true
}
},
output: 'result',
next: 'step2'
}
// ... add more steps ...
],
startAt: 'step1'
};import { WorkflowEngine } from './core/workflowEngine';
const engine = await WorkflowEngine.create();
const result = await engine.executeWorkflow(
workflow,
{ input: { server: 'mcp-server-1' } },
console.log
);
console.log('Workflow result:', result);string-length— compare string lengthnumber-compare— compare numbersstring-contains— check if string contains a substringstring-equals— check if two strings are equalvalue-exists— check if a value exists
The platform provides integration with MCP servers:
- Server configuration management
- Cloud resource operations
- Multi-cloud deployment support
- Server status monitoring
- Resource scaling capabilities
- Literal values
- Context-path values (
$.some.path) - Required fields
- Default values
- MCP server configurations
- Target fields
- Transformation expressions
- Filter conditions
- MCP operation results
This project is licensed under the MIT License. See LICENSE for details.