From 305bc1c5f01ca183525f598c5a9c8651bf6a24bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:14:30 +0000 Subject: [PATCH 1/3] Initial plan From 5ecf5573ad65248ac85bffadd57270158a6ce939 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:24:57 +0000 Subject: [PATCH 2/3] Fix Icon.Theme documentation to remove "custom theme identifier" per MCP spec Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> --- src/ModelContextProtocol.Core/Protocol/Icon.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ModelContextProtocol.Core/Protocol/Icon.cs b/src/ModelContextProtocol.Core/Protocol/Icon.cs index 0ae9add9..dc260c05 100644 --- a/src/ModelContextProtocol.Core/Protocol/Icon.cs +++ b/src/ModelContextProtocol.Core/Protocol/Icon.cs @@ -79,8 +79,9 @@ public sealed class Icon /// Gets or sets the optional theme for this icon. /// /// - /// Can be "light", "dark", or a custom theme identifier. - /// The value is used to specify which UI theme the icon is designed for. + /// Can be "light" or "dark". "light" indicates the icon is designed to be used with a light + /// background, and "dark" indicates the icon is designed to be used with a dark background. + /// If not provided, clients should assume the icon can be used with any theme. /// [JsonPropertyName("theme")] public string? Theme { get; set; } From 475becb5c7d80001641f8137a2fa7a55b184e0a5 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Fri, 12 Dec 2025 08:30:10 -0500 Subject: [PATCH 3/3] Update src/ModelContextProtocol.Core/Protocol/Icon.cs --- src/ModelContextProtocol.Core/Protocol/Icon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelContextProtocol.Core/Protocol/Icon.cs b/src/ModelContextProtocol.Core/Protocol/Icon.cs index dc260c05..e187f191 100644 --- a/src/ModelContextProtocol.Core/Protocol/Icon.cs +++ b/src/ModelContextProtocol.Core/Protocol/Icon.cs @@ -79,7 +79,7 @@ public sealed class Icon /// Gets or sets the optional theme for this icon. /// /// - /// Can be "light" or "dark". "light" indicates the icon is designed to be used with a light + /// may be "light" or "dark". "light" indicates the icon is designed to be used with a light /// background, and "dark" indicates the icon is designed to be used with a dark background. /// If not provided, clients should assume the icon can be used with any theme. ///