Skip to main content

run

Function run 

Source
pub async fn run(memory_dir: &Path) -> Result<(), RecallError>
Expand description

Serve MCP over stdin/stdout until the client closes the connection.

Messages are handled one at a time. MCP permits interleaved responses, but the daemon serializes graph work anyway, so concurrency here would buy nothing and cost an interleaved-write hazard on stdout.