diff --git a/mcp-client-typescript/index.ts b/mcp-client-typescript/index.ts index 292fe7f..99a185b 100644 --- a/mcp-client-typescript/index.ts +++ b/mcp-client-typescript/index.ts @@ -69,7 +69,7 @@ class MCPClient { }); console.log( "Connected to server with tools:", - this.tools.map(({ name }) => name) + this.tools.map(({ name }) => name), ); } catch (e) { console.log("Failed to connect to MCP server: ", e); @@ -115,7 +115,7 @@ class MCPClient { arguments: toolArgs, }); finalText.push( - `[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]` + `[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`, ); // Continue conversation with tool results @@ -132,7 +132,7 @@ class MCPClient { }); finalText.push( - response.content[0].type === "text" ? response.content[0].text : "" + response.content[0].type === "text" ? response.content[0].text : "", ); } }