using System.Text.Json.Serialization;

namespace ColaFlow.Modules.Mcp.Contracts.Mcp;

/// <summary>
/// MCP initialize response
/// </summary>
public class McpInitializeResponse
{
    /// <summary>
    /// Protocol version supported by the server
    /// </summary>
    [JsonPropertyName("protocolVersion")]
    public string ProtocolVersion { get; set; } = "1.0";

    /// <summary>
    /// Information about the server
    /// </summary>
    [JsonPropertyName("serverInfo")]
    public McpServerInfo ServerInfo { get; set; } = new();

    /// <summary>
    /// Server capabilities
    /// </summary>
    [JsonPropertyName("capabilities")]
    public McpServerCapabilities Capabilities { get; set; } = McpServerCapabilities.CreateDefault();
}
