You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <see href="https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/lifecycle/">See the protocol specification for details on capability negotiation</see>
9
9
/// </summary>
10
-
publicrecordMcpClientOptions
10
+
publicclassMcpClientOptions
11
11
{
12
12
/// <summary>
13
13
/// Information about this client implementation.
14
14
/// </summary>
15
-
publicrequiredImplementationClientInfo{get;init;}
15
+
publicrequiredImplementationClientInfo{get;set;}
16
16
17
17
/// <summary>
18
18
/// Client capabilities to advertise to the server.
/// Represents the capabilities that a client may support.
8
8
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
9
9
/// </summary>
10
-
publicrecordClientCapabilities
10
+
publicclassClientCapabilities
11
11
{
12
12
/// <summary>
13
13
/// Experimental, non-standard capabilities that the client supports.
/// Present if the client supports sampling from an LLM.
26
26
/// </summary>
27
27
[JsonPropertyName("sampling")]
28
-
publicSamplingCapability?Sampling{get;init;}
28
+
publicSamplingCapability?Sampling{get;set;}
29
29
}
30
30
31
31
/// <summary>
32
32
/// Represents the roots capability configuration.
33
33
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
34
34
/// </summary>
35
-
publicrecordRootsCapability
35
+
publicclassRootsCapability
36
36
{
37
37
/// <summary>
38
38
/// Whether the client supports notifications for changes to the roots list.
39
39
/// </summary>
40
40
[JsonPropertyName("listChanged")]
41
-
publicbool?ListChanged{get;init;}
41
+
publicbool?ListChanged{get;set;}
42
42
43
43
/// <summary>Gets or sets the handler for sampling requests.</summary>
/// Represents the sampling capability configuration.
50
50
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
51
51
/// </summary>
52
-
publicrecordSamplingCapability
52
+
publicclassSamplingCapability
53
53
{
54
54
// Currently empty in the spec, but may be extended in the future
55
55
56
56
/// <summary>Gets or sets the handler for sampling requests.</summary>
/// Represents the logging capability configuration.
63
63
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
64
64
/// </summary>
65
-
publicrecordLoggingCapability
65
+
publicclassLoggingCapability
66
66
{
67
67
// Currently empty in the spec, but may be extended in the future
68
68
@@ -71,106 +71,106 @@ public record LoggingCapability
71
71
/// Gets or sets the handler for set logging level requests.
/// Represents the prompts capability configuration.
79
79
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
80
80
/// </summary>
81
-
publicrecordPromptsCapability
81
+
publicclassPromptsCapability
82
82
{
83
83
/// <summary>
84
84
/// Whether this server supports notifications for changes to the prompt list.
85
85
/// </summary>
86
86
[JsonPropertyName("listChanged")]
87
-
publicbool?ListChanged{get;init;}
87
+
publicbool?ListChanged{get;set;}
88
88
89
89
/// <summary>
90
90
/// Gets or sets the handler for list prompts requests.
/// Represents the resources capability configuration.
104
104
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
105
105
/// </summary>
106
-
publicrecordResourcesCapability
106
+
publicclassResourcesCapability
107
107
{
108
108
/// <summary>
109
109
/// Whether this server supports subscribing to resource updates.
110
110
/// </summary>
111
111
[JsonPropertyName("subscribe")]
112
-
publicbool?Subscribe{get;init;}
112
+
publicbool?Subscribe{get;set;}
113
113
114
114
/// <summary>
115
115
/// Whether this server supports notifications for changes to the resource list.
116
116
/// </summary>
117
117
[JsonPropertyName("listChanged")]
118
-
publicbool?ListChanged{get;init;}
118
+
publicbool?ListChanged{get;set;}
119
119
120
120
/// <summary>
121
121
/// Gets or sets the handler for list resource templates requests.
/// Represents the tools capability configuration.
153
153
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
154
154
/// </summary>
155
-
publicrecordToolsCapability
155
+
publicclassToolsCapability
156
156
{
157
157
/// <summary>
158
158
/// Gets or sets whether this server supports notifications for changes to the tool list.
159
159
/// </summary>
160
160
[JsonPropertyName("listChanged")]
161
-
publicbool?ListChanged{get;init;}
161
+
publicbool?ListChanged{get;set;}
162
162
163
163
/// <summary>
164
164
/// Gets or sets the handler for list tools requests.
/// Describes the name and version of an MCP implementation.
7
7
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
/// Represents the capabilities that a server may support.
7
7
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
8
8
/// </summary>
9
-
publicrecordServerCapabilities
9
+
publicclassServerCapabilities
10
10
{
11
11
/// <summary>
12
12
/// Experimental, non-standard capabilities that the server supports.
0 commit comments