File tree Expand file tree Collapse file tree
ModelContextProtocol.Core/Protocol Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,4 +35,19 @@ internal static class Experimentals
3535 /// URL for the experimental MCP Tasks feature.
3636 /// </summary>
3737 public const string Tasks_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp001" ;
38+
39+ /// <summary>
40+ /// Diagnostic ID for the experimental MCP Extensions feature.
41+ /// </summary>
42+ public const string Extensions_DiagnosticId = "MCPEXP001" ;
43+
44+ /// <summary>
45+ /// Message for the experimental MCP Extensions feature.
46+ /// </summary>
47+ public const string Extensions_Message = "The Extensions feature is experimental per the MCP specification and is subject to change." ;
48+
49+ /// <summary>
50+ /// URL for the experimental MCP Extensions feature.
51+ /// </summary>
52+ public const string Extensions_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp001" ;
3853}
Original file line number Diff line number Diff line change @@ -100,6 +100,6 @@ public sealed class ClientCapabilities
100100 /// </para>
101101 /// </remarks>
102102 [ JsonPropertyName ( "extensions" ) ]
103- [ Experimental ( Experimentals . Tasks_DiagnosticId , UrlFormat = Experimentals . Tasks_Url ) ] // SEP-2133: https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2133
103+ [ Experimental ( Experimentals . Extensions_DiagnosticId , UrlFormat = Experimentals . Extensions_Url ) ] // SEP-2133: https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2133
104104 public IDictionary < string , object > ? Extensions { get ; set ; }
105105}
Original file line number Diff line number Diff line change @@ -99,6 +99,6 @@ public sealed class ServerCapabilities
9999 /// </para>
100100 /// </remarks>
101101 [ JsonPropertyName ( "extensions" ) ]
102- [ Experimental ( Experimentals . Tasks_DiagnosticId , UrlFormat = Experimentals . Tasks_Url ) ] // SEP-2133: https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2133
102+ [ Experimental ( Experimentals . Extensions_DiagnosticId , UrlFormat = Experimentals . Extensions_Url ) ] // SEP-2133: https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2133
103103 public IDictionary < string , object > ? Extensions { get ; set ; }
104104}
You can’t perform that action at this time.
0 commit comments