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

Function authenticate

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

Source from the content-addressed store, hash-verified

128 );
129
130const 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`

Callers 1

makeCloudMcpAgentHandlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected