MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / call

Function call

__tests__/security.test.ts:726–730  ·  view source on GitHub ↗
(method: string, params: object)

Source from the content-addressed store, hash-verified

724 new MCPSession(transport as never, engine).start();
725 let nextId = 0;
726 const call = async (method: string, params: object): Promise<Reply> => {
727 const id = nextId++;
728 await deliver!({ jsonrpc: '2.0', id, method, params });
729 return replies.get(id)!;
730 };
731 const initialize = (params: object = {}) =>
732 call('initialize', { protocolVersion: '2025-11-25', capabilities: {}, clientInfo: { name: 'test', version: '0' }, ...params });
733 const node = (symbol: string) =>

Callers 2

initializeFunction · 0.70
nodeFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected