From 230ff4a81185333b74b00d34af06d8dbca16a4cb Mon Sep 17 00:00:00 2001 From: Ferry To Date: Tue, 22 Apr 2025 00:28:52 +0100 Subject: [PATCH 1/2] Update README.md Fix a typo `McpClientTool` written as `AIFunction`, which seems didn't update from the `mcpdotnet` repository. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1efadede..01c4a919 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ You can find samples demonstrating how to use ModelContextProtocol with an LLM S Clients can connect to any MCP server, not just ones created using this library. The protocol is designed to be server-agnostic, so you can use this library to connect to any compliant server. -Tools can be exposed easily as `AIFunction` instances so that they are immediately usable with `IChatClient`s. +Tools can be exposed easily as `McpClientTool` instances so that they are immediately usable with `IChatClient`s. ```csharp // Get available functions. From ab9e9f74524c01851acffea5cf86ea889c7b33ca Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Mon, 21 Apr 2025 18:56:55 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01c4a919..4d0b341a 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ You can find samples demonstrating how to use ModelContextProtocol with an LLM S Clients can connect to any MCP server, not just ones created using this library. The protocol is designed to be server-agnostic, so you can use this library to connect to any compliant server. -Tools can be exposed easily as `McpClientTool` instances so that they are immediately usable with `IChatClient`s. +Tools can be easily exposed for immediate use by `IChatClient`s, because `McpClientTool` inherits from `AIFunction`. ```csharp // Get available functions.