Update content according to latest spec (#513)

* Update content according to latest spec

* Add Title to a bunch of types

* Add _meta to lots of types

* Address feedback, more cleanup, fix NAOT test failure
This commit is contained in:
Stephen Toub 2025-06-16 19:39:41 -04:00 • committed by GitHub
commit 2bcff315f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ namespace ModelContextProtocol.Protocol;
/// See the <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/">schema</see> for details.
/// </para>
/// </remarks>
public class ServerCapabilities
public sealed class ServerCapabilities
{
/// <summary>
/// Gets or sets experimental, non-standard capabilities that the server supports.
@ -32,7 +32,7 @@ public class ServerCapabilities
/// </para>
/// </remarks>
[JsonPropertyName("experimental")]
public Dictionary<string, object>? Experimental { get; set; }
public IDictionary<string, object>? Experimental { get; set; }
/// <summary>
/// Gets or sets a server's logging capability, supporting sending log messages to the client.