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

Function authenticate

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

Source from the content-addressed store, hash-verified

79};
80
81const 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`

Callers 1

makeCloudMcpAgentHandlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected