Expand description
Executor for McpTool workflow nodes.
When a workflow node has kind McpTool, this executor:
- Resolves the MCP server configuration from the workflow IR.
- Connects to the MCP server (stdio or HTTP).
- Sends the initialize handshake.
- Invokes the specified tool with mapped inputs.
- Returns the tool’s output as the node result.
Each invocation opens a fresh connection. For Phase 2, connection pooling and persistent stdio processes can be added.
Structs§
- McpTool
Executor - Executor for
mcp_toolnodes.