File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Servers request structured data from users with the [ElicitAsync] extension meth
1515The C# SDK registers an instance of [ IMcpServer] with the dependency injection container,
1616so tools can simply add a parameter of type [ IMcpServer] to their method signature to access it.
1717
18- [ ElicitAsync ] : xref:ModelContextProtocol.Server.McpServerExtensions .ElicitAsync*
18+ [ ElicitAsync ] : xref:ModelContextProtocol.Server.McpServer .ElicitAsync*
1919[ IMcpServer ] : xref:ModelContextProtocol.Server.McpServer
2020
2121The MCP Server must specify the schema of each input value it is requesting from the user.
@@ -33,7 +33,7 @@ The following example demonstrates how a server could request a boolean response
3333
3434Elicitation is an optional feature so clients declare their support for it in their capabilities as part of the ` initialize ` request. In the MCP C# SDK, this is done by configuring an [ ElicitationHandler] in the [ McpClientOptions] :
3535
36- [ ElicitationHandler ] : xref:ModelContextProtocol.Protocol.ElicitationCapability .ElicitationHandler
36+ [ ElicitationHandler ] : xref:ModelContextProtocol.Client.McpClientHandlers .ElicitationHandler
3737[ McpClientOptions ] : xref:ModelContextProtocol.Client.McpClientOptions
3838
3939[ !code-csharp[ ] ( samples/client/Program.cs?name=snippet_McpInitialize )]
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ and from that can create an [ILogger] instance for logging messages that should
6565[ !code-csharp[ ] ( samples/server/Tools/LoggingTools.cs?name=snippet_LoggingConfiguration )]
6666
6767[ ILoggerProvider ] : https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.iloggerprovider
68- [ AsClientLoggerProvider ] : xref:ModelContextProtocol.Server.McpServerExtensions .AsClientLoggerProvider*
68+ [ AsClientLoggerProvider ] : xref:ModelContextProtocol.Server.McpServer .AsClientLoggerProvider*
6969[ ILogger ] : https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger
7070
7171### Client support for logging
@@ -89,7 +89,7 @@ sets a logging level to ensure it receives the desired log messages and only tho
8989The ` loggingLevel ` set by the client is an MCP logging level.
9090See the [ Logging Levels] ( #logging-levels ) section above for the mapping between MCP and .NET logging levels.
9191
92- [ SetLoggingLevel ] : xref:ModelContextProtocol.Client.McpClientExtensions .SetLoggingLevel*
92+ [ SetLoggingLevel ] : xref:ModelContextProtocol.Client.McpClient .SetLoggingLevel*
9393
9494[ !code-csharp[ ] ( samples/client/Program.cs?name=snippet_LoggingLevel )]
9595
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ The MCP C# SDK will automatically handle progress notifications and report them
6363This notification handler will only receive progress updates for the specific request that was made,
6464rather than all progress notifications from the server.
6565
66- [ Progress`<T>` ] : xref:System.Progress` 1
66+ [ Progress`<T>` ] : https://learn.microsoft.com/dotnet/api/system.progress- 1
6767[ ProgressNotificationValue ] : xref:ModelContextProtocol.ProgressNotificationValue
6868
6969[ !code-csharp[ ] ( samples/client/Program.cs?name=snippet_ProgressHandler )]
You can’t perform that action at this time.
0 commit comments