type CustomRouteHandler = (request) => Response | Promise<Response>;
Defined in: server/customRoutes.ts:10Handler for a custom HTTP route served by the listener run() starts.
Owns the whole exchange: no MCP auth, no DNS-rebinding guards, and no CORS
headers run in front of it, and its Response is written back verbatim.