Function

handle

Handle an incoming MCP request and write the response to the output stream.

handle: func(request: request, output: output-stream);