mcp.rhai.mcp #
Constants #
const command = cli.Command{
sort_flags: true
name: 'rhai'
// execute: cmd_mcpgen
description: 'rhai command'
commands: [
cli.Command{
name: 'start'
execute: cmd_start
description: 'start the Rhai server'
},
]
}
fn generate_rhai_wrapper_handler #
fn generate_rhai_wrapper_handler(arguments map[string]Any) !mcp.ToolCallResult
Tool handler for the generate_rhai_wrapper function
fn new_mcp_server #
fn new_mcp_server() !&mcp.Server
fn rhai_wrapper_prompt_handler #
fn rhai_wrapper_prompt_handler(arguments []string) ![]mcp.PromptMessage
Tool handler for the create_rhai_wrapper function