@@ -239,7 +239,7 @@ export class ActorsMcpServer {
239239 const missingActors = defaults . actors . filter ( ( name ) => ! this . tools . has ( actorNameToToolName ( name ) ) ) ;
240240 const tools = await getActorsAsTools ( missingActors , apifyToken ) ;
241241 if ( tools . length > 0 ) {
242- log . info ( 'Loading default tools...' ) ;
242+ log . debug ( 'Loading default tools...' ) ;
243243 this . upsertTools ( tools ) ;
244244 }
245245 }
@@ -262,7 +262,7 @@ export class ActorsMcpServer {
262262 public async loadToolsFromUrl ( url : string , apifyToken : string ) {
263263 const tools = await processParamsGetTools ( url , apifyToken ) ;
264264 if ( tools . length > 0 ) {
265- log . info ( 'Loading tools from query parameters...' ) ;
265+ log . debug ( 'Loading tools from query parameters...' ) ;
266266 this . upsertTools ( tools , false ) ;
267267 }
268268 }
@@ -320,7 +320,7 @@ export class ActorsMcpServer {
320320 private removeToolByName ( toolName : string ) : boolean {
321321 if ( this . tools . has ( toolName ) ) {
322322 this . tools . delete ( toolName ) ;
323- log . info ( `Deleted tool: ${ toolName } ` ) ;
323+ log . debug ( `Deleted tool: ${ toolName } ` ) ;
324324 return true ;
325325 }
326326 return false ;
@@ -429,7 +429,7 @@ export class ActorsMcpServer {
429429 if ( name . startsWith ( 'local__' ) ) {
430430 // we split the name by '__' and take the last part, which is the actual Actor name
431431 const parts = name . split ( '__' ) ;
432- log . info ( `Tool name with prefix detected: ${ name } , using last part: ${ parts [ parts . length - 1 ] } ` ) ;
432+ log . debug ( `Tool name with prefix detected: ${ name } , using last part: ${ parts [ parts . length - 1 ] } ` ) ;
433433 if ( parts . length > 1 ) {
434434 name = parts [ parts . length - 1 ] ;
435435 }
@@ -459,7 +459,7 @@ export class ActorsMcpServer {
459459 // Decode dot property names in arguments before validation,
460460 // since validation expects the original, non-encoded property names.
461461 args = decodeDotPropertyNames ( args ) ;
462- log . info ( `Validate arguments for tool: ${ tool . tool . name } with arguments: ${ JSON . stringify ( args ) } ` ) ;
462+ log . debug ( `Validate arguments for tool: ${ tool . tool . name } with arguments: ${ JSON . stringify ( args ) } ` ) ;
463463 if ( ! tool . tool . ajvValidate ( args ) ) {
464464 const msg = `Invalid arguments for tool ${ tool . tool . name } : args: ${ JSON . stringify ( args ) } error: ${ JSON . stringify ( tool ?. tool . ajvValidate . errors ) } ` ;
465465 log . error ( msg ) ;
@@ -510,7 +510,7 @@ export class ActorsMcpServer {
510510 const method = schema . shape . method . value ;
511511 // Forward notifications from the proxy client to the server
512512 client . setNotificationHandler ( schema , async ( notification ) => {
513- log . info ( 'Sending MCP notification' , {
513+ log . debug ( 'Sending MCP notification' , {
514514 method,
515515 notification,
516516 } ) ;
0 commit comments