(request: Request)
| 128 | ); |
| 129 | |
| 130 | const authenticate = (request: Request) => |
| 131 | Effect.gen(function* () { |
| 132 | const auth = yield* McpAuthProvider; |
| 133 | const outcome = yield* auth.authenticate(request); |
| 134 | return { auth, outcome }; |
| 135 | }).pipe(Effect.provide(cloudMcpAuth)); |
| 136 | |
| 137 | // The pre-Agents envelope ran the MCP auth path inside the Effect app, whose |
| 138 | // HttpMiddleware provided the OTEL tracer — that is where the `mcp.request` |
no outgoing calls
no test coverage detected