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

Function write

packages/plugins/mcp/src/sdk/appserver-test-server.ts:82–84  ·  view source on GitHub ↗
(message: object)

Source from the content-addressed store, hash-verified

80};
81
82const write = (message: object): void => {
83 process.stdout.write(`${JSON.stringify(message)}\n`);
84};
85
86const reply = (id: number | string, result: unknown): void => {
87 write({ jsonrpc: "2.0", id, result });

Callers 3

replyFunction · 0.70
replyErrorFunction · 0.70
handleToolCallFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected