MCPcopy Create free account
hub / github.com/ScriptedAlchemy/devtools-debugger-mcp / mcpCall

Function mcpCall

tests/node-debug-advanced.test.ts:12–15  ·  view source on GitHub ↗
(tool: string, params: unknown)

Source from the content-addressed store, hash-verified

10const log = (...args: unknown[]) => { if (debug) console.log(...args); };
11
12function mcpCall(tool: string, params: unknown) {
13 if (!debug) return;
14 console.log(JSON.stringify({ event: 'mcp.tool_call', tool, params }, null, 2));
15}
16function mcpResult(tool: string, payloadObj: unknown) {
17 if (!debug) return;
18 const response = { content: [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected