(request: Request)
| 79 | }; |
| 80 | |
| 81 | const authenticate = (request: Request) => |
| 82 | Effect.gen(function* () { |
| 83 | const auth = yield* McpAuthProvider; |
| 84 | const outcome = yield* auth.authenticate(request); |
| 85 | return { auth, outcome }; |
| 86 | }).pipe(Effect.provide(cloudMcpAuth)); |
| 87 | |
| 88 | // The pre-Agents envelope ran the MCP auth path inside the Effect app, whose |
| 89 | // HttpMiddleware provided the OTEL tracer — that is where the `mcp.request` |
no outgoing calls
no test coverage detected