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

Function httpStatusCallTool

packages/plugins/mcp/src/sdk/plugin.test.ts:239–241  ·  view source on GitHub ↗
(status: number)

Source from the content-addressed store, hash-verified

237// confirm never reaches the caller-facing failure.
238const httpStatusCallTool =
239 (status: number): CallToolResponder =>
240 () =>
241 HttpServerResponse.text("do-not-leak: upstream auth challenge", { status });
242
243const jsonRpcErrorCallTool =
244 (code: number): CallToolResponder =>

Callers 1

plugin.test.tsFile · 0.85

Calls 1

textMethod · 0.65

Tested by

no test coverage detected