Expand description
Execution abstraction over the MCP client.
Plans take a &mut impl McpExec rather than the concrete
crate::client::Client so they can be unit-tested with MockClient
without spawning a child process.
Structs§
- Mock
Client - In-memory MCP client used for plan unit tests. Each tool is registered
with a closure that maps the call arguments to a
CallOutcome. The mock is fully synchronous internally; concurrency is provided bytokio.
Traits§
- McpExec
- Minimum surface a plan needs from an MCP client.