Skip to main content
Defined in: server/customRoutes.ts:10 Handler 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.

Parameters

request

Request

Returns

Response | Promise<Response>