- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents the result of a Initialize request sent to the server during connection establishment.
public sealed class InitializeResult : Result
- Inheritance
-
InitializeResult
- Inherited Members
Properties
Capabilities
Gets or sets the server's capabilities.
[JsonPropertyName("capabilities")]
public required ServerCapabilities Capabilities { get; set; }
Property Value
Instructions
Gets or sets optional instructions for using the server and its features.
[JsonPropertyName("instructions")]
public string? Instructions { get; set; }
Property Value
ProtocolVersion
Gets or sets the version of the Model Context Protocol that the server will use for this session.
[JsonPropertyName("protocolVersion")]
public required string ProtocolVersion { get; set; }
Property Value
ServerInfo
Gets or sets information about the server implementation, including its name and version.
[JsonPropertyName("serverInfo")]
public required Implementation ServerInfo { get; set; }