Skip to content

Commit fe2ce2b

Browse files
authored
Correct 'McpTool' to 'McpServerTool' in README (#775)
1 parent 15d1271 commit fe2ce2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ var response = await chatClient.GetResponseAsync(
8888
Here is an example of how to create an MCP server and register all tools from the current application.
8989
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...
9090
the employed overload of `WithTools` examines the current assembly for classes with the `McpServerToolType` attribute, and registers all methods with the
91-
`McpTool` attribute as tools.)
91+
`McpServerTool` attribute as tools.)
9292

9393
```
9494
dotnet add package ModelContextProtocol --prerelease

0 commit comments

Comments
 (0)