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

Function write

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

Source from the content-addressed store, hash-verified

88};
89
90const write = (message: object): void => {
91 process.stdout.write(`${JSON.stringify(message)}\n`);
92};
93
94const reply = (id: number | string, result: unknown): void => {
95 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