Expand description
MCP client transports and tool → CLI mapping.
stdio— child-process MCP (--mcp-stdio)transport— HTTP withauto/streamable/ssetools_to_commands— JSON Schema →crate::model::CommandDef
Enums§
Functions§
- call_
tool_ http - call_
tool_ on - call_
tool_ stdio - connect_
http - Open a long-lived HTTP MCP client (for session daemons).
- connect_
sse - connect_
stdio - connect_
stdio_ with - Connect to an MCP stdio server. When
clean_envis true, clear the child environment and keep only PATH/HOME/LANG plusenv_vars. - connect_
streamable - extract_
mcp_ commands - Convert MCP
list_toolsentries into CLI commands. - fetch_
mcp_ tools_ http - fetch_
mcp_ tools_ stdio - list_
tools_ on - tools_
to_ commands