pub fn serve(
server: &mut Server<'_>,
input: impl BufRead + Send + 'static,
output: impl Write,
) -> Result<()>Expand description
Serves MCP messages from input, one per line, writing each message
the server has for one on a line of its own, and the notification that
its tools changed when they do (server::Server::poll), until input
ends.