mod mcp

module mcp

MCP stdio surface for the version-one package, recipe, stack, target, and campaign workflows.

Functions

fn handle_message(message: &Value) -> Option<Value>

Answer one JSON-RPC message. None for a notification, which takes no reply.

fn run_server<R: BufRead, W: Write>(reader: R, mut writer: W) -> std::io::Result<()>

Serve MCP over a line-delimited JSON-RPC stream until the reader ends.