Table of Contents

Class InitializeResult

Namespace
ModelContextProtocol.Protocol.Types
Assembly
ModelContextProtocol.dll

Result of the initialization request sent to the server. See the schema for details

public record InitializeResult : IEquatable<InitializeResult>
Inheritance
InitializeResult
Implements
Inherited Members

Properties

Capabilities

The server's capabilities.

[JsonPropertyName("capabilities")]
public required ServerCapabilities Capabilities { get; init; }

Property Value

ServerCapabilities

Instructions

Optional instructions for using the server and its features.

[JsonPropertyName("instructions")]
public string? Instructions { get; init; }

Property Value

string

ProtocolVersion

The version of the Model Context Protocol that the server wants to use.

[JsonPropertyName("protocolVersion")]
public required string ProtocolVersion { get; init; }

Property Value

string

ServerInfo

Information about the server implementation.

[JsonPropertyName("serverInfo")]
public required Implementation ServerInfo { get; init; }

Property Value

Implementation