From f55302b4495ab6836f39a086cc45d7f16af7995b Mon Sep 17 00:00:00 2001 From: Brennan Date: Fri, 28 Mar 2025 13:59:38 -0700 Subject: [PATCH] Fix sample in README (#136) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63784d6..b8592b9 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ var client = await McpClientFactory.CreateAsync(new() }); // Print the list of tools available from the server. -await foreach (var tool in client.ListToolsAsync()) +foreach (var tool in await client.ListToolsAsync()) { Console.WriteLine($"{tool.Name} ({tool.Description})"); }