Skip to content

Commit 4fd3ebf

Browse files
authored
Fixed issue preventing client example from compiling. (#346)
1 parent f2ae0ca commit 4fd3ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ foreach (var tool in await client.ListToolsAsync())
5050
var result = await client.CallToolAsync(
5151
"echo",
5252
new Dictionary<string, object?>() { ["message"] = "Hello MCP!" },
53-
CancellationToken.None);
53+
cancellationToken:CancellationToken.None);
5454

5555
// echo always returns one and only one text content object
5656
Console.WriteLine(result.Content.First(c => c.Type == "text").Text);
@@ -220,7 +220,7 @@ await server.RunAsync();
220220

221221
## Acknowledgements
222222

223-
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.
223+
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.
224224
225225
## License
226226

0 commit comments

Comments
 (0)