sai-mcp
0
The SAI MCP Server is a WebAssembly Go project enabling the execution of the 'sai' command via JavaScript, handling command output systematically. It integrates with the wpcli framework to enhance command-line interactions with features like output parsing and error management.
executeSai function
JavaScript interface, used to execute SAI commands and return execution results
SaiExecutor Component
Responsible for actually executing SAI commands, capturing output and exit code
Output parser
Supports parsing of JSON, YAML and plain text formats