Add Description property to Implementation type per MCP spec (#966)

* Initial plan

* Add Description property to Implementation type

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>

* Add test to validate client Description from server perspective

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
Copilot 2025-11-17 10:42:40 -05:00 • committed by GitHub
commit 00bb5b2678
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,6 +37,22 @@ public sealed class Implementation : IBaseMetadata
[JsonPropertyName("version")]
public required string Version { get; set; }
/// <summary>
/// Gets or sets an optional description of the implementation.
/// </summary>
/// <remarks>
/// <para>
/// This description helps users and developers understand what the implementation provides
/// and its purpose. It should clearly explain the functionality and capabilities offered.
/// </para>
/// <para>
/// The description is typically used in documentation, UI displays, and for providing context
/// to users about the server or client they are interacting with.
/// </para>
/// </remarks>
[JsonPropertyName("description")]
public string? Description { get; set; }
/// <summary>
/// Gets or sets an optional list of icons for this implementation.
/// </summary>