MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / authenticate

Function authenticate

apps/cloud/src/mcp/agent-handler.ts:82–87  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

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

Callers 1

makeCloudMcpAgentHandlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected