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

Function httpStatusCallTool

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

Source from the content-addressed store, hash-verified

107// confirm never reaches the caller-facing failure.
108const httpStatusCallTool =
109 (status: number): CallToolResponder =>
110 () =>
111 HttpServerResponse.text("do-not-leak: upstream auth challenge", { status });
112
113const jsonRpcErrorCallTool =
114 (code: number): CallToolResponder =>

Callers 1

plugin.test.tsFile · 0.85

Calls 1

textMethod · 0.65

Tested by

no test coverage detected