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

Function jsonRpcWebResponse

apps/cloud/src/mcp/responses.ts:36–37  ·  view source on GitHub ↗
(status: number, code: number, message: string)

Source from the content-addressed store, hash-verified

34 * `access-control-allow-origin: *`, byte-identical to the prior local copy.
35 */
36export const jsonRpcWebResponse = (status: number, code: number, message: string) =>
37 jsonRpcErrorBody(status, code, message);
38
39export const unauthorized = (auth: UnauthorizedAuth, protectedResourceMetadataUrl: string) =>
40 HttpServerResponse.jsonUnsafe(

Callers

nothing calls this directly

Calls 1

jsonRpcErrorBodyFunction · 0.85

Tested by

no test coverage detected