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

Function httpStatusCallTool

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

Source from the content-addressed store, hash-verified

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

Callers 1

plugin.test.tsFile · 0.85

Calls 1

textMethod · 0.65

Tested by

no test coverage detected