From 4fd3ebf3fe567cd87518e0c988d1a944d1f3b820 Mon Sep 17 00:00:00 2001 From: Peder Holdgaard Pedersen <127606677+PederHP@users.noreply.github.com> Date: Wed, 23 Apr 2025 20:58:18 +0200 Subject: [PATCH] Fixed issue preventing client example from compiling. (#346) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d0b341..ed89bfa 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ foreach (var tool in await client.ListToolsAsync()) var result = await client.CallToolAsync( "echo", new Dictionary() { ["message"] = "Hello MCP!" }, - CancellationToken.None); + cancellationToken:CancellationToken.None); // echo always returns one and only one text content object Console.WriteLine(result.Content.First(c => c.Type == "text").Text); @@ -220,7 +220,7 @@ await server.RunAsync(); ## Acknowledgements -The starting point for this library was a project called [mcpdotnet](https://github.com/PederHP/mcpdotnet), initiated by [Peder Holdgaard Pederson](https://github.com/PederHP). We are grateful for the work done by Peder and other contributors to that repository, which created a solid foundation for this library. +The starting point for this library was a project called [mcpdotnet](https://github.com/PederHP/mcpdotnet), initiated by [Peder Holdgaard Pedersen](https://github.com/PederHP). We are grateful for the work done by Peder and other contributors to that repository, which created a solid foundation for this library. ## License