()
| 27 | } |
| 28 | |
| 29 | const corsPreflightResponse = (): Response => |
| 30 | new Response(null, { |
| 31 | status: 204, |
| 32 | headers: { |
| 33 | "access-control-allow-origin": "*", |
| 34 | "access-control-allow-methods": "GET, POST, DELETE, OPTIONS", |
| 35 | "access-control-allow-headers": |
| 36 | "content-type, authorization, mcp-session-id, accept, mcp-protocol-version", |
| 37 | "access-control-expose-headers": "mcp-session-id, WWW-Authenticate", |
| 38 | }, |
| 39 | }); |
| 40 | |
| 41 | const jsonRpcResponse = ( |
| 42 | status: number, |
no outgoing calls
no test coverage detected