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

Function stubFor

apps/host-cloudflare/src/mcp/index.ts:28–28  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

26): ((request: Request) => Promise<Response>) => {
27 const { verify } = makeAccessVerifier(config);
28 const stubFor = (sessionId: string) => mcpSessionStub(env.MCP_SESSION, sessionId);
29
30 return async (request) => {
31 const principal = await Effect.runPromise(verify(request));

Callers 1

Calls 1

mcpSessionStubFunction · 0.90

Tested by

no test coverage detected