From fe2ce2bc60678542c2e60a91729908eeea7a09ee Mon Sep 17 00:00:00 2001 From: Alexander Sklar Date: Tue, 16 Sep 2025 03:42:43 -0700 Subject: [PATCH] Correct 'McpTool' to 'McpServerTool' in README (#775) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 163d57f..2e3b7e7 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ var response = await chatClient.GetResponseAsync( Here is an example of how to create an MCP server and register all tools from the current application. It includes a simple echo tool as an example (this is included in the same file here for easy of copy and paste, but it needn't be in the same file... the employed overload of `WithTools` examines the current assembly for classes with the `McpServerToolType` attribute, and registers all methods with the -`McpTool` attribute as tools.) +`McpServerTool` attribute as tools.) ``` dotnet add package ModelContextProtocol --prerelease