debug: add MCP logging
This commit is contained in:
parent
698165c0d7
commit
9c4004628f
1 changed files with 3 additions and 0 deletions
|
|
@ -102,9 +102,12 @@ export async function handleToolsCall(
|
|||
}
|
||||
|
||||
// Execute via sandbox
|
||||
console.log('[MCP] Executing tool:', parsed.packageName, parsed.toolName);
|
||||
console.log('[MCP] SANDBOX_EXECUTOR_URL:', process.env.SANDBOX_EXECUTOR_URL);
|
||||
const result = await executePackage(parsed.packageName, parsed.toolName, params.arguments ?? {}, {
|
||||
timeout: 30000,
|
||||
});
|
||||
console.log('[MCP] Result:', JSON.stringify(result));
|
||||
|
||||
if (!result.success) {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue