Rename project and namespaces
This commit is contained in:
parent
e7fa6194f6
commit
c9ed453745
1 changed files with 426 additions and 918 deletions
|
|
@ -1,34 +0,0 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace McpDotNet.Protocol.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Result of the initialization request sent to the server.
|
||||
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
|
||||
/// </summary>
|
||||
public record InitializeResult
|
||||
{
|
||||
/// <summary>
|
||||
/// The version of the Model Context Protocol that the server wants to use.
|
||||
/// </summary>
|
||||
[JsonPropertyName("protocolVersion")]
|
||||
public required string ProtocolVersion { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The server's capabilities.
|
||||
/// </summary>
|
||||
[JsonPropertyName("capabilities")]
|
||||
public required ServerCapabilities Capabilities { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Information about the server implementation.
|
||||
/// </summary>
|
||||
[JsonPropertyName("serverInfo")]
|
||||
public required Implementation ServerInfo { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Optional instructions for using the server and its features.
|
||||
/// </summary>
|
||||
[JsonPropertyName("instructions")]
|
||||
public string? Instructions { get; init; }
|
||||
}
|
||||
Loading…
Reference in a new issue