From 026bf1d710cc04f081650c6242481e79443cbe50 Mon Sep 17 00:00:00 2001
From: Copilot <198982749+Copilot@users.noreply.github.com>
Date: Fri, 20 Feb 2026 17:37:06 -0800
Subject: [PATCH] Fix incorrect XML doc comments in McpClient.Methods.cs
(#1333)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
---
src/ModelContextProtocol.Core/Client/McpClient.Methods.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ModelContextProtocol.Core/Client/McpClient.Methods.cs b/src/ModelContextProtocol.Core/Client/McpClient.Methods.cs
index 4b80c6e..19ef881 100644
--- a/src/ModelContextProtocol.Core/Client/McpClient.Methods.cs
+++ b/src/ModelContextProtocol.Core/Client/McpClient.Methods.cs
@@ -280,7 +280,7 @@ public abstract partial class McpClient : McpSession
}
///
- /// Retrieves a list of available prompts from the server.
+ /// Retrieves a specific prompt from the MCP server.
///
/// The request parameters to send in the request.
/// The to monitor for cancellation requests. The default is .
@@ -549,9 +549,9 @@ public abstract partial class McpClient : McpSession
}
///
- /// Unsubscribes from a resource on the server to stop receiving notifications about its changes.
+ /// Subscribes to a resource on the server to receive notifications when it changes.
///
- /// The URI of the resource to which to subscribe.
+ /// The URI of the resource to subscribe to.
/// Optional request options including metadata, serialization settings, and progress tracking.
/// The to monitor for cancellation requests. The default is .
/// A task that represents the asynchronous operation.