Skip to main content

Module graph_handler

Module graph_handler 

Source
Expand description

Graph-as-MCP-Tool

Exposes cortex graph workflows (with cycles, conditionals, state) as MCP tools, allowing external MCP clients to invoke graph executions as a single tool call.

Structs§

GraphMcpConfig
Configuration for a graph MCP handler
GraphMcpHandler
MCP ToolHandler that wraps a graph workflow
GraphMcpHandlerBuilder
Builder for GraphMcpHandler
GraphMcpInput
Input schema for graph MCP tools
GraphMcpOutput
Output structure for graph MCP responses
NodeExecution
Per-node execution record

Type Aliases§

GraphHandlerFn
Handler type for graph execution