Skip to main content

Module mcp_tools_export

Module mcp_tools_export 

Source
Expand description

Export every clap leaf command as an MCP tool specification (JSON).

Generated tools are consumed by xbp_mcp so agents can call the full CLI surface without hand-maintaining hundreds of wrappers.

Functionsยง

export_mcp_tools_catalog
Full MCP tool catalog derived from the live clap tree.
export_mcp_tools_catalog_pretty
Pretty-printed catalog JSON for xbp mcp export-tools.