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

Function guard

packages/hosts/mcp/src/envelope.test.ts:248–249  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

246 });
247
248const guard = (request: Request): Promise<Response | null> =>
249 Effect.runPromise(preInitializeMethodNotFound(request));
250
251describe("preInitializeMethodNotFound", () => {
252 it("answers an unknown pre-init method with -32601 on a 200, echoing the id", async () => {

Callers 1

envelope.test.tsFile · 0.85

Calls 1

Tested by

no test coverage detected